Skip to content

HexahedronSetGeometryAlgorithms

Geometry algorithms dedicated to an hexahedral topology.

Templates:

  • Vec2d
  • Vec3d

Target: Sofa.Component.Topology.Container.Dynamic

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

parents:

  • QuadSetGeometryAlgorithms

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
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
showQuadIndices Debug : view Quad indices 0
drawQuads if true, draw the quads in the topology 0
drawColorQuads RGB code color used to draw quads. 0 0.4 0.4 1
showHexaIndices Debug : view Hexa indices 0
drawHexahedra if true, draw the Hexahedron in the topology 0
drawScaleHexahedra Scale of the hexahedra (between 0 and 1; if <1.0, it produces gaps between the hexahedra) 1
drawColorHexahedra RGB code color used to draw hexahedra. 1 0.5 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