VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPointDataToCellData Class Reference

map point data to cell data More...

#include <vtkPointDataToCellData.h>

Inheritance diagram for vtkPointDataToCellData:
Inheritance graph
[legend]
Collaboration diagram for vtkPointDataToCellData:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPointDataToCellDataNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

int PassPointData

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 46 of file vtkPointDataToCellData.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 50 of file vtkPointDataToCellData.h.


Constructor & Destructor Documentation

Definition at line 64 of file vtkPointDataToCellData.h.


Member Function Documentation

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

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.

Reimplemented from vtkDataSetAlgorithm.

virtual vtkObjectBase* vtkPointDataToCellData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.

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.

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.

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 70 of file vtkPointDataToCellData.h.


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