1 #ifndef COIN_SBOCTTREE_H 2 #define COIN_SBOCTTREE_H 27 #include <Inventor/SbVec3f.h> 28 #include <Inventor/lists/SbList.h> 29 #include <Inventor/SbBox3f.h> 40 SbBool (*ptinsidefunc)(
void *
const item,
const SbVec3f & pt);
41 SbBool (*insideboxfunc)(
void *
const item,
const SbBox3f & box);
42 SbBool (*insidespherefunc)(
void *
const item,
const SbSphere & sphere);
43 SbBool (*insideplanesfunc)(
void *
const item,
54 const int maxitemspernode = 64);
57 void addItem(
void *
const item);
58 void removeItem(
void *
const item);
59 void findItems(
const SbVec3f & pos,
61 const SbBool removeduplicates = TRUE)
const;
62 void findItems(
const SbBox3f & box,
64 const SbBool removeduplicates = TRUE)
const;
65 void findItems(
const SbSphere & sphere,
67 const SbBool removeduplicates = TRUE)
const;
68 void findItems(
const SbPlane *
const planes,
71 const SbBool removeduplicates= TRUE)
const;
73 const SbBox3f & getBoundingBox(
void)
const;
75 void debugTree(FILE * fp);
78 SbOctTreeNode * topnode;
85 #endif // !COIN_SBOCTTREE_H The SbSphere class is a representation of a sphere.This class is used within many other classes in Co...
Definition: SbSphere.h:33
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:37
The SbList class is a template container class for lists.SbList is an extension of the Coin library v...
Definition: SoType.h:46
The SbOctTree class defines a generic oct tree for fast geometry searches.Be aware that this class is...
Definition: SbOctTree.h:50
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SbPlane class represents a plane in 3D space.SbDPPlane is used by many other classes in Coin...
Definition: SbPlane.h:34
Definition: SbOctTree.h:38