Go to the documentation of this file.
26 #ifndef vtkOpenGLRenderer_h
27 #define vtkOpenGLRenderer_h
29 #include "vtkRenderingOpenGL2Module.h"
129 vtkGetMacro(LightingComplexity,
int);
132 vtkGetMacro(LightingCount,
int);
169 friend class vtkOpenGLImageResliceMapper;
~vtkOpenGLRenderer() override
int GetDepthPeelingHigherLayer()
Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the f...
std::string LightingDeclaration
void Clear(void) override
Clear the image to the background color.
Implement Depth Peeling for use within a framebuffer pass.
static bool HaveAppleQueryAllocationBug()
Indicate if this system is subject to the apple/NVIDIA bug that causes crashes in the driver when too...
vtkTexture * GetCurrentTexturedBackground()
Check and return the textured background for the current state If monocular or stereo left eye,...
vtkOpenGLFXAAFilter * FXAAFilter
FXAA is delegated to an instance of vtkOpenGLFXAAFilter.
bool IsDualDepthPeelingSupported()
Dual depth peeling may be disabled for certain runtime configurations.
vtkDepthPeelingPass * DepthPeelingPass
Depth peeling is delegated to an instance of vtkDepthPeelingPass.
Implement a shadow mapping render pass.
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *w) override
void UpdateLightingUniforms(vtkShaderProgram *prog)
vtkMTimeType LightingUpdateTime
bool HaveApplePrimitiveIdBug()
Indicate if this system is subject to the Apple/AMD bug of not having a working glPrimitiveId <rdar:/...
handles properties associated with a texture map
static vtkOpenGLRenderer * New()
Implement OIT rendering using average color.
The ShaderProgram uses one or more Shader objects.
int UpdateGeometry() override
Ask all props to update and draw any opaque and translucent geometry.
a simple class to control print indentation
abstracts an OpenGL texture object.
int UpdateLights(void) override
Ask lights to load themselves into graphics pipeline.
Perform FXAA antialiasing on the current framebuffer.
void DeviceRenderTranslucentPolygonalGeometry() override
Render translucent polygonal geometry.
OpenGL mapper for image slice display.
const char * GetLightingUniforms()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool HaveApplePrimitiveIdBugValue
int DepthPeelingHigherLayer
vtkSmartPointer< vtkTransform > UserLightTransform
Optional user transform for lights.
bool HaveApplePrimitiveIdBugChecked
abstract specification for renderers
void SetUserLightTransform(vtkTransform *transform)
Set the user light transform applied after the camera transform.
vtkOrderIndependentTranslucentPass * TranslucentPass
Fallback for transparency.
vtkOpenGLState * GetState()
void DeviceRender(void) override
Concrete open gl render method.
void CheckCompilation(unsigned int fragmentShader)
Check the compilation status of some fragment shader source.
void DeviceRenderOpaqueGeometry() override
Overridden to support hidden line removal.
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
Perform part of the rendering of a vtkRenderer.