![]() |
Coin
4.0.6
Coin3D core library
|
#include <Inventor/SbOctTree.h>
Public Attributes | |
| SbBool(* | insideboxfunc )(void *const item, const SbBox3f &box) |
| SbBool(* | insideplanesfunc )(void *const item, const SbPlane *const planes, const int numplanes) |
| SbBool(* | insidespherefunc )(void *const item, const SbSphere &sphere) |
| SbBool(* | ptinsidefunc )(void *const item, const SbVec3f &pt) |
The SbOctTreeFuncs struct is used to specify callback functions for working with items in an SbOctTree.
The only function pointer that must be set up is insideboxfunc. The other functions must be set if you intend to use the corresponding find methods in SbOctTree.
| SbOctTreeFuncs::insideboxfunc |
Should return whether item is either fully or partially inside a box.
| SbOctTreeFuncs::insideplanesfunc |
Should return whether item is either fully or partially inside a set of planes.
| SbOctTreeFuncs::insidespherefunc |
Should return whether item is either fully or partially inside a sphere.
| SbOctTreeFuncs::ptinsidefunc |
Should return whether a point is inside item.