VTK
|
NVidia thrust filter example. More...
#include <vtkPistonSort.h>
Public Types | |
typedef vtkPistonAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPistonSort * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPistonSort * | SafeDownCast (vtkObjectBase *o) |
static vtkPistonSort * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPistonSort () | |
~vtkPistonSort () | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
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.
Reimplemented from vtkPistonAlgorithm.
Definition at line 36 of file vtkPistonSort.h.
vtkPistonSort::vtkPistonSort | ( | ) | [inline, protected] |
Definition at line 41 of file vtkPistonSort.h.
vtkPistonSort::~vtkPistonSort | ( | ) | [inline, protected] |
Definition at line 42 of file vtkPistonSort.h.
static int vtkPistonSort::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 vtkPistonSort::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 vtkPistonSort* vtkPistonSort::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPistonAlgorithm.
virtual vtkObjectBase* vtkPistonSort::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPistonAlgorithm.
vtkPistonSort* vtkPistonSort::NewInstance | ( | ) | const |
Reimplemented from vtkPistonAlgorithm.
static vtkPistonSort* vtkPistonSort::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPistonAlgorithm.
void vtkPistonSort::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 int vtkPistonSort::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Method that does the actual calculation.
Reimplemented from vtkPistonAlgorithm.