 |
VTK
9.1.0
|
Go to the documentation of this file.
102 #ifndef vtkOpenGLRenderer_h
103 #define vtkOpenGLRenderer_h
107 #include "vtkRenderingOpenGL2Module.h"
174 "Removed in 9.1.0 as this bug does not affect any macOS release that VTK supports")
175 bool HaveApplePrimitiveIdBug();
181 static
bool HaveAppleQueryAllocationBug();
188 bool IsDualDepthPeelingSupported();
196 const
char* GetLightingUniforms();
214 vtkGetMacro(LightingComplexity,
int);
217 vtkGetMacro(LightingCount,
int);
246 vtkSetMacro(UseSphericalHarmonics,
bool);
247 vtkGetMacro(UseSphericalHarmonics,
bool);
248 vtkBooleanMacro(UseSphericalHarmonics,
bool);
285 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
precompute prefilter texture used in physically based rendering
void Clear(void) override
Clear the image to the background color.
Implement Depth Peeling for use within a framebuffer pass.
vtkTexture * GetCurrentTexturedBackground()
Check and return the textured background for the current state If monocular or stereo left eye,...
vtkPBRLUTTexture * EnvMapLookupTable
dynamic, self-adjusting array of float
vtkOpenGLFXAAFilter * FXAAFilter
FXAA is delegated to an instance of vtkOpenGLFXAAFilter.
vtkPBRLUTTexture * GetEnvMapLookupTable()
Get environment textures used for image based lighting.
Implement a screen-space ambient occlusion pass.
int UpdateGeometry(vtkFrameBufferObjectBase *fbo=nullptr) override
Ask all props to update and draw any opaque and translucent geometry.
#define VTK_DEPRECATED_IN_9_1_0(reason)
void DeviceRenderTranslucentPolygonalGeometry(vtkFrameBufferObjectBase *fbo=nullptr) override
Render translucent polygonal geometry.
void SetEnvironmentTexture(vtkTexture *texture, bool isSRGB=false) override
Overriden in order to connect the texture to the environment map textures.
abstract interface to OpenGL FBOs
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
vtkMTimeType LightingUpdateTime
handles properties associated with a texture map
static vtkOpenGLRenderer * New()
vtkPBRPrefilterTexture * GetEnvMapPrefiltered()
Get environment textures used for image based lighting.
precompute irradiance texture used in physically based rendering
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.
int UpdateLights(void) override
Ask lights to load themselves into graphics pipeline.
Perform FXAA antialiasing on the current framebuffer.
OpenGL mapper for image slice display.
vtkPBRPrefilterTexture * EnvMapPrefiltered
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkFloatArray > SphericalHarmonics
int DepthPeelingHigherLayer
vtkSSAOPass * SSAOPass
SSAO is delegated to an instance of vtkSSAOPass.
vtkSmartPointer< vtkTransform > UserLightTransform
Optional user transform for lights.
abstract specification for renderers
void SetUserLightTransform(vtkTransform *transform)
Set the user light transform applied after the camera transform.
vtkTransform * GetUserLightTransform()
Set the user light transform applied after the camera transform.
precompute BRDF look-up table texture used in physically based rendering
vtkFloatArray * GetSphericalHarmonics()
Get spherical harmonics coefficients used for irradiance.
bool UseSphericalHarmonics
vtkOrderIndependentTranslucentPass * TranslucentPass
Fallback for transparency.
vtkPBRIrradianceTexture * GetEnvMapIrradiance()
Get environment textures used for image based lighting.
vtkPBRIrradianceTexture * EnvMapIrradiance
void DeviceRenderOpaqueGeometry(vtkFrameBufferObjectBase *fbo=nullptr) override
Overridden to support hidden line removal.
void DeviceRender(void) override
Concrete open gl render method.
void CheckCompilation(unsigned int fragmentShader)
Check the compilation status of some fragment shader source.
vtkShadowMapPass * ShadowMapPass
Shadows are delegated to an instance of vtkShadowMapPass.
vtkTypeUInt32 vtkMTimeType
Perform part of the rendering of a vtkRenderer.