#include <OctreeImplementation.h>
Inheritance diagram for hxa7241_graphics::OctreeCell:
Public Member Functions | |
virtual | ~OctreeCell () |
virtual void | insert (const OctreeData &thisData, OctreeCell *&pThis, const void *pItem, const OctreeAgentV &agent)=0 |
commands ------------------------------------------------------------------- | |
virtual bool | remove (OctreeCell *&pThis, const void *pItem, const dword maxItemsPerCell, dword &itemCount)=0 |
virtual void | visit (const OctreeData &thisData, OctreeVisitorV &visitor) const=0 |
queries -------------------------------------------------------------------- | |
virtual OctreeCell * | clone () const=0 |
virtual void | getInfo (dword &byteSize, dword &leafCount, dword &itemCount, dword &maxDepth) const=0 |
Static Public Member Functions | |
static OctreeCell * | cloneNonZero (const OctreeCell *) |
statics -------------------------------------------------------------------- | |
Protected Member Functions | |
OctreeCell () | |
standard object services --------------------------------------------------- |
Subcell numbering:
y z 6 7 |/ 2 3 4 5 -x 0 1in binary:
y z 110 111 |/ 010 011 100 101 -x 000 001
hxa7241_graphics::OctreeCell::OctreeCell | ( | ) | [inline, protected] |
standard object services ---------------------------------------------------
virtual hxa7241_graphics::OctreeCell::~OctreeCell | ( | ) | [inline, virtual] |
virtual void hxa7241_graphics::OctreeCell::insert | ( | const OctreeData & | thisData, | |
OctreeCell *& | pThis, | |||
const void * | pItem, | |||
const OctreeAgentV & | agent | |||
) | [pure virtual] |
commands -------------------------------------------------------------------
Implemented in hxa7241_graphics::OctreeBranch, and hxa7241_graphics::OctreeLeaf.
virtual bool hxa7241_graphics::OctreeCell::remove | ( | OctreeCell *& | pThis, | |
const void * | pItem, | |||
const dword | maxItemsPerCell, | |||
dword & | itemCount | |||
) | [pure virtual] |
Implemented in hxa7241_graphics::OctreeBranch, and hxa7241_graphics::OctreeLeaf.
virtual void hxa7241_graphics::OctreeCell::visit | ( | const OctreeData & | thisData, | |
OctreeVisitorV & | visitor | |||
) | const [pure virtual] |
queries --------------------------------------------------------------------
Implemented in hxa7241_graphics::OctreeBranch, and hxa7241_graphics::OctreeLeaf.
virtual OctreeCell* hxa7241_graphics::OctreeCell::clone | ( | ) | const [pure virtual] |
Implemented in hxa7241_graphics::OctreeBranch, and hxa7241_graphics::OctreeLeaf.
virtual void hxa7241_graphics::OctreeCell::getInfo | ( | dword & | byteSize, | |
dword & | leafCount, | |||
dword & | itemCount, | |||
dword & | maxDepth | |||
) | const [pure virtual] |
Implemented in hxa7241_graphics::OctreeBranch, and hxa7241_graphics::OctreeLeaf.
OctreeCell * OctreeCell::cloneNonZero | ( | const OctreeCell * | ) | [static] |
statics --------------------------------------------------------------------