16 #ifndef vtkOpenGLGPUVolumeRayCastMapper_h
17 #define vtkOpenGLGPUVolumeRayCastMapper_h
19 #include "vtkRenderingVolumeOpenGL2Module.h"
75 vtkGetMacro(CurrentPass,
int);
85 vtkSetVector2Macro(NoiseTextureSize,
int);
102 int independentComponents);
112 double vtkNotUsed(datasetBounds)[6],
113 double vtkNotUsed(scalarRange)[2],
114 int vtkNotUsed(noOfComponents),
115 unsigned int vtkNotUsed(numberOfLevels)) {};
120 unsigned int vtkNotUsed(
level)) {}
123 int vtkNotUsed(noOfComponents)) {}
137 int independentComponents);
148 void ComputeReductionFactor(
double allocatedTime);
154 ratio[0] = ratio[1] = ratio[2] = 1.0;
166 double ReductionFactor;
174 int NoiseTextureSize[2];
181 #endif // vtkOpenGLGPUVolumeRayCastMapper_h
abstract interface for implicit functions
virtual void GPURender(vtkRenderer *, vtkVolume *)
Handled in the subclass - the actual render method.
represents a volume (data & properties) in a rendered scene
vtkGenericOpenGLResourceFreeCallback * ResourceCallback
virtual void GetDepthImage(vtkImageData *)
Low level API to export the depth texture as vtkImageData in RenderToImage mode.
virtual void GetColorImage(vtkImageData *)
Low level API to export the color texture as vtkImageData in RenderToImage mode.
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
topologically and geometrically regular array of data
represents the common properties for rendering a volume.
abstracts an OpenGL texture object.
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))
Based on hardware and properties, we may or may not be able to render using 3D texture mapping...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
virtual void RenderBlock(vtkRenderer *vtkNotUsed(ren), vtkVolume *vtkNotUsed(vol), unsigned int vtkNotUsed(level))
Ray casting performed on the GPU.
static vtkGPUVolumeRayCastMapper * New()
The ShaderProgram uses one or more Shader objects.