Skip to content

TetrahedronSetGeometryAlgorithms

Geometry algorithms dedicated to a tetrahedral topology.

Templates:

  • Vec2d
  • Vec3d

Target: Sofa.Component.Topology.Container.Dynamic

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
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
showTetrahedraIndices Debug : view Tetrahedrons indices 0
drawTetrahedra if true, draw the tetrahedra in the topology 0
drawScaleTetrahedra Scale of the terahedra (between 0 and 1; if <1.0, it produces gaps between the tetrahedra) 1
drawColorTetrahedra RGBA code color used to draw tetrahedra. 1 1 0 1
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