VTK
|
converts a PistonDataObject to a DataSet More...
#include <vtkPistonToDataSet.h>
Public Types | |
typedef vtkPistonAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPistonToDataSet * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkDataSet * | GetDataSetOutput (int port) |
virtual void | SetOutputDataSetType (int) |
virtual int | GetOutputDataSetType () |
Static Public Member Functions | |
static vtkPistonToDataSet * | New () |
static int | IsTypeOf (const char *type) |
static vtkPistonToDataSet * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 |
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.
Definition at line 36 of file vtkPistonToDataSet.h.
Reimplemented from vtkPistonAlgorithm.
Definition at line 40 of file vtkPistonToDataSet.h.
vtkPistonToDataSet::vtkPistonToDataSet | ( | ) | [protected] |
vtkPistonToDataSet::~vtkPistonToDataSet | ( | ) | [protected] |
static vtkPistonToDataSet* vtkPistonToDataSet::New | ( | ) | [static] |
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.
static vtkPistonToDataSet* vtkPistonToDataSet::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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.
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.
int vtkPistonToDataSet::OutputDataSetType [protected] |
Definition at line 76 of file vtkPistonToDataSet.h.