VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPistonToDataSet Class Reference

converts a PistonDataObject to a DataSet More...

#include <vtkPistonToDataSet.h>

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

Public Types

typedef vtkPistonAlgorithm Superclass
 
- Public Types inherited from vtkPistonAlgorithm
typedef vtkAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPistonToDataSetNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkDataSet * GetDataSetOutput (int port)
 
virtual void SetOutputDataSetType (int)
 
virtual int GetOutputDataSetType ()
 
- Public Member Functions inherited from vtkPistonAlgorithm
vtkPistonAlgorithmNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkPistonDataObjectGetPistonDataObjectOutput (int port)
 
virtual int ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void SetInputData (int num, vtkDataObject *input)
 
void SetInputData (vtkDataObject *input)
 

Static Public Member Functions

static vtkPistonToDataSetNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPistonToDataSetSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkPistonAlgorithm
static vtkPistonAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPistonAlgorithmSafeDownCast (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 Member Functions inherited from vtkPistonAlgorithm
 vtkPistonAlgorithm ()
 
 ~vtkPistonAlgorithm ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void PassBoundsForward (vtkPistonDataObject *id, vtkPistonDataObject *od)
 

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

Definition at line 40 of file vtkPistonToDataSet.h.

Constructor & Destructor Documentation

vtkPistonToDataSet::vtkPistonToDataSet ( )
protected
vtkPistonToDataSet::~vtkPistonToDataSet ( )
protected

Member Function Documentation

static vtkPistonToDataSet* vtkPistonToDataSet::New ( )
static
static int vtkPistonToDataSet::IsTypeOf ( const char *  type)
static
virtual int vtkPistonToDataSet::IsA ( const char *  type)
virtual

Reimplemented from vtkPistonAlgorithm.

static vtkPistonToDataSet* vtkPistonToDataSet::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPistonToDataSet::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkPistonAlgorithm.

vtkPistonToDataSet* vtkPistonToDataSet::NewInstance ( ) const
void vtkPistonToDataSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
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.

virtual int vtkPistonToDataSet::GetOutputDataSetType ( )
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.

vtkDataSet* vtkPistonToDataSet::GetDataSetOutput ( int  port)

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

virtual int vtkPistonToDataSet::FillOutputPortInformation ( int  ,
vtkInformation  
)
protectedvirtual

Overridden to say that we produce vtkDataSet

Reimplemented from vtkPistonAlgorithm.

virtual int vtkPistonToDataSet::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
protectedvirtual

Overriden to create whatever output data set type is selected.

Reimplemented from vtkPistonAlgorithm.

virtual int vtkPistonToDataSet::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
protectedvirtual

Method that does the actual calculation.

Reimplemented from vtkPistonAlgorithm.

Member Data Documentation

int vtkPistonToDataSet::OutputDataSetType
protected

Definition at line 76 of file vtkPistonToDataSet.h.


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