Skip to content

Vertex2Frame

Return a rigid position from the vertices, texCoords, normals and facets of any mesh.

Rigid3d

Templates:

  • Rigid3d

Target: Sofa.Component.Engine.Transform

namespace: sofa::component::engine::transform

parents:

  • DataEngine

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
useNormals Use normals to compute the orientations; if disabled the direction of the x axisof a vertice is the one from this vertice to the next one 1
invertNormals Swap normals 0
Inputs
position Vertices of the mesh loaded
texCoords TexCoords of the mesh loaded
normals Normals of the mesh loaded
rotation Apply a local rotation on the frames. If 0 a x-axis rotation is applied. If 1 a y-axis rotation is applied, If 2 a z-axis rotation is applied. 0
rotationAngle Angle rotation 0
Outputs
frames Frames at output
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