#include <octree.h>
Collaboration diagram for Node:
Public Attributes | |
byte | min |
The minimum value of all voxels in this subtree. | |
byte | max |
The maximum value of all voxels in this subtree. | |
int | maxX |
The maximum x-coordinate of the subcube. | |
int | maxY |
The maximum y-coordinate of the subcube. | |
int | maxZ |
The maximum z-coordinate of the subcube. | |
int | minX |
The minimum x-coordinate of the subcube. | |
int | minY |
The minimum y-coordinate of the subcube. | |
int | minZ |
The minimum z-coordinate of the subcube. | |
byte | classification |
The result of a classification. | |
Node * | children [8] |
The children of the node. | |
int | noChildren |
Are there no children? |
One instance of this structure represents one node in the octree.
Definition at line 45 of file octree.h.
|
The children of the node.
Definition at line 70 of file octree.h. Referenced by Octree::build(), Octree::classify(), Octree::remove(), and Octree::skip(). |
|
The result of a classification. 0 = all voxels in this subcube are transparent 1 = some voxels in this subcube are non-transparent and some are transparent Definition at line 68 of file octree.h. Referenced by Octree::classify(), and Octree::skip(). |
|
The maximum value of all voxels in this subtree.
Definition at line 49 of file octree.h. Referenced by Octree::build(), and Octree::classify(). |
|
The maximum x-coordinate of the subcube.
Definition at line 51 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
The maximum y-coordinate of the subcube.
Definition at line 53 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
The maximum z-coordinate of the subcube.
Definition at line 55 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
The minimum value of all voxels in this subtree.
Definition at line 47 of file octree.h. Referenced by Octree::build(), and Octree::classify(). |
|
The minimum x-coordinate of the subcube.
Definition at line 57 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
The minimum y-coordinate of the subcube.
Definition at line 59 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
The minimum z-coordinate of the subcube.
Definition at line 61 of file octree.h. Referenced by Octree::build(), and Octree::skip(). |
|
Are there no children?
Definition at line 72 of file octree.h. Referenced by Octree::build(). |