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

converts a PistonDataObject to a DataSet More...

#include <vtkPistonToDataSet.h>

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

List of all members.

Public Types

typedef vtkPistonAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPistonToDataSetNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
vtkDataSetGetDataSetOutput (int port)
virtual void SetOutputDataSetType (int)
virtual int GetOutputDataSetType ()

Static Public Member Functions

static vtkPistonToDataSetNew ()
static int IsTypeOf (const char *type)
static vtkPistonToDataSetSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPistonToDataSet ()
 ~vtkPistonToDataSet ()
virtual int FillOutputPortInformation (int, vtkInformation *)
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

int OutputDataSetType

Detailed Description

converts a PistonDataObject to a DataSet

Converts piston data that resides on the GPU into a vtkDataSet that resides on the CPU. After bringing piston results back to the CPU they can be processed abitrarily there with standard vtkAlgorithms.

See also:
vtkDataSetToPiston
Tests:
vtkPistonToDataSet (Tests)

Definition at line 36 of file vtkPistonToDataSet.h.


Member Typedef Documentation

Reimplemented from vtkPistonAlgorithm.

Definition at line 40 of file vtkPistonToDataSet.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkPistonAlgorithm.

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

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

Reimplemented from vtkPistonAlgorithm.

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

Reimplemented from vtkPistonAlgorithm.

Reimplemented from vtkPistonAlgorithm.

void vtkPistonToDataSet::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 vtkPistonAlgorithm.

virtual void vtkPistonToDataSet::SetOutputDataSetType ( int  ) [virtual]

Changes the output data set type. Range of allowable values are defined in vtkType.h At the moment only VTK_IMAGE_DATA and VTK_POLY_DATA from those are implemented.

Changes the output data set type. Range of allowable values are defined in vtkType.h At the moment only VTK_IMAGE_DATA and VTK_POLY_DATA from those are implemented.

A convenience method to reduce code duplication that gets the output as the expected type or NULL.

virtual int vtkPistonToDataSet::FillOutputPortInformation ( int  ,
vtkInformation  
) [protected, virtual]

Overridden to say that we produce vtkDataSet

Reimplemented from vtkPistonAlgorithm.

virtual int vtkPistonToDataSet::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Overriden to create whatever output data set type is selected.

Reimplemented from vtkPistonAlgorithm.

virtual int vtkPistonToDataSet::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Method that does the actual calculation.

Reimplemented from vtkPistonAlgorithm.


Member Data Documentation

Definition at line 76 of file vtkPistonToDataSet.h.


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