translate by data
The translate by data module 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. The interface enables changing the scale factor for z translates to accommodate an overall z exaggeration in your applications.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to translate. |
| Input | Input Z Scale | Number | The factor for vertical scaling. |
| Output | Output Z Scale | Number | The factor for vertical scaling. |
| 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 | The Translation Method allows the user to choose between setting the coordinates or translating the coordinates. |
| Translation By | Choice: Constant, Cell Data Component, Node Data Component | The Translation By control allows the user to set the basis for translation. |
| Constant Value | Double | The Constant Value is a set value to translate by when the Constant option is selected. |
| Cell Data Component | Choice | The Cell Data component allows the user to set a variable data component to translate by when Translate By is set to Cell Data Component. |
| Node Data Component | Choice | The Node Data component allows the user to set a variable data component to translate by when Translate By is set to Node Data Component. |
| Z Scale | Double | Z scale is the scaling factor for vertical (z) coordinates. When translating by a Constant, the amount is affected by the Z Scale. If translating along any axis other than z, it is unlikely that you want to use the Z Exaggeration factor used elsewhere in your application. |
| Translation In | Choice: X, Y, Z | The Translation In control allows the user to set the axis of translation. |
Data Selection
| Property | Type | Description |
|---|---|---|
| Color By | Choice: Node Data, Cell Data, Solid Color | The Color By control allows the user to set how the color of the output should be determined. |
| Nodal Data Component | Choice | If Color By is set to Node Data the Nodal Data Component selects which nodal data will set the data map. |
| Cell Data Component | Choice | If Color By is set to Cell Data the Cell Data Component selects which cell data will set the data map. |
| Object Color | Color | If Color By is set to Solid Color the Object Color will set the data map. |
| Vector Component | Integer | If Color By is set to either Node Data or Cell Data the Vector Component allows the user to use just a single component of a vector data to set the data map. |
| Use Vector Magnitude | Boolean | If Color By is set to either Node Data or Cell Data the Use Vector Magnitude allows the user to use the magnitude of a vector data to set the data map. |