public |
Inheritance Graph
graph BT
DepthSplitFunction
click DepthSplitFunction "classRendering_1_1MeshUtils_1_1QuadtreeMeshBuilder_1_1DepthSplitFunction"
Description
Split function that only uses the depth values.
Public Functions
DepthSplitFunction( Util::Reference < Util::PixelAccessor > depthAccessor, float depthDisruption) | |
bool | operator()( QuadTree * node) |
Documentation
function
Rendering::MeshUtils::QuadtreeMeshBuilder::DepthSplitFunction::DepthSplitFunction
public |
DepthSplitFunction( | Util::Reference < Util::PixelAccessor > | depthAccessor, |
float | depthDisruption | |
) |
Default constructor. The minimum and maximum depth values are initialized here.
Parameters
- depthAccessor
- Access to the depth values
- depthDisruption
- This factor is multiplied with the depth range. If a difference larger than the result is found between two depth values, a split will be performed.
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:164
function
Rendering::MeshUtils::QuadtreeMeshBuilder::DepthSplitFunction::operator()
public |
bool operator()( | QuadTree * | node ) |
Determine whether the specified quad tree node shall be split. Only the depth values are used by this function.
Parameters
- node
- Quad tree node that is to be analyzed
Returns
true
if the specified quad tree node should be split,false
otherwise
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:173