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;
Implement Depth Peeling for use within a framebuffer pass.
virtual void ReleaseGraphicsResources(vtkWindow *)
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
std::string LightingDeclaration
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.
abstract specification for renderers
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
OpenGL mapper for image slice display.
window superclass for vtkRenderWindow
vtkOpenGLFXAAFilter * FXAAFilter
FXAA is delegated to an instance of vtkOpenGLFXAAFilter.
int DepthPeelingHigherLayer
virtual void DeviceRender()=0
Create an image.
a simple class to control print indentation
virtual void DeviceRenderTranslucentPolygonalGeometry()
Render translucent polygonal geometry.
bool HaveApplePrimitiveIdBugValue
virtual void DeviceRenderOpaqueGeometry()
Render opaque polygonal geometry.
vtkDepthPeelingPass * DepthPeelingPass
Depth peeling is delegated to an instance of vtkDepthPeelingPass.
vtkMTimeType LightingUpdateTime
abstracts an OpenGL texture object.
static vtkRenderer * New()
Create a vtkRenderer with a black background, a white ambient light, two-sided lighting turned on,...
Implement a shadow mapping render pass.
Perform FXAA antialiasing on the current framebuffer.
Perform part of the rendering of a vtkRenderer.
bool HaveApplePrimitiveIdBugChecked
virtual void Clear()
Clear the image to the background color.
The ShaderProgram uses one or more Shader objects.