Helios++
Helios software for LiDAR simulations
KDTreeBuildType Class Reference

Build type to wrap data required for recursive building of KDTree nodes when using a KDTreeFactory based thread pool. More...

#include <KDTreeBuildType.h>

Collaboration diagram for KDTreeBuildType:

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

KDTreeNodeparent
 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...
 

Detailed Description

Build type to wrap data required for recursive building of KDTree nodes when using a KDTreeFactory based thread pool.

Author
Alberto M. Esmoris Pena @verison 1.0
See also
KDTreeFactoryThreadPool
KDTreeFactory

Constructor & Destructor Documentation

◆ KDTreeBuildType()

KDTreeBuildType::KDTreeBuildType ( KDTreeNode parent,
bool const  left,
vector< Primitive * > &  primitives,
int const  depth,
int const  index 
)
inline

Member Data Documentation

◆ depth

int KDTreeBuildType::depth

Depth of node.

See also
SimpleKDTreeFactory::buildRecursive

◆ index

int KDTreeBuildType::index

Index of node at current depth.

See also
SimpleKDTreeFactory::buildRecursive

◆ left

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.

See also
SimpleKDTreeFactory::buildRecursive

◆ parent

KDTreeNode* KDTreeBuildType::parent

The parent node.

See also
SimpleKDTreeFactory::buildRecursive

◆ primitives

vector<Primitive *> KDTreeBuildType::primitives

Primitives to build KDTree node from.

See also
SimpleKDTreeFactory::buildRecursive

The documentation for this class was generated from the following file: