VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPistonSort Class Reference

NVidia thrust filter example. More...

#include <vtkPistonSort.h>

Inheritance diagram for vtkPistonSort:
Inheritance graph
[legend]
Collaboration diagram for vtkPistonSort:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPistonAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPistonSortNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPistonSortSafeDownCast (vtkObjectBase *o)
static vtkPistonSortNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPistonSort ()
 ~vtkPistonSort ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Detailed Description

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.

Tests:
vtkPistonSort (Tests)

Definition at line 33 of file vtkPistonSort.h.


Member Typedef Documentation

Reimplemented from vtkPistonAlgorithm.

Definition at line 36 of file vtkPistonSort.h.


Constructor & Destructor Documentation

vtkPistonSort::vtkPistonSort ( ) [inline, protected]

Definition at line 41 of file vtkPistonSort.h.

vtkPistonSort::~vtkPistonSort ( ) [inline, protected]

Definition at line 42 of file vtkPistonSort.h.


Member Function Documentation

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.

Reimplemented from vtkPistonAlgorithm.

virtual vtkObjectBase* vtkPistonSort::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPistonAlgorithm.

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.


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