16 #ifndef vtkOpenGLGPUVolumeRayCastMapper_h
17 #define vtkOpenGLGPUVolumeRayCastMapper_h
19 #include "vtkRenderingVolumeOpenGL2Module.h"
50 double vtkNotUsed(datasetBounds)[6],
51 double vtkNotUsed(scalarRange)[2],
52 int vtkNotUsed(noOfComponents),
53 unsigned int vtkNotUsed(numberOfLevels)) {}
58 unsigned int vtkNotUsed(
level)) {}
61 int vtkNotUsed(noOfComponents)) {}
76 void ComputeReductionFactor(
double allocatedTime);
82 ratio[0] = ratio[1] = ratio[2] = 1.0;
93 double ReductionFactor;
104 #endif // vtkOpenGLGPUVolumeRayCastMapper_h
virtual void GPURender(vtkRenderer *, vtkVolume *)
represents a volume (data & properties) in a rendered scene
abstract specification for renderers
virtual void PostRender(vtkRenderer *vtkNotUsed(ren), int vtkNotUsed(noOfComponents))
void GetReductionRatio(double *ratio)
window superclass for vtkRenderWindow
OpenGL subclass that draws the image to the screen.
a simple class to control print indentation
represents the common properties for rendering a volume.
create a window for renderers to draw into
virtual void PreRender(vtkRenderer *vtkNotUsed(ren), vtkVolume *vtkNotUsed(vol), double vtkNotUsed(datasetBounds)[6], double vtkNotUsed(scalarRange)[2], int vtkNotUsed(noOfComponents), unsigned int vtkNotUsed(numberOfLevels))
virtual int IsRenderSupported(vtkRenderWindow *vtkNotUsed(window), vtkVolumeProperty *vtkNotUsed(property))
void PrintSelf(ostream &os, vtkIndent indent)
void ReleaseGraphicsResources(vtkWindow *)
virtual void RenderBlock(vtkRenderer *vtkNotUsed(ren), vtkVolume *vtkNotUsed(vol), unsigned int vtkNotUsed(level))
Ray casting performed on the GPU.
static vtkGPUVolumeRayCastMapper * New()