VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkCellCenters Class Reference

generate points at center of cells More...

#include <vtkCellCenters.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkCellCentersNewInstance () 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 vtkCellCentersSafeDownCast (vtkObjectBase *o)
 
static vtkCellCentersNew ()
 

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
 

Detailed Description

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.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkCellCenters::Superclass

Definition at line 49 of file vtkCellCenters.h.

Constructor & Destructor Documentation

vtkCellCenters::vtkCellCenters ( )
protected
vtkCellCenters::~vtkCellCenters ( )
inlineprotected

Definition at line 64 of file vtkCellCenters.h.

Member Function Documentation

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
vtkCellCenters* vtkCellCenters::NewInstance ( ) const
void vtkCellCenters::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkCellCenters* vtkCellCenters::New ( )
static

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

Member Data Documentation

int vtkCellCenters::VertexCells
protected

Definition at line 69 of file vtkCellCenters.h.


The documentation for this class was generated from the following file: