Synopsis
produce a Point mesh representing geometric centers of each cells
Input Ports
in_field |
Mesh |
Parameters
Output Ports
out_fld |
Mesh |
out_obj |
output renderable object |
Description
cell_centers module produces a mesh containing 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 number of cells in the input mesh. If the input mesh contains Cell_Data it becomes a Node_Data in the output mesh with each node values equal to corresponding cell value. You can use this module to create a position mesh for the glyph module (see glyph ).
Input Ports
in_field
The input must contain any type of mesh.
Output ports
out_fld
The output field contains a new mesh that consists of points representing geometrical centers of a corresponding cells in the input mesh.geoetric centers. It also may contain a Node_Data that corresponds to Cell_Data in the input mesh.
out_obj
This is a renderable version of the output field.
Example
Libraries.Examples.Visualization.Cylinder_Plot_Unif
examples/cyl_plot_unif.v
File
v/modules.v
See also
Related modules: