public |
Inheritance Graph
graph BT
QuadtreeMeshBuilder
click QuadtreeMeshBuilder "classRendering_1_1MeshUtils_1_1QuadtreeMeshBuilder"
Description
class QuadtreeMeshBuilder provides a static function for creating a mesh from the specified depth-texture, color-texture and normal-texture.
Classes
class | Rendering::MeshUtils::QuadtreeMeshBuilder::ColorSplitFunction Split function that only uses the color values. |
class | Rendering::MeshUtils::QuadtreeMeshBuilder::DepthSplitFunction Split function that only uses the depth values. |
class | Rendering::MeshUtils::QuadtreeMeshBuilder::MultipleSplitFunction Split function that uses multiple other split functions. |
class | Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree |
class | Rendering::MeshUtils::QuadtreeMeshBuilder::StencilSplitFunction Split function that only uses the stencil values. |
Public Types
typedef std::pair< uint16_t, uint16_t > | vertex_t |
typedef std::function< bool( QuadTree *)> | split_function_t Type for all split functions. |
Public Static Functions
Mesh * | createMesh(const VertexDescription & vd, Util::WeakPointer < Util::PixelAccessor > depthTexture, Util::WeakPointer < Util::PixelAccessor > colorTexture, Util::WeakPointer < Util::PixelAccessor > normalTexture, Util::WeakPointer < Util::PixelAccessor > stencilTexture, split_function_t function) |
Documentation
typedef
Rendering::MeshUtils::QuadtreeMeshBuilder::vertex_t
public |
typedef std::pair< uint16_t, uint16_t > vertex_t |
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:38
typedef
Rendering::MeshUtils::QuadtreeMeshBuilder::split_function_t
public |
typedef std::function< bool( QuadTree *)> split_function_t |
Type for all split functions.
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:151
function
Rendering::MeshUtils::QuadtreeMeshBuilder::createMesh
public | static |
Mesh * createMesh( | const VertexDescription & | vd, |
Util::WeakPointer < Util::PixelAccessor > | depthTexture, | |
Util::WeakPointer < Util::PixelAccessor > | colorTexture, | |
Util::WeakPointer < Util::PixelAccessor > | normalTexture, | |
Util::WeakPointer < Util::PixelAccessor > | stencilTexture, | |
split_function_t | function | |
) |
creates a mesh from the specified depth-texture, color-texture and normal-texture using a quad-tree.
Parameters
- vd
- vertex description
- depthTexture
- containing the z-values for the vertices
- colorTexture
- (optional) containing color-data
- normalTexture
- (optional) containing normal-vectors
- stencilTexture
- (optional) Stencil values. If the stencil value of a pixel is zero, no vertices will be generated for that pixel.
- function
- split function determines whether a quad-tree node requires a split
Returns
created mesh
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:274