14 #ifndef vtkOpenGLRenderer_h
15 #define vtkOpenGLRenderer_h
23 #include "vtkRenderingOpenGL2Module.h"
28 VTK_ABI_NAMESPACE_BEGIN
74 void Clear()
override;
87 int GetDepthPeelingHigherLayer();
93 static bool HaveAppleQueryAllocationBug();
100 bool IsDualDepthPeelingSupported();
108 const char* GetLightingUniforms();
126 vtkGetMacro(LightingComplexity,
int);
129 vtkGetMacro(LightingCount,
int);
161 vtkSetMacro(UseSphericalHarmonics,
bool);
162 vtkGetMacro(UseSphericalHarmonics,
bool);
163 vtkBooleanMacro(UseSphericalHarmonics,
bool);
192 void CheckCompilation(
unsigned int fragmentShader);
211 friend class vtkOpenGLImageResliceMapper;
278 #define vtkOpenGLRenderer_OVERRIDE_ATTRIBUTES vtkOpenGLRenderer::CreateOverrideAttributes()
279 VTK_ABI_NAMESPACE_END
vtkSmartPointer< vtkTexturedActor2D > BackgroundTextureActor
Implement Depth Peeling for use within a framebuffer pass.
Attribute for vtkObjectFactory overrides.
vtkSmartPointer< vtkPBRIrradianceTexture > EnvMapIrradiance
Implement a screen-space ambient occlusion pass.
virtual void ReleaseGraphicsResources(vtkWindow *)
actor that draws 2D data with texture support
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
bool UseSphericalHarmonics
std::string LightingDeclaration
dynamic, self-adjusting array of float
abstract specification for renderers
vtkSmartPointer< vtkPBRPrefilterTexture > EnvMapPrefiltered
virtual void SetEnvironmentTexture(vtkTexture *texture, bool isSRGB=false)
Set/Get the environment texture used for image based lighting.
vtkSmartPointer< vtkPolyDataMapper2D > BackgroundMapper
concrete dataset represents vertices, lines, polygons, and triangle strips
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Implement the camera render pass.
vtkSmartPointer< vtkPBRLUTTexture > EnvMapLookupTable
OpenGL mapper for image slice display.
window superclass for vtkRenderWindow
vtkOpenGLFXAAFilter * FXAAFilter
FXAA is delegated to an instance of vtkOpenGLFXAAFilter.
vtkSmartPointer< vtkFloatArray > SphericalHarmonics
int DepthPeelingHigherLayer
vtkSmartPointer< vtkPolyData > BackgroundQuad
abstract interface to OpenGL FBOs
a simple class to control print indentation
Screen space render pass that blur a given image using the hexagonal bokeh method.
precompute prefilter texture used in physically based rendering
vtkSmartPointer< vtkTransform > UserLightTransform
Optional user transform for lights.
virtual int UpdateLights()
Ask all lights to load themselves into rendering pipeline.
handles properties associated with a texture map
vtkDepthPeelingPass * DepthPeelingPass
Depth peeling is delegated to an instance of vtkDepthPeelingPass.
virtual int UpdateGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Ask all props to update and draw any opaque and translucent geometry.
precompute BRDF look-up table texture used in physically based rendering
vtkMTimeType LightingUpdateTime
abstracts an OpenGL texture object.
vtkOrderIndependentTranslucentPass * TranslucentPass
Fallback for transparency.
virtual void DeviceRender()
Create an image.
virtual void DeviceRenderTranslucentPolygonalGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Render translucent polygonal geometry.
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.
vtkSSAOPass * SSAOPass
SSAO is delegated to an instance of vtkSSAOPass.
Perform part of the rendering of a vtkRenderer.
virtual void DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase *fbo=nullptr)
Render opaque polygonal geometry.
vtkSmartPointer< vtkTexturedActor2D > BackgroundGradientActor
draw vtkPolyData onto the image plane
precompute irradiance texture used in physically based rendering
Implement OIT rendering using average color.
virtual void Clear()
Clear the image to the background color.
The ShaderProgram uses one or more Shader objects.