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

vtkIdFilter Class Reference

generate scalars or field data from point and cell ids. More...

#include <vtkIdFilter.h>

Inheritance diagram for vtkIdFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkIdFilter:

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 SetPointIds (int)
virtual int GetPointIds ()
virtual void PointIdsOn ()
virtual void PointIdsOff ()
virtual void SetCellIds (int)
virtual int GetCellIds ()
virtual void CellIdsOn ()
virtual void CellIdsOff ()
virtual void SetFieldData (int)
virtual int GetFieldData ()
virtual void FieldDataOn ()
virtual void FieldDataOff ()

Static Public Methods

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

Protected Methods

 vtkIdFilter ()
 ~vtkIdFilter ()
 vtkIdFilter (const vtkIdFilter &)
void operator= (const vtkIdFilter &)
void Execute ()

Protected Attributes

int PointIds
int CellIds
int FieldData

Detailed Description

generate scalars or field data from point and cell ids.

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

vtkIdFilter is a filter to that generates scalars or field data using cell and point ids. That is, the point attribute data scalars or field data are generated from the point ids, and the cell attribute data scalars or field data are generated from the the cell ids.

Typically this filter is used with vtkLabeledDataMapper (and possibly vtkSelectVisiblePoints) to create labels for points and cells, or labels for the point or cell data scalar values.

Examples:
vtkIdFilter (examples)

Definition at line 65 of file vtkIdFilter.h.


Constructor & Destructor Documentation

vtkIdFilter::vtkIdFilter   [protected]
 

vtkIdFilter::~vtkIdFilter   [inline, protected]
 

Definition at line 94 of file vtkIdFilter.h.

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

Definition at line 95 of file vtkIdFilter.h.


Member Function Documentation

virtual const char* vtkIdFilter::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 vtkDataSetToDataSetFilter.

int vtkIdFilter::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 vtkDataSetToDataSetFilter.

virtual int vtkIdFilter::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 vtkDataSetToDataSetFilter.

vtkIdFilter* vtkIdFilter::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 vtkDataSetToDataSetFilter.

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

vtkIdFilter* vtkIdFilter::New   [static]
 

Construct object with PointIds and CellIds on; and ids being generated as scalars.

Reimplemented from vtkDataSetSource.

virtual void vtkIdFilter::SetPointIds int    [virtual]
 

Enable/disable the generation of point ids.

virtual int vtkIdFilter::GetPointIds   [virtual]
 

virtual void vtkIdFilter::PointIdsOn   [virtual]
 

virtual void vtkIdFilter::PointIdsOff   [virtual]
 

virtual void vtkIdFilter::SetCellIds int    [virtual]
 

Enable/disable the generation of point ids.

virtual int vtkIdFilter::GetCellIds   [virtual]
 

virtual void vtkIdFilter::CellIdsOn   [virtual]
 

virtual void vtkIdFilter::CellIdsOff   [virtual]
 

virtual void vtkIdFilter::SetFieldData int    [virtual]
 

Set/Get the flag which controls whether to generate scalar data or field data. If this flag is off, scalar data is generated. Otherwise, field data is generated.

virtual int vtkIdFilter::GetFieldData   [virtual]
 

virtual void vtkIdFilter::FieldDataOn   [virtual]
 

virtual void vtkIdFilter::FieldDataOff   [virtual]
 

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

Definition at line 96 of file vtkIdFilter.h.

void vtkIdFilter::Execute   [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

int vtkIdFilter::PointIds [protected]
 

Definition at line 100 of file vtkIdFilter.h.

int vtkIdFilter::CellIds [protected]
 

Definition at line 101 of file vtkIdFilter.h.

int vtkIdFilter::FieldData [protected]
 

Definition at line 102 of file vtkIdFilter.h.


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