Skip to content

TriangleSetGeometryAlgorithms

Triangle set geometry algorithms

Templates:

  • Vec2d
  • Vec3d

Target: Sofa.Component.Topology.Container.Dynamic

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

parents:

  • EdgeSetGeometryAlgorithms

Data:

Name Description Default value
name object name unnamed
printLog if true, emits extra messages at runtime. 0
tags list of the subsets the objet 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
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 edges. 0.3 0.5 0.8 1
drawNormals if true, draw the triangles in the topology 0
drawNormalLength Fiber length visualisation. 10

Links:

Name Description
context Graph Node containing this object (or BaseContext::getDefault() if no graph is used)
slaves Sub-objects used internally by this object
master nullptr for regular objects, or master object for which this object is one sub-objects
topology link to the topology container