translate by data
translate by data accepts nearly any mesh and translates the grid in x, y, or z based upon either a nodal or cell data component or a constant. Coordinates can either be offset by the selected value (Translate Coordinates) or set directly to it (Set Coordinate Position), for example to place a flat surface at elevations stored in a data component.
The Data Selection settings control only how the renderable output is colored; they do not affect the translation or the data in the output field.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to translate. |
| Output | Output Field | Field | A field containing the translated field. |
| Output | Output Object | Renderable | A renderable object displaying the translated field. |
Properties
| Property | Type | Description |
|---|---|---|
| Translation Method | Choice: Translate Coordinates, Set Coordinate Position | Chooses between translating (offsetting) the coordinates or setting the coordinates to the selected value. |
| Translation By | Choice: Constant, Cell Data Component, Node Data Component | Sets the basis for translation. |
| Constant Value | Double | The value to translate by when Translation By is set to Constant. |
| Cell Data Component | Choice | The cell data component to translate by when Translation By is set to Cell Data Component. Options are the cell data components of the input field. |
| Node Data Component | Choice | The nodal data component to translate by when Translation By is set to Node Data Component. Options are the nodal data components of the input field. |
| Translation In | Choice: X, Y, Z | Sets the axis of translation. |
Data Selection
| Property | Type | Description |
|---|---|---|
| Color By | Choice: Node Data, Cell Data, Solid Color | Sets how the color of the output object is determined. |
| Nodal Data Component | Choice | If Color By is set to Node Data, selects which nodal data component sets the data map. Options are the nodal data components of the input field. |
| Cell Data Component | Choice | If Color By is set to Cell Data, selects which cell data component sets the data map. Options are the cell data components of the input field. |
| Object Color | Color | If Color By is set to Solid Color, the color of the output object. |
| Vector Component | Integer | If Color By is set to Node Data or Cell Data, uses a single component of vector data to set the data map. A value of -1 uses all components. |
| Use Vector Magnitude | Boolean | If Color By is set to Node Data or Cell Data, uses the magnitude of vector data to set the data map. |