|
Simox
2.3.74.0
|
Public Member Functions | |
| VoxelTree6DElement (float p[6], float extends[6], int level, int maxLevels) | |
| virtual | ~VoxelTree6DElement () |
| bool | setEntry (float p[6], const T &e) |
| bool | hasEntry (float p[6]) |
| T * | getEntry (float p[6]) |
| bool | isLeaf () |
| T * | getEntry () |
| if isLeaf the corresponding entry is returned More... | |
Protected Member Functions | |
| VoxelTree6DElement< T > * | createChild (float p[6]) |
| int | getChildIndx (float p[6]) |
| bool | covers (float p[6]) |
Protected Attributes | |
| VoxelTree6DElement * | children [64] |
| T * | entry |
| bool | leaf |
| float | extends [6] |
| float | pos [6] |
| int | level |
| int | maxLevels |
A template definition for storing elements of a voxelized 6d grid. Internally the elements are copied!
|
inline |
Construct en element at position p with given extends.
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
Returns pointer to element when existing. NULL if not.
|
inline |
if isLeaf the corresponding entry is returned
|
inline |
Checks if there is an entry at the given position. True when this node is a leaf and the entry is set or the child at p exists and returns true on getChild(p)->hasEntry(p).
|
inline |
|
inline |
Automatically checks if a new child element has to be created. A copy of e is stored.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |