#include <OctreeAuxiliary.h>
Collaboration diagram for hxa7241_graphics::OctreeData:
Public Member Functions | |
OctreeData (const OctreeDimensions &dimensions) | |
standard object services --------------------------------------------------- | |
OctreeData (const OctreeData &parentCellData, dword subCellIndex) | |
OctreeData (const OctreeData &, const OctreeDimensions &) | |
~OctreeData () | |
OctreeData (const OctreeData &) | |
OctreeData & | operator= (const OctreeData &) |
const OctreeBound & | getBound () const |
OctreeData -----------------------------------------------------------------. | |
dword | getLevel () const |
const OctreeDimensions & | getDimensions () const |
bool | isSubdivide (dword itemCount) const |
Constant.
To be made during each level of tree descent, so storage is avoided, except to hold one at the root.
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
OctreeData::OctreeData | ( | const OctreeDimensions & | dimensions | ) | [explicit] |
standard object services ---------------------------------------------------
OctreeData::OctreeData | ( | const OctreeData & | parentCellData, | |
dword | subCellIndex | |||
) |
OctreeData::OctreeData | ( | const OctreeData & | , | |
const OctreeDimensions & | ||||
) |
OctreeData::~OctreeData | ( | ) |
OctreeData::OctreeData | ( | const OctreeData & | ) |
OctreeData & OctreeData::operator= | ( | const OctreeData & | ) |
const OctreeBound & hxa7241_graphics::OctreeData::getBound | ( | ) | const [inline] |
OctreeData -----------------------------------------------------------------.
dword hxa7241_graphics::OctreeData::getLevel | ( | ) | const [inline] |
const OctreeDimensions & hxa7241_graphics::OctreeData::getDimensions | ( | ) | const [inline] |
bool hxa7241_graphics::OctreeData::isSubdivide | ( | dword | itemCount | ) | const [inline] |