Helios++
Helios software for LiDAR simulations
|
Build type to wrap data required for recursive building of KDTree nodes when using a KDTreeFactory based thread pool. More...
#include <KDTreeBuildType.h>
Public Member Functions | |
KDTreeBuildType () | |
Default constructor for KDTreeBuildType. | |
KDTreeBuildType (KDTreeNode *parent, bool const left, vector< Primitive * > &primitives, int const depth, int const index) | |
Constructor for KDTreeBuildType with attributes as arguments. More... | |
Public Attributes | |
KDTreeNode * | parent |
The parent node. More... | |
bool | left |
True if given node is a left child, false otherwise. Notice root node is not left nor right, thus it must be false for root nodes. More... | |
vector< Primitive * > | primitives |
Primitives to build KDTree node from. More... | |
int | depth |
Depth of node. More... | |
int | index |
Index of node at current depth. More... | |
Build type to wrap data required for recursive building of KDTree nodes when using a KDTreeFactory based thread pool.
|
inline |
Constructor for KDTreeBuildType with attributes as arguments.
int KDTreeBuildType::depth |
Depth of node.
int KDTreeBuildType::index |
Index of node at current depth.
bool KDTreeBuildType::left |
True if given node is a left child, false otherwise. Notice root node is not left nor right, thus it must be false for root nodes.
KDTreeNode* KDTreeBuildType::parent |
The parent node.
vector<Primitive *> KDTreeBuildType::primitives |
Primitives to build KDTree node from.