Go to the documentation of this file.
23 #ifndef vtkOpenGLRenderer_h
24 #define vtkOpenGLRenderer_h
26 #include "vtkRenderingOpenGL2Module.h"
65 void Clear(
void)
override;
78 int GetDepthPeelingHigherLayer();
86 bool HaveApplePrimitiveIdBug();
92 static bool HaveAppleQueryAllocationBug();
99 bool IsDualDepthPeelingSupported();
107 const char *GetLightingUniforms();
124 vtkGetMacro(LightingComplexity,
int);
127 vtkGetMacro(LightingCount,
int);
136 void CheckCompilation(
unsigned int fragmentShader);
151 friend class vtkOpenGLImageResliceMapper;
std::string LightingDeclaration
Implement Depth Peeling for use within a framebuffer pass.
virtual void Clear()
Clear the image to the background color.
virtual int UpdateGeometry()
Ask all props to update and draw any opaque and translucent geometry.
virtual int UpdateLights(void)
Ask all lights to load themselves into rendering pipeline.
vtkOpenGLFXAAFilter * FXAAFilter
FXAA is delegated to an instance of vtkOpenGLFXAAFilter.
virtual void ReleaseGraphicsResources(vtkWindow *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDepthPeelingPass * DepthPeelingPass
Depth peeling is delegated to an instance of vtkDepthPeelingPass.
Implement a shadow mapping render pass.
window superclass for vtkRenderWindow
vtkMTimeType LightingUpdateTime
virtual void DeviceRenderOpaqueGeometry()
Render opaque polygonal geometry.
virtual void DeviceRenderTranslucentPolygonalGeometry()
Render translucent polygonal geometry.
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
abstracts an OpenGL texture object.
Perform FXAA antialiasing on the current framebuffer.
OpenGL mapper for image slice display.
virtual void DeviceRender()=0
Create an image.
bool HaveApplePrimitiveIdBugValue
int DepthPeelingHigherLayer
bool HaveApplePrimitiveIdBugChecked
abstract specification for renderers
static vtkRenderer * New()
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on,...
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
Perform part of the rendering of a vtkRenderer.