Go to the documentation of this file.
26 #ifndef vtkOpenGLRenderer_h
27 #define vtkOpenGLRenderer_h
29 #include "vtkRenderingOpenGLModule.h"
32 class vtkOpenGLRendererLayerList;
109 virtual int GetPickedIds(
unsigned int atMost,
unsigned int *callerBuffer);
129 friend class vtkOpenGLImageResliceMapper;
int RenderPeel(int layer)
Render a peel layer.
int GetDepthPeelingHigherLayer()
Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the f...
class vtkGLPickInfo * PickInfo
virtual unsigned int GetNumPickedIds()
virtual void DevicePickRender()
virtual int GetPickedIds(unsigned int atMost, unsigned int *callerBuffer)
unsigned int DepthFormat
Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.
virtual double GetPickedZ()
Return the Z value for the last picked Prop.
unsigned int ProgramShader
virtual unsigned int GetPickedId()
virtual void SetShaderProgram(vtkShaderProgram2 *program)
vtkOpenGLRendererLayerList * LayerList
Used by the depth peeling technique to store the transparency layers.
window superclass for vtkRenderWindow
int DepthPeelingIsSupportedChecked
This flag is on once the OpenGL extensions required by the depth peeling technique have been checked.
void DeviceRender(void)
Concrete open gl render method.
virtual void DeviceRenderOpaqueGeometry()
Overridden to support hidden line removal.
static vtkOpenGLRenderer * New()
virtual void Clear(void)
Clear the image to the background color.
int ViewportX
Cache viewport values for depth peeling.
a simple class to control print indentation
virtual void StartPick(unsigned int pickFromSize)
virtual void ClearLights(void)
Internal method temporarily removes lights before reloading them into graphics pipeline.
OpenGL mapper for image slice display.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
unsigned int OpaqueLayerZ
int GetUseTextureUniformVariable()
Access to the OpenGL program shader uniform variable "useTexture" from the vtkOpenGLProperty or vtkOp...
int DepthPeelingHigherLayer
abstract specification for renderers
unsigned int TransparentLayerZ
virtual void ReleaseGraphicsResources(vtkWindow *w)
vtkShaderProgram2 * ShaderProgram
int GetTextureUniformVariable()
Access to the OpenGL program shader uniform variable "texture" from the vtkOpenGLProperty or vtkOpenG...
virtual void UpdatePickId()
int UpdateLights(void)
Ask lights to load themselves into graphics pipeline.
void CheckCompilation(unsigned int fragmentShader)
Check the compilation status of some fragment shader source.
int DepthPeelingIsSupported
This flag is on if the current OpenGL context supports extensions required by the depth peeling techn...
Perform part of the rendering of a vtkRenderer.
virtual void DeviceRenderTranslucentPolygonalGeometry()
Render translucent polygonal geometry.