vtkAttributeDataToFieldDataFilter Class Reference

#include <vtkAttributeDataToFieldDataFilter.h>

Inheritance diagram for vtkAttributeDataToFieldDataFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkAttributeDataToFieldDataFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

map attribute data to field data

vtkAttributeDataToFieldDataFilter is a class that maps attribute data into field data. Since this filter is a subclass of vtkDataSetAlgorithm, the output dataset (whose structure is the same as the input dataset), will contain the field data that is generated. The filter will convert point and cell attribute data to field data and assign it as point and cell field data, replacing any point or field data that was there previously. By default, the original non-field point and cell attribute data will be passed to the output of the filter, although you can shut this behavior down.

Warning:
Reference counting the underlying data arrays is used to create the field data. Therefore, no extra memory is utilized.

The original field data (if any) associated with the point and cell attribute data is placed into the generated fields along with the scalars, vectors, etc.

See also:
vtkFieldData vtkDataObject vtkDataSet vtkFieldDataToAttributeDataFilter

Definition at line 46 of file vtkAttributeDataToFieldDataFilter.h.


Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void SetPassAttributeData (int)
virtual int GetPassAttributeData ()
virtual void PassAttributeDataOn ()
virtual void PassAttributeDataOff ()

Static Public Member Functions

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

Protected Member Functions

 vtkAttributeDataToFieldDataFilter ()
 ~vtkAttributeDataToFieldDataFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int PassAttributeData

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 50 of file vtkAttributeDataToFieldDataFilter.h.


Constructor & Destructor Documentation

vtkAttributeDataToFieldDataFilter::vtkAttributeDataToFieldDataFilter (  )  [protected]

vtkAttributeDataToFieldDataFilter::~vtkAttributeDataToFieldDataFilter (  )  [inline, protected]

Definition at line 65 of file vtkAttributeDataToFieldDataFilter.h.


Member Function Documentation

void vtkAttributeDataToFieldDataFilter::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 vtkDataSetAlgorithm.

virtual const char* vtkAttributeDataToFieldDataFilter::GetClassName (  )  [virtual]

Reimplemented from vtkDataSetAlgorithm.

static int vtkAttributeDataToFieldDataFilter::IsTypeOf ( const char *  name  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkAttributeDataToFieldDataFilter::IsA ( const char *  name  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

static vtkAttributeDataToFieldDataFilter* vtkAttributeDataToFieldDataFilter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataSetAlgorithm.

static vtkAttributeDataToFieldDataFilter* vtkAttributeDataToFieldDataFilter::New (  )  [static]

Construct this object.

Reimplemented from vtkDataSetAlgorithm.

virtual void vtkAttributeDataToFieldDataFilter::SetPassAttributeData ( int   )  [virtual]

Turn on/off the passing of point and cell non-field attribute data to the output of the filter.

virtual int vtkAttributeDataToFieldDataFilter::GetPassAttributeData (  )  [virtual]

Turn on/off the passing of point and cell non-field attribute data to the output of the filter.

virtual void vtkAttributeDataToFieldDataFilter::PassAttributeDataOn (  )  [virtual]

Turn on/off the passing of point and cell non-field attribute data to the output of the filter.

virtual void vtkAttributeDataToFieldDataFilter::PassAttributeDataOff (  )  [virtual]

Turn on/off the passing of point and cell non-field attribute data to the output of the filter.

virtual int vtkAttributeDataToFieldDataFilter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.


Member Data Documentation

Definition at line 69 of file vtkAttributeDataToFieldDataFilter.h.


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

Generated on Wed Jun 3 18:53:40 2009 for VTK by  doxygen 1.5.6