1#ifndef COIN_SBOCTTREE_H
2#define COIN_SBOCTTREE_H
36#include <Inventor/SbVec3f.h>
37#include <Inventor/lists/SbList.h>
38#include <Inventor/SbBox3f.h>
51 SbBool (*insidespherefunc)(
void *
const item,
const SbSphere & sphere);
52 SbBool (*insideplanesfunc)(
void *
const item,
63 const int maxitemspernode = 64);
66 void addItem(
void *
const item);
68 void findItems(
const SbVec3f & pos,
74 void findItems(
const SbSphere & sphere,
77 void findItems(
const SbPlane *
const planes,
82 const SbBox3f & getBoundingBox(
void)
const;
84 void debugTree(
FILE * fp);
87 SbOctTreeNode * topnode;
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:46
The SbList class is a template container class for lists.
Definition SbList.h:70
void removeItem(const Type item)
Definition SbList.h:144
The SbOctTree class defines a generic octree for fast geometry searches.
Definition SbOctTree.h:59
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:43
The SbSphere class is a representation of a sphere.
Definition SbSphere.h:42
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
Definition SbOctTree.h:48