Go to the documentation of this file.
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;
174 int NoiseTextureSize[2];
181 #endif // vtkOpenGLGPUVolumeRayCastMapper_h
static vtkGPUVolumeRayCastMapper * New()
vtkGenericOpenGLResourceFreeCallback * ResourceCallback
virtual void GetDepthImage(vtkImageData *)
Low level API to export the depth texture as vtkImageData in RenderToImage mode.
represents a volume (data & properties) in a rendered scene
virtual void RenderBlock(vtkRenderer *vtkNotUsed(ren), vtkVolume *vtkNotUsed(vol), unsigned int vtkNotUsed(level))
virtual void PreRender(vtkRenderer *vtkNotUsed(ren), vtkVolume *vtkNotUsed(vol), double vtkNotUsed(datasetBounds)[6], double vtkNotUsed(scalarRange)[2], int vtkNotUsed(noOfComponents), unsigned int vtkNotUsed(numberOfLevels))
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
abstract interface for implicit functions
The ShaderProgram uses one or more Shader objects.
topologically and geometrically regular array of data
a simple class to control print indentation
abstracts an OpenGL texture object.
Ray casting performed on the GPU.
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.
virtual void GetColorImage(vtkImageData *)
Low level API to export the color texture as vtkImageData in RenderToImage mode.
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
void GetReductionRatio(double *ratio)
abstract specification for renderers
virtual void GPURender(vtkRenderer *, vtkVolume *)
Handled in the subclass - the actual render method.
create a window for renderers to draw into
virtual void PostRender(vtkRenderer *vtkNotUsed(ren), int vtkNotUsed(noOfComponents))
represents the common properties for rendering a volume.