ImageSampler
Samples an object represented by an image
Templates:
- ImageB
- ImageD
- ImageUC
Target: image
namespace: sofa::component::engine
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 |
| image | 0 0 0 0 0 | |
| transform | 0 0 0 0 0 0 1 1 1 0 1 0 | |
| method | method (param) | |
| computeRecursive | if true: insert nodes recursively and build the graph | 0 |
| param | Parameters | |
| position | output positions | |
| fixedPosition | user defined sample positions | |
| edges | edges connecting neighboring nodes | |
| graphEdges | oriented graph connecting parent to child nodes | |
| hexahedra | output hexahedra | |
| distances | 0 0 0 0 0 | |
| voronoi | 0 0 0 0 0 | |
| clearData | clear distance image after computation | 1 |
| Visualization | ||
| showSamplesScale | show samples | 0 |
| drawMode | 0: points, 1: spheres | 0 |
| showEdges | show edges | 0 |
| showGraph | show graph | 0 |
| showFaces | show the faces of cubes | 0 |
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 |