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