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
| 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 | This toggle can prevent the module from running. Allowing the user to make changes to large data sets without waiting for updates. |
| Execute | Button | If Allow Run is turned off the Execute button will force the module to run once with the current settings. |
| 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. |
| Vector Component | Integer | If 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 Magnitude | Boolean | If 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 Color | Color | If Color By is set to Solid Color the Object Color will set the data map. |