Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkCellCenters Class Reference

generate points at center of cells. More...

#include <vtkCellCenters.h>

Inheritance diagram for vtkCellCenters:

Inheritance graph
[legend]
Collaboration diagram for vtkCellCenters:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetVertexCells (int)
virtual int GetVertexCells ()
virtual void VertexCellsOn ()
virtual void VertexCellsOff ()

Static Public Methods

int IsTypeOf (const char *type)
vtkCellCenters * SafeDownCast (vtkObject *o)
vtkCellCenters * New ()

Protected Methods

 vtkCellCenters ()
 ~vtkCellCenters ()
void Execute ()

Protected Attributes

int VertexCells

Detailed Description

generate points at center of cells.

Date:
2001/10/11 13:36:47
Revision:
1.15

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 73 of file vtkCellCenters.h.


Constructor & Destructor Documentation

vtkCellCenters::vtkCellCenters   [protected]
 

vtkCellCenters::~vtkCellCenters   [inline, protected]
 

Definition at line 91 of file vtkCellCenters.h.


Member Function Documentation

virtual const char* vtkCellCenters::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

int vtkCellCenters::IsTypeOf const char *    type [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 vtkDataSetToPolyDataFilter.

virtual int vtkCellCenters::IsA const char *    type [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 vtkDataSetToPolyDataFilter.

vtkCellCenters* vtkCellCenters::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

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 vtkSource.

vtkCellCenters* vtkCellCenters::New   [static]
 

Construct object with vertex cell generation turned off.

Reimplemented from vtkPolyDataSource.

virtual void vtkCellCenters::SetVertexCells int    [virtual]
 

Enable/disable the generation of vertex cells.

virtual int vtkCellCenters::GetVertexCells   [virtual]
 

Enable/disable the generation of vertex cells.

virtual void vtkCellCenters::VertexCellsOn   [virtual]
 

Enable/disable the generation of vertex cells.

virtual void vtkCellCenters::VertexCellsOff   [virtual]
 

Enable/disable the generation of vertex cells.

void vtkCellCenters::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

int vtkCellCenters::VertexCells [protected]
 

Definition at line 95 of file vtkCellCenters.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:27:44 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001