26#ifndef vtkOrderIndependentTranslucentPass_h
27#define vtkOrderIndependentTranslucentPass_h
30#include "vtkRenderingOpenGL2Module.h"
abstract class specifies interface to map data
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
Abstract render pass with shader modifications.
Implement OIT rendering using average color.
vtkOpenGLFramebufferObject * Framebuffer
bool PostReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop) override
Use vtkShaderProgram::Substitute to replace.
vtkTextureObject * TranslucentZTexture
vtkOrderIndependentTranslucentPass()
Default constructor.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
int ViewportX
Cache viewport values for depth peeling.
vtkRenderPass * TranslucentPass
int ViewportWidth
Cache viewport values for depth peeling.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextureObject * TranslucentRGBATexture
int ViewportY
Cache viewport values for depth peeling.
vtkOpenGLQuadHelper * FinalBlend
vtkTextureObject * TranslucentRTexture
void BlendFinalPeel(vtkOpenGLRenderWindow *renWin)
virtual void SetTranslucentPass(vtkRenderPass *translucentPass)
Delegate for rendering the translucent polygonal geometry.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
~vtkOrderIndependentTranslucentPass() override
Destructor.
int ViewportHeight
Cache viewport values for depth peeling.
static vtkOrderIndependentTranslucentPass * New()
abstract superclass for all actors, volumes and annotations
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow