Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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)


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.

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.

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.

vtkCellCenters* vtkCellCenters::New   [static]
 

Construct object with vertex cell generation turned off.

Reimplemented from vtkPolyDataSource.

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

virtual void vtkCellCenters::SetVertexCells int    [virtual]
 

Enable/disable the generation of vertex cells.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:23:58 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002