HDK
|
#include <TS_Octree.h>
Public Member Functions | |
TS_OctreeVoxel () | |
~TS_OctreeVoxel () | |
int64 | getMemoryUsage (bool inclusive) const |
Compute memory usage. More... | |
float | xmin () const |
float | xmax () const |
float | ymin () const |
float | ymax () const |
float | zmin () const |
float | zmax () const |
TS_OctreeVoxel * | left () |
TS_OctreeVoxel * | right () |
void | addThing (TS_MetaPrimitive *object) |
void | subdivide (const TS_ExpressionList &nodes, unsigned maxEntries, unsigned level) |
Public Attributes | |
TS_OctreeVoxel * | myKids [2] |
TS_ExpressionList | myList |
unsigned | myAxis |
float | myAvg |
UT_BoundingBox | myBBox |
Definition at line 30 of file TS_Octree.h.
TS_OctreeVoxel::TS_OctreeVoxel | ( | ) |
TS_OctreeVoxel::~TS_OctreeVoxel | ( | ) |
void TS_OctreeVoxel::addThing | ( | TS_MetaPrimitive * | object | ) |
int64 TS_OctreeVoxel::getMemoryUsage | ( | bool | inclusive | ) | const |
Compute memory usage.
|
inline |
Definition at line 51 of file TS_Octree.h.
|
inline |
Definition at line 52 of file TS_Octree.h.
void TS_OctreeVoxel::subdivide | ( | const TS_ExpressionList & | nodes, |
unsigned | maxEntries, | ||
unsigned | level | ||
) |
|
inline |
Definition at line 46 of file TS_Octree.h.
|
inline |
Definition at line 45 of file TS_Octree.h.
|
inline |
Definition at line 48 of file TS_Octree.h.
|
inline |
Definition at line 47 of file TS_Octree.h.
|
inline |
Definition at line 50 of file TS_Octree.h.
|
inline |
Definition at line 49 of file TS_Octree.h.
float TS_OctreeVoxel::myAvg |
Definition at line 42 of file TS_Octree.h.
unsigned TS_OctreeVoxel::myAxis |
Definition at line 41 of file TS_Octree.h.
UT_BoundingBox TS_OctreeVoxel::myBBox |
Definition at line 43 of file TS_Octree.h.
TS_OctreeVoxel* TS_OctreeVoxel::myKids[2] |
Definition at line 39 of file TS_Octree.h.
TS_ExpressionList TS_OctreeVoxel::myList |
Definition at line 40 of file TS_Octree.h.