#include <octree_visitor_add_face.h>
Inheritance diagram for Octree_Visitor_Add_Face:
Public Member Functions | |
Octree_Visitor_Add_Face (Face *f, Vector3r low, Vector3r up, Vector3r newlow, Vector3r newup) | |
virtual | ~Octree_Visitor_Add_Face () |
Protected Member Functions | |
virtual void | visitRoot (const OctreeCell *pRootCell, const OctreeData &octreeData) |
commands ------------------------------------------------------------------- | |
virtual void | visitBranch (const OctreeCell *subCells[8], const OctreeData &octreeData) |
virtual void | visitLeaf (const Array< const Face * > &items, const OctreeData &octreeData) |
Octree_Visitor_Add_Face::Octree_Visitor_Add_Face | ( | Face * | f, | |
Vector3r | low, | |||
Vector3r | up, | |||
Vector3r | newlow, | |||
Vector3r | newup | |||
) |
Octree_Visitor_Add_Face::~Octree_Visitor_Add_Face | ( | ) | [virtual] |
virtual void Octree_Visitor_Add_Face::visitRoot | ( | const OctreeCell * | pRootCell, | |
const OctreeData & | octreeData | |||
) | [protected, virtual] |
commands -------------------------------------------------------------------
Called by Octree when visit traversal is at the root.
To continue deeper, implementation calls OctreeRoot::continueVisit( pRootCell, octreeData, *this ). pRootCell can be null.
Implements hxa7241_graphics::OctreeVisitor< TYPE >.
virtual void Octree_Visitor_Add_Face::visitBranch | ( | const OctreeCell * | subCells[8], | |
const OctreeData & | octreeData | |||
) | [protected, virtual] |
Called by Octree when visit traversal is at a branch.
To continue deeper, implementation calls OctreeBranch::continueVisit( subCells, octreeData, subCellIndex, *this ) for any/all subCellIndex values. subCells elements can be null.
Implements hxa7241_graphics::OctreeVisitor< TYPE >.
virtual void Octree_Visitor_Add_Face::visitLeaf | ( | const Array< const Face * > & | items, | |
const OctreeData & | octreeData | |||
) | [protected, virtual] |