Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

vtkKWEGPUImageAlgorithmDriver Class Reference

#include <vtkKWEGPUImageAlgorithmDriver.h>

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

List of all members.

Classes

class  vtkBuses

Public Types

enum  ExtentTypes {
  INVALID = 0, XY_PLANE = VTK_XY_PLANE, YZ_PLANE = VTK_YZ_PLANE, XZ_PLANE = VTK_XZ_PLANE,
  XYZ_GRID = VTK_XYZ_GRID
}

Public Member Functions

 vtkTypeRevisionMacro (vtkKWEGPUImageAlgorithmDriver, vtkImageAlgorithm)
void PrintSelf (ostream &os, vtkIndent indent)

vtkRenderWindowGetContext ()
virtual void SetContext (vtkRenderWindow *)

Protected Member Functions

 vtkKWEGPUImageAlgorithmDriver ()
 ~vtkKWEGPUImageAlgorithmDriver ()
bool ComputeTCoordsRange (double tcoords[6], const int inputExt[6], const int outputExt[6])

virtual ExtentTypes GetSplitMode (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)=0

virtual int MapOutputExtentToInput (int input_extent[6], int port, int connection, vtkInformation *inInfo, const int output_extent[6])=0

virtual bool InitializeExecution (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *vtkNotUsed(outputVector))

virtual bool Execute (vtkBuses *upBuses, vtkDataTransferHelper *downBus)=0
virtual void Execute ()

virtual bool FinalizeExecution (vtkInformation *vtkNotUsed(request), vtkInformationVector **vtkNotUsed(inputVector), vtkInformationVector *vtkNotUsed(outputVector))

virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

vtkWeakPointer< vtkRenderWindowContext
bool OwnContext

Friends

class vtkPipe

Detailed Description

vtkKWEGPUImageAlgorithmDriver is a the driver for all image processing algorithms that use the GPU to do the work.

Definition at line 44 of file vtkKWEGPUImageAlgorithmDriver.h.


Member Enumeration Documentation

Enumerator:
INVALID 
XY_PLANE 
YZ_PLANE 
XZ_PLANE 
XYZ_GRID 

Definition at line 57 of file vtkKWEGPUImageAlgorithmDriver.h.


Constructor & Destructor Documentation

vtkKWEGPUImageAlgorithmDriver::vtkKWEGPUImageAlgorithmDriver (  )  [protected]
vtkKWEGPUImageAlgorithmDriver::~vtkKWEGPUImageAlgorithmDriver (  )  [protected]

Member Function Documentation

vtkKWEGPUImageAlgorithmDriver::vtkTypeRevisionMacro ( vtkKWEGPUImageAlgorithmDriver  ,
vtkImageAlgorithm   
)
void vtkKWEGPUImageAlgorithmDriver::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkKWEImageGradientMagnitude.

vtkRenderWindow* vtkKWEGPUImageAlgorithmDriver::GetContext (  ) 

Get/Set the context. Note that the context is not reference counted.

virtual void vtkKWEGPUImageAlgorithmDriver::SetContext ( vtkRenderWindow  )  [virtual]

Get/Set the context. Note that the context is not reference counted.

virtual ExtentTypes vtkKWEGPUImageAlgorithmDriver::GetSplitMode ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, pure virtual]

The method should return how the streamer should break up extents. This is not much different from the split mode specified on vtkExtentTranslator.

Implemented in vtkKWEImageGradientMagnitude.

virtual int vtkKWEGPUImageAlgorithmDriver::MapOutputExtentToInput ( int  input_extent[6],
int  port,
int  connection,
vtkInformation inInfo,
const int  output_extent[6] 
) [protected, pure virtual]

Given the output_extent that we need to produce, what extents does the subclass need from the input on the indicated (port, connection). Return value is a an int indicating the minimum dimensionality of the texture created for the corresponding input. Returns value 0 (or less) indicates error.

Implemented in vtkKWEImageGradientMagnitude.

virtual bool vtkKWEGPUImageAlgorithmDriver::InitializeExecution ( vtkInformation vtkNotUsedrequest,
vtkInformationVector **  vtkNotUsedinputVector,
vtkInformationVector vtkNotUsedoutputVector 
) [inline, protected, virtual]

Gives the subclasses an opportunity to do some initialization before the looping begins.

Definition at line 96 of file vtkKWEGPUImageAlgorithmDriver.h.

virtual bool vtkKWEGPUImageAlgorithmDriver::Execute ( vtkBuses upBuses,
vtkDataTransferHelper downBus 
) [protected, pure virtual]

Actual execution method.

Implemented in vtkKWEImageGradientMagnitude.

virtual void vtkKWEGPUImageAlgorithmDriver::Execute (  )  [inline, protected, virtual]

Actual execution method.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkKWEImageGradientMagnitude.

Definition at line 106 of file vtkKWEGPUImageAlgorithmDriver.h.

virtual bool vtkKWEGPUImageAlgorithmDriver::FinalizeExecution ( vtkInformation vtkNotUsedrequest,
vtkInformationVector **  vtkNotUsedinputVector,
vtkInformationVector vtkNotUsedoutputVector 
) [inline, protected, virtual]

Gives the subclasses an opportunity to do some cleanup after the looping ends.

Definition at line 112 of file vtkKWEGPUImageAlgorithmDriver.h.

virtual int vtkKWEGPUImageAlgorithmDriver::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Actual execution. Subclasses should not override this method. They should override Execute() instead.

Reimplemented from vtkImageAlgorithm.

int vtkKWEGPUImageAlgorithmDriver::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

RequestUpdateExtent.

Reimplemented from vtkImageAlgorithm.

bool vtkKWEGPUImageAlgorithmDriver::ComputeTCoordsRange ( double  tcoords[6],
const int  inputExt[6],
const int  outputExt[6] 
) [protected]

Friends And Related Function Documentation

friend class vtkPipe [friend]

Definition at line 144 of file vtkKWEGPUImageAlgorithmDriver.h.


Member Data Documentation

Definition at line 137 of file vtkKWEGPUImageAlgorithmDriver.h.

Definition at line 138 of file vtkKWEGPUImageAlgorithmDriver.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines