VTK
|
converts a PistonDataObject to a DataSet More...
#include <vtkPistonToDataSet.h>
Public Types | |
typedef vtkPistonAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | 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 () |
![]() | |
vtkPistonAlgorithm * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkPistonDataObject * | GetPistonDataObjectOutput (int port) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInputData (int num, vtkDataObject *input) |
void | SetInputData (vtkDataObject *input) |
Static Public Member Functions | |
static vtkPistonToDataSet * | New () |
static int | IsTypeOf (const char *type) |
static vtkPistonToDataSet * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkPistonAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkPistonAlgorithm * | 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) |
![]() | |
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 |
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.
Definition at line 40 of file vtkPistonToDataSet.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkPistonAlgorithm.
|
static |
|
protectedvirtual |
Reimplemented from vtkPistonAlgorithm.
vtkPistonToDataSet* vtkPistonToDataSet::NewInstance | ( | ) | const |
void vtkPistonToDataSet::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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 |
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.
|
protectedvirtual |
Overridden to say that we produce vtkDataSet
Reimplemented from vtkPistonAlgorithm.
|
protectedvirtual |
Overriden to create whatever output data set type is selected.
Reimplemented from vtkPistonAlgorithm.
|
protectedvirtual |
Method that does the actual calculation.
Reimplemented from vtkPistonAlgorithm.
|
protected |
Definition at line 76 of file vtkPistonToDataSet.h.