VTK
|
generate points at center of cells More...
#include <vtkCellCenters.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCellCenters * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetVertexCells (int) |
virtual int | GetVertexCells () |
virtual void | VertexCellsOn () |
virtual void | VertexCellsOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCellCenters * | SafeDownCast (vtkObjectBase *o) |
static vtkCellCenters * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCellCenters () | |
~vtkCellCenters () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
int | VertexCells |
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.
Definition at line 46 of file vtkCellCenters.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 49 of file vtkCellCenters.h.
vtkCellCenters::vtkCellCenters | ( | ) | [protected] |
vtkCellCenters::~vtkCellCenters | ( | ) | [inline, protected] |
Definition at line 64 of file vtkCellCenters.h.
static int vtkCellCenters::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkCellCenters::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkCellCenters* vtkCellCenters::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkCellCenters::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkCellCenters* vtkCellCenters::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
void vtkCellCenters::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataAlgorithm.
static vtkCellCenters* vtkCellCenters::New | ( | ) | [static] |
Construct object with vertex cell generation turned off.
Reimplemented from vtkPolyDataAlgorithm.
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 * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkCellCenters::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPolyDataAlgorithm.
int vtkCellCenters::VertexCells [protected] |
Definition at line 69 of file vtkCellCenters.h.