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
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | A field to generate centers from. |
| Output | Output Field | Field | A field containing the cell centers. |
| Output | Output Object | Renderable | A renderable object displaying the cell centers. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | Prevents the module from running when turned off, allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off, forces the module to run once with the current settings. |
| 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 cell data components of the input field, which become nodal data in the output. |
| Vector Component | Integer | If 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 Magnitude | Boolean | If Color By is set to Node Data, uses the magnitude of vector data to set the data map. |
| Object Color | Color | If Color By is set to Solid Color, the color of the output object. |