Go to the documentation of this file.
26 #ifndef vtkOpenGLRenderer_h
27 #define vtkOpenGLRenderer_h
29 #include "vtkRenderingOpenGL2Module.h"
70 void Clear(
void)
override;
83 int GetDepthPeelingHigherLayer();
91 bool HaveApplePrimitiveIdBug();
97 static bool HaveAppleQueryAllocationBug();
104 bool IsDualDepthPeelingSupported();
112 const char *GetLightingUniforms();
129 vtkGetMacro(LightingComplexity,
int);
132 vtkGetMacro(LightingCount,
int);
147 void CheckCompilation(
unsigned int fragmentShader);
169 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
handles properties associated with a texture map
virtual void DeviceRenderOpaqueGeometry()
Render opaque polygonal geometry.
virtual void DeviceRenderTranslucentPolygonalGeometry()
Render translucent polygonal geometry.
Implement OIT rendering using average color.
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
vtkSmartPointer< vtkTransform > UserLightTransform
Optional user transform for lights.
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,...
vtkOrderIndependentTranslucentPass * TranslucentPass
Fallback for transparency.
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
Perform part of the rendering of a vtkRenderer.