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 ()
 vtkCellCenters (const vtkCellCenters &)
void operator= (const vtkCellCenters &)
void Execute ()

Protected Attributes

int VertexCells

Detailed Description

generate points at center of cells.

Date:
2000/12/10 20:08:31
Revision:
1.12

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)

Definition at line 69 of file vtkCellCenters.h.


Constructor & Destructor Documentation

vtkCellCenters::vtkCellCenters   [protected]
 

vtkCellCenters::~vtkCellCenters   [inline, protected]
 

Definition at line 85 of file vtkCellCenters.h.

vtkCellCenters::vtkCellCenters const vtkCellCenters &    [inline, protected]
 

Definition at line 86 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]
 

virtual void vtkCellCenters::VertexCellsOn   [virtual]
 

virtual void vtkCellCenters::VertexCellsOff   [virtual]
 

void vtkCellCenters::operator= const vtkCellCenters &    [inline, protected]
 

Definition at line 87 of file vtkCellCenters.h.

void vtkCellCenters::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

int vtkCellCenters::VertexCells [protected]
 

Definition at line 91 of file vtkCellCenters.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:46:41 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001