Description
Classes
class | MinSG::TriangleTrees::ABTree |
class | MinSG::TriangleTrees::ABTreeBuilder |
class | MinSG::TriangleTrees::Builder |
class | MinSG::TriangleTrees::kDTree |
class | MinSG::TriangleTrees::kDTreeBuilder |
class | MinSG::TriangleTrees::Octree |
class | MinSG::TriangleTrees::OctreeBuilder |
class | MinSG::TriangleTrees::RandomizedSampleTree |
class | MinSG::TriangleTrees::RandomizedSampleTreeBuilder |
class | MinSG::TriangleTrees::SolidTree Tree directly storing triangles only. |
class | MinSG::TriangleTrees::TreeVisualization |
class | MinSG::TriangleTrees::TriangleAccessor |
class | MinSG::TriangleTrees::TriangleTree |
Typedefs
typedef SolidTree < Geometry::Box_f , Geometry::Triangle_f > | SolidTree_3f Tree in three dimensions using float values. |
typedef SolidTree < Geometry::Box_f , std::pair< Geometry::Triangle_f , GeometryNode * > > | SolidTree_3f_GeometryNode |
Functions
SolidTree_3f | convertTree(const TriangleTree * treeNode) |
SolidTree_3f_GeometryNode | convertTree(const TriangleTree * treeNode, const Rendering::VertexAttribute & idAttr, const std::vector< GeometryNode * > & idLookup) |
Documentation
typedef
MinSG::TriangleTrees::SolidTree_3f
public |
typedef SolidTree < Geometry::Box_f , Geometry::Triangle_f > SolidTree_3f |
Tree in three dimensions usingfloat
values.
Defined in MinSG/Ext/TriangleTrees/Conversion.h:32
typedef
MinSG::TriangleTrees::SolidTree_3f_GeometryNode
public |
typedef SolidTree < Geometry::Box_f , std::pair< Geometry::Triangle_f , GeometryNode * > > SolidTree_3f_GeometryNode |
Tree in three dimensions usingfloat
values. It additionally stores a pointer per triangle to the GeometryNode the triangle belongs to.
Defined in MinSG/Ext/TriangleTrees/Conversion.h:39
function
MinSG::TriangleTrees::convertTree
public |
SolidTree_3f convertTree( | const TriangleTree * | treeNode ) |
Convert the data structure stored in a TriangleTree into a SolidTree .
Parameters
- treeNode
- Input of the conversion: A TriangleTree referencing triangles stored in a mesh
Returns
Output of the conversion: A SolidTree directly storing the triangles
Defined in MinSG/Ext/TriangleTrees/Conversion.h:49
function
MinSG::TriangleTrees::convertTree
public |
SolidTree_3f_GeometryNode convertTree( | const TriangleTree * | treeNode, |
const Rendering::VertexAttribute & | idAttr, | |
const std::vector< GeometryNode * > & | idLookup | |
) |
Convert the data structure stored in a TriangleTree into a SolidTree . Additionally, convert GeometryNode identifiers stored in the vertex data to pointers to GeometryNodes.
Parameters
- treeNode
- Input of the conversion: A TriangleTree referencing triangles stored in a mesh
- idAttr
- Vertex attribute that stores the GeometryNode identifiers
- idLookup
- Mapping from GeometryNode identifiers (index positions) to pointers to GeometryNodes
Returns
Output of the conversion: A SolidTree directly storing the triangles and pointers to GeometryNodes
Defined in MinSG/Ext/TriangleTrees/Conversion.h:64