OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
The class deciding on whether to split an octree node or not when building the octree. More...
#include <OgreVolumeOctreeNodeSplitPolicy.h>
Public Member Functions | |
OctreeNodeSplitPolicy (const Source *src, const Real maxCellSize) | |
Constructur. More... | |
virtual bool | doSplit (OctreeNode *node, const Real geometricError) const |
Decider for the splitting. More... | |
The class deciding on whether to split an octree node or not when building the octree.
Splitting like Zhang in http://www.andrew.cmu.edu/user/jessicaz/publication/meshing/.
Ogre::Volume::OctreeNodeSplitPolicy::OctreeNodeSplitPolicy | ( | const Source * | src, |
const Real | maxCellSize | ||
) |
Constructur.
Protected to have the initialization.
src | The volume source to decide something. |
maxCellSize | The maximum size when the splitting will stop anyway. |
|
virtual |
Decider for the splitting.
node | The split candidate. |
geometricError | The accepted geometric error. |