vtkPointDataToCellData Class Reference

#include <vtkPointDataToCellData.h>

Inheritance diagram for vtkPointDataToCellData:

Inheritance graph
[legend]
Collaboration diagram for vtkPointDataToCellData:

Collaboration graph
[legend]

List of all members.


Detailed Description

map point data to cell data

vtkPointDataToCellData is a filter that transforms point data (i.e., data specified per point) into cell data (i.e., data specified per cell). The method of transformation is based on averaging the data values of all points defining a particular cell. Optionally, the input point 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 vtkCellDataToPointData
Examples:
vtkPointDataToCellData (Examples)
Tests:
vtkPointDataToCellData (Tests)

Definition at line 45 of file vtkPointDataToCellData.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 SetPassPointData (int)
virtual int GetPassPointData ()
virtual void PassPointDataOn ()
virtual void PassPointDataOff ()

Static Public Member Functions

static vtkPointDataToCellDataNew ()
static int IsTypeOf (const char *type)
static vtkPointDataToCellDataSafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

int PassPointData

Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 49 of file vtkPointDataToCellData.h.


Constructor & Destructor Documentation

vtkPointDataToCellData::vtkPointDataToCellData (  )  [protected]

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

Definition at line 63 of file vtkPointDataToCellData.h.


Member Function Documentation

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

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

Reimplemented from vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

static int vtkPointDataToCellData::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.

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

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

Reimplemented from vtkDataSetAlgorithm.

void vtkPointDataToCellData::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 void vtkPointDataToCellData::SetPassPointData ( int   )  [virtual]

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

virtual int vtkPointDataToCellData::GetPassPointData (  )  [virtual]

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

virtual void vtkPointDataToCellData::PassPointDataOn (  )  [virtual]

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

virtual void vtkPointDataToCellData::PassPointDataOff (  )  [virtual]

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

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


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

Generated on Wed Aug 24 11:56:03 2011 for VTK by  doxygen 1.5.6