vtkCellDataToPointData Class Reference

#include <vtkCellDataToPointData.h>

Inheritance diagram for vtkCellDataToPointData:

Inheritance graph
[legend]
Collaboration diagram for vtkCellDataToPointData:

Collaboration graph
[legend]

List of all members.


Detailed Description

map cell data to point data

vtkCellDataToPointData is a filter that transforms cell data (i.e., data specified per cell) into point data (i.e., data specified at cell points). The method of transformation is based on averaging the data values of all cells using a particular point. Optionally, the input cell data can be passed through to the output as well.

Warning:
This filter is an abstract filter, that is, the output is an abstract type (i.e., vtkDataSet). Use the convenience methods (e.g., GetPolyDataOutput(), GetStructuredPointsOutput(), etc.) to get the type of output you want.
See also:
vtkPointData vtkCellData vtkPointDataToCellData
Examples:
vtkCellDataToPointData (Examples)
Tests:
vtkCellDataToPointData (Tests)

Definition at line 47 of file vtkCellDataToPointData.h.


Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetPassCellData (int)
virtual int GetPassCellData ()
virtual void PassCellDataOn ()
virtual void PassCellDataOff ()

Static Public Member Functions

static vtkCellDataToPointDataNew ()
static int IsTypeOf (const char *type)
static vtkCellDataToPointDataSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkCellDataToPointData ()
 ~vtkCellDataToPointData ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int RequestDataForUnstructuredGrid (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int PassCellData

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

Definition at line 51 of file vtkCellDataToPointData.h.


Constructor & Destructor Documentation

vtkCellDataToPointData::vtkCellDataToPointData (  )  [protected]

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

Definition at line 65 of file vtkCellDataToPointData.h.


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

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

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

static int vtkCellDataToPointData::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

virtual int vtkCellDataToPointData::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

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

Reimplemented from vtkDataSetAlgorithm.

Reimplemented in vtkPCellDataToPointData.

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

Reimplemented in vtkPCellDataToPointData.

virtual void vtkCellDataToPointData::SetPassCellData ( int   )  [virtual]

Control whether the input cell data is to be passed to the output. If on, then the input cell data is passed through to the output; otherwise, only generated point data is placed into the output.

virtual int vtkCellDataToPointData::GetPassCellData (  )  [virtual]

Control whether the input cell data is to be passed to the output. If on, then the input cell data is passed through to the output; otherwise, only generated point data is placed into the output.

virtual void vtkCellDataToPointData::PassCellDataOn (  )  [virtual]

Control whether the input cell data is to be passed to the output. If on, then the input cell data is passed through to the output; otherwise, only generated point data is placed into the output.

virtual void vtkCellDataToPointData::PassCellDataOff (  )  [virtual]

Control whether the input cell data is to be passed to the output. If on, then the input cell data is passed through to the output; otherwise, only generated point data is placed into the output.

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

Reimplemented in vtkPCellDataToPointData.

int vtkCellDataToPointData::RequestDataForUnstructuredGrid ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected]


Member Data Documentation

Definition at line 75 of file vtkCellDataToPointData.h.


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

Generated on Wed Aug 24 11:30:32 2011 for VTK by  doxygen 1.5.6