translate by data

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

DirectionNameTypeDescription
InputInput FieldFieldA field to translate.
OutputOutput FieldFieldA field containing the translated field.
OutputOutput ObjectRenderableA renderable object displaying the translated field.

Properties

PropertyTypeDescription
Translation MethodChoice: Translate Coordinates, Set Coordinate PositionChooses between translating (offsetting) the coordinates or setting the coordinates to the selected value.
Translation ByChoice: Constant, Cell Data Component, Node Data ComponentSets the basis for translation.
Constant ValueDoubleThe value to translate by when Translation By is set to Constant.
Cell Data ComponentChoiceThe 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 ComponentChoiceThe 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 InChoice: X, Y, ZSets the axis of translation.

Data Selection

PropertyTypeDescription
Color ByChoice: Node Data, Cell Data, Solid ColorSets how the color of the output object is determined.
Nodal Data ComponentChoiceIf 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 ComponentChoiceIf 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 ColorColorIf Color By is set to Solid Color, the color of the output object.
Vector ComponentIntegerIf 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 MagnitudeBooleanIf Color By is set to Node Data or Cell Data, uses the magnitude of vector data to set the data map.