cell centers

cell centers

The cell centers module produces a mesh containing a Point cell set, each point of which represents a geometrical center of a corresponding cell in the input mesh. The coordinates of cell centers are calculated by averaging coordinates of all the nodes of a cell. The number of nodes in the output mesh is equal to the number of cells in the input mesh. If the input mesh contains cell data it becomes node data in the output mesh with each node value equal to the corresponding cell value. Nodal data is not output directly.

You can use this module to create a position mesh for the glyphs at nodes module. You may also use this module as mesh input to the interpolate data module, then send the same nodal values as the input grid, to create interpolated nodal values at cell centroids.

Ports

DirectionNameTypeDescription
InputInput FieldFieldA field to generate centers from.
OutputOutput FieldFieldA field containing the cell centers.
OutputOutput ObjectRenderableA renderable object displaying the cell centers.

Properties

PropertyTypeDescription
Allow RunBooleanThis toggle can prevent the module from running. Allowing the user to make changes to large data sets without waiting for updates.
ExecuteButtonIf Allow Run is turned off the Execute button will force the module to run once with the current settings.
Color ByChoice: Node Data, Cell Data, Solid ColorThe Color By control allows the user to set how the color of the output should be determined.
Nodal Data ComponentChoiceIf Color By is set to Node Data the Nodal Data Component selects which nodal data will set the data map.
Vector ComponentIntegerIf Color By is set to Node Data the Vector Component allows the user to use just a single component of a vector data to set the data map.
Use Vector MagnitudeBooleanIf Color By is set to Node Data the Use Vector Magnitude allows the user to use the magnitude of a vector data to set the data map.
Object ColorColorIf Color By is set to Solid Color the Object Color will set the data map.