Skip to content

ManifoldTriangleSetGeometryAlgorithms

ManifoldTriangle set topology algorithms

Templates:

  • Vec2d
  • Vec3d

Target: ManifoldTopologies

namespace: sofa::component::topology::container::dynamic

parents:

  • TriangleSetGeometryAlgorithms

Data

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the object belongs to
bbox this object bounding box
componentState The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). Undefined
listening if true, handle the events, otherwise ignore the events 0
tagMechanics Tag of the Mechanical Object
recomputeTrianglesOrientation if true, will recompute triangles orientation according to normals 0
flipNormals if true, will flip normal of the first triangle used to recompute triangle orientation. 0
swap 2 triangles by their index Debug : Test swap function (only while animate).
Mesh Optimization If true, optimize the mesh only by swapping edges 0
Visualization
showIndicesScale Debug : scale for view topology indices 0.02
showPointIndices Debug : view Point indices 0
showEdgeIndices Debug : view Edge indices. 0
drawEdges if true, draw the edges in the topology. 0
drawColorEdges RGB code color used to draw edges. 0.4 1 0.3 1
showTriangleIndices Debug : view Triangle indices 0
drawTriangles if true, draw the triangles in the topology 0
drawColorTriangles RGBA code color used to draw triangles 0.3 0.5 0.8 1
drawNormals if true, draw the triangles in the topology 0
drawNormalLength Fiber length visualisation. 10
Name Description Destination type name
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used) BaseContext
slaves Sub-objects used internally by this object BaseObject
master nullptr for regular objects, or master object for which this object is one sub-objects BaseObject
topology link to the topology container BaseMeshTopology