Go to the documentation of this file.
59 #ifndef vtkEDLShading_h
60 #define vtkEDLShading_h
62 #define EDL_HIGH_RESOLUTION_ON 1
63 #define EDL_LOW_RESOLUTION_ON 1
66 #include "vtkRenderingOpenGL2Module.h"
165 float EDLNeighbours[8][4];
Convenient class for post-processing passes. Based on vtkImageProcessingPass, but writes depth as wel...
bool EDLBlurLow(vtkRenderState &s, vtkOpenGLRenderWindow *)
Render EDL in middle resolution buffer.
vtkOpenGLHelper EDLComposeProgram
vtkOpenGLFramebufferObject * EDLLowFBO
vtkTextureObject * ProjectionColorTexture
vtkEDLShading()
Default constructor.
vtkOpenGLFramebufferObject * EDLHighFBO
Internal class which encapsulates OpenGL FramebufferObject.
vtkTextureObject * ProjectionDepthTexture
~vtkEDLShading() override
Destructor.
vtkOpenGLHelper EDLShadeProgram
bool EDLCompose(const vtkRenderState *s, vtkOpenGLRenderWindow *)
Compose color and shaded images.
bool EDLShadeLow(vtkRenderState &s, vtkOpenGLRenderWindow *)
Render EDL in middle resolution buffer.
window superclass for vtkRenderWindow
vtkTextureObject * EDLHighShadeTexture
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool EDLShadeHigh(vtkRenderState &s, vtkOpenGLRenderWindow *)
Render EDL in full resolution buffer.
a simple class to control print indentation
abstracts an OpenGL texture object.
void EDLInitializeFramebuffers(vtkRenderState &s)
Initialization of required framebuffer objects.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
void EDLInitializeShaders(vtkOpenGLRenderWindow *)
Initialization of required GLSL shaders.
vtkOpenGLHelper BilateralProgram
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
static vtkEDLShading * New()
Context in which a vtkRenderPass will render.
vtkOpenGLFramebufferObject * ProjectionFBO
Framebuffer object and textures for initial projection.
vtkTextureObject * EDLLowBlurTexture
vtkTextureObject * EDLLowShadeTexture