Go to the documentation of this file.
23 #ifndef vtkOpenGLRenderer_h
24 #define vtkOpenGLRenderer_h
26 #include "vtkRenderingOpenGLModule.h"
29 class vtkOpenGLRendererLayerList;
64 virtual void Clear(
void);
77 int GetDepthPeelingHigherLayer();
94 void CheckCompilation(
unsigned int fragmentShader);
101 virtual void StartPick(
unsigned int pickFromSize);
106 virtual int GetPickedIds(
unsigned int atMost,
unsigned int *callerBuffer);
121 int RenderPeel(
int layer);
126 friend class vtkOpenGLImageResliceMapper;
132 int GetUseTextureUniformVariable();
138 int GetTextureUniformVariable();
class vtkGLPickInfo * PickInfo
virtual void Clear()
Clear the image to the background color.
virtual int UpdateLights(void)
Ask all lights to load themselves into rendering pipeline.
virtual double GetPickedZ()=0
Return the Z value for the last picked Prop.
unsigned int DepthFormat
Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.
virtual int GetPickedIds(unsigned int atMost, unsigned int *callerBuffer)=0
virtual void ClearLights(void)
Internal method temporarily removes lights before reloading them into graphics pipeline.
virtual void ReleaseGraphicsResources(vtkWindow *)
unsigned int ProgramShader
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.
virtual void DeviceRenderOpaqueGeometry()
Render opaque polygonal geometry.
virtual void UpdatePickId()=0
virtual void DeviceRenderTranslucentPolygonalGeometry()
Render translucent polygonal geometry.
int ViewportX
Cache viewport values for depth peeling.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual void StartPick(unsigned int pickFromSize)=0
OpenGL mapper for image slice display.
virtual void DeviceRender()=0
Create an image.
unsigned int OpaqueLayerZ
int DepthPeelingHigherLayer
virtual unsigned int GetNumPickedIds()=0
abstract specification for renderers
virtual void DonePick()=0
unsigned int TransparentLayerZ
virtual void DevicePickRender()=0
virtual unsigned int GetPickedId()=0
static vtkRenderer * New()
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on,...
vtkShaderProgram2 * ShaderProgram
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.