Ocean
|
This class stores construction parameters for an octree. More...
Public Member Functions | |
Parameters ()=default | |
Default constructor. More... | |
Parameters (const unsigned int maximalPointsPerLeaf, const bool useTightBoundingBoxes) | |
Creates a new parameter object. More... | |
bool | isValid () const |
Returns whether this object holds valid parameters. More... | |
Data Fields | |
unsigned int | maximalPointsPerLeaf_ = 40u |
The maximal number of points each leaf node can have. More... | |
bool | useTightBoundingBoxes_ = true |
True, to use tight bounding boxes for each individual node (only covering the actual points); False, to use bisected bounding boxes of the bounding box of the previous node. More... | |
This class stores construction parameters for an octree.
|
default |
Default constructor.
|
inline |
Creates a new parameter object.
maximalPointsPerLeaf | The maximal number of points each leaf node can have, with range [1, infinity) |
useTightBoundingBoxes | True, to use tight bounding boxes for each individual node (only covering the actual points); False, to use bisected bounding boxes of the bounding box of the previous node |
|
inline |
Returns whether this object holds valid parameters.
unsigned int Ocean::Geometry::OctreeT< T >::Parameters::maximalPointsPerLeaf_ = 40u |
The maximal number of points each leaf node can have.
bool Ocean::Geometry::OctreeT< T >::Parameters::useTightBoundingBoxes_ = true |
True, to use tight bounding boxes for each individual node (only covering the actual points); False, to use bisected bounding boxes of the bounding box of the previous node.