VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPistonSort Class Reference

NVidia thrust filter example. More...

#include <vtkPistonSort.h>

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

Public Types

typedef vtkPistonAlgorithm Superclass
 
- Public Types inherited from vtkPistonAlgorithm
typedef vtkAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPistonSortNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkPistonAlgorithm
vtkPistonAlgorithmNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
vtkPistonDataObjectGetPistonDataObjectOutput (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 vtkPistonSortSafeDownCast (vtkObjectBase *o)
 
static vtkPistonSortNew ()
 
- Static Public Member Functions inherited from vtkPistonAlgorithm
static vtkPistonAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPistonAlgorithmSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkPistonSort ()
 
 ~vtkPistonSort ()
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Protected Member Functions inherited from vtkPistonAlgorithm
 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)
 

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

Definition at line 36 of file vtkPistonSort.h.

Constructor & Destructor Documentation

vtkPistonSort::vtkPistonSort ( )
inlineprotected

Definition at line 41 of file vtkPistonSort.h.

vtkPistonSort::~vtkPistonSort ( )
inlineprotected

Definition at line 42 of file vtkPistonSort.h.

Member Function Documentation

static int vtkPistonSort::IsTypeOf ( const char *  type)
static
virtual int vtkPistonSort::IsA ( const char *  type)
virtual

Reimplemented from vtkPistonAlgorithm.

static vtkPistonSort* vtkPistonSort::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkPistonSort::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkPistonAlgorithm.

vtkPistonSort* vtkPistonSort::NewInstance ( ) const
static vtkPistonSort* vtkPistonSort::New ( )
static
void vtkPistonSort::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual int vtkPistonSort::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
)
protectedvirtual

Method that does the actual calculation.

Reimplemented from vtkPistonAlgorithm.


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