cell centers

cell centers

cell centers produces a mesh containing a Point cell set, each point of which represents the geometric center of a corresponding cell in the input mesh. The coordinates of each cell center are calculated by averaging the coordinates of all the nodes of the cell. The number of nodes in the output mesh is equal to the number of cells in the input mesh. Cell data in the input mesh 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 glyphs at nodes. You may also use this module as the destination field for interpolate data, with the original grid as the data field, 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 RunBooleanPrevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates.
ExecuteButtonIf Allow Run is turned off, forces the module to run once with the current settings.
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 cell data components of the input field, which become nodal data in the output.
Vector ComponentIntegerIf Color By is set to Node 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, uses the magnitude of vector data to set the data map.
Object ColorColorIf Color By is set to Solid Color, the color of the output object.