generate points at center of cells
More...
#include <vtkCellCenters.h>
Inherits vtkPolyDataAlgorithm.
generate points at center of cells
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.
- Warning
- 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
- Examples:
- vtkCellCenters (Examples)
- Tests:
- vtkCellCenters (Tests)
Definition at line 46 of file vtkCellCenters.h.
vtkCellCenters::vtkCellCenters |
( |
| ) |
|
|
protected |
vtkCellCenters::~vtkCellCenters |
( |
| ) |
|
|
inlineprotected |
static int vtkCellCenters::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkCellCenters::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkCellCenters* vtkCellCenters::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkCellCenters::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkCellCenters::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct object with vertex cell generation turned off.
virtual void vtkCellCenters::SetVertexCells |
( |
int |
| ) |
|
|
virtual |
Enable/disable the generation of vertex cells. The default is Off.
virtual int vtkCellCenters::GetVertexCells |
( |
| ) |
|
|
virtual |
Enable/disable the generation of vertex cells. The default is Off.
virtual void vtkCellCenters::VertexCellsOn |
( |
| ) |
|
|
virtual |
Enable/disable the generation of vertex cells. The default is Off.
virtual void vtkCellCenters::VertexCellsOff |
( |
| ) |
|
|
virtual |
Enable/disable the generation of vertex cells. The default is Off.
virtual int vtkCellCenters::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkCellCenters::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
int vtkCellCenters::VertexCells |
|
protected |
The documentation for this class was generated from the following file: