Documentation for vtkCellCenters

vtkCellCenters - generate points at center of cells

Super Class: vtkDataSetToPolyDataFilter

Description:

vtkCellCenters is a filter that takes as input any dataset and generates on output points at the center of the cells in the dataset. These points can be used for placing glyphs (vtkGlyph3D) or labeling (vtkLabeledDataMapper). (The center is the parametric center of the cell, not necessarily the geometric or bounding box center.) The cell attributes will be associated with the points on output.

 

Caveats:

You can choose to generate just points or points and vertex cells. Vertex cells are drawn during rendering; points are not. Use the ivar VertexCells to generate cells.

 

See Also:

vtkGlyph3D vtkLabeledDataMapper

 

Methods:

void vtkCellCenters ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkCellCenters *New ()
void SetVertexCells (int )
int GetVertexCells ()
void VertexCellsOn ()
void VertexCellsOff ()
void Execute ()

 

Detailed Method Descriptions:

Construct object with vertex cell generation turned off.

static vtkCellCenters *New ()

Enable/disable the generation of vertex cells.

void SetVertexCells (int )
int GetVertexCells ()
void VertexCellsOn ()
void VertexCellsOff ()