GenerateSphere
Engine generating a spherical (Bezier) tetrahedral and triangular mesh.
Vec3d
Templates:
- Vec3d
Target: Sofa.Component.Engine.Generate
namespace: sofa::component::engine::generate
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 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 |
BezierTetrahedronDegree | order of Bezier tetrahedra | |
BezierTriangleDegree | order of Bezier triangles | |
radius | input sphere radius | 0.2 |
Outputs | ||
output_TetrahedraPosition | output array of 3d points of tetrahedra mesh | |
tetrahedra | output mesh tetrahedra | |
output_TrianglesPosition | output array of 3d points of triangle mesh | |
triangles | output triangular mesh | |
BezierTetrahedronWeights | weights of rational Bezier tetrahedra | |
isBezierTetrahedronRational | booleans indicating if each Bezier tetrahedron is rational or integral | |
BezierTriangleWeights | weights of rational Bezier triangles | |
isBezierTriangleRational | booleans indicating if each Bezier triangle is rational or integral | |
Inputs | ||
origin | sphere center point | 0 0 0 |
tessellationDegree | Degree of tessellation of each Platonic triangulation | 1 |
platonicSolid | name of the Platonic triangulation used to create the spherical dome : either "tetrahedron", "octahedron" or "icosahedron" | icosahedron |
Links
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 |