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