VTK
|
NVidia thrust filter example. More...
#include <vtkPistonSort.h>
Public Types | |
typedef vtkPistonAlgorithm | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPistonSort * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
![]() | |
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 int | IsTypeOf (const char *type) |
static vtkPistonSort * | SafeDownCast (vtkObjectBase *o) |
static vtkPistonSort * | New () |
![]() | |
static vtkPistonAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkPistonAlgorithm * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPistonSort () | |
~vtkPistonSort () | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
![]() | |
vtkPistonAlgorithm () | |
~vtkPistonAlgorithm () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
virtual int | RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | PassBoundsForward (vtkPistonDataObject *id, vtkPistonDataObject *od) |
NVidia thrust filter example.
An example filter that operates on the GPU and produces a result that can be processed by another piston filter in the pipeline. The implementation simply calls thrust::sort on the scalar array which keeps the same data type while producing a result which is verifiably correct.
Definition at line 33 of file vtkPistonSort.h.
Definition at line 36 of file vtkPistonSort.h.
|
inlineprotected |
Definition at line 41 of file vtkPistonSort.h.
|
inlineprotected |
Definition at line 42 of file vtkPistonSort.h.
|
static |
|
virtual |
Reimplemented from vtkPistonAlgorithm.
|
static |
|
protectedvirtual |
Reimplemented from vtkPistonAlgorithm.
vtkPistonSort* vtkPistonSort::NewInstance | ( | ) | const |
|
static |
void vtkPistonSort::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protectedvirtual |
Method that does the actual calculation.
Reimplemented from vtkPistonAlgorithm.