44 #ifndef vtkDepthPeelingPass_h
45 #define vtkDepthPeelingPass_h
47 #include "vtkRenderingOpenGL2Module.h"
97 vtkSetClampMacro(OcclusionRatio,
double,0.0,0.5);
98 vtkGetMacro(OcclusionRatio,
double);
108 vtkGetMacro(MaximumNumberOfPeels,
int);
162 double OcclusionRatio;
169 int MaximumNumberOfPeels;
175 int DepthPeelingHigherLayer;
abstract class specifies interface to map data
Implement an Order Independent Transparency render pass.
virtual void SetTranslucentPass(vtkRenderPass *translucentPass)
vtkDepthPeelingPass()
Default constructor.
void BlendFinalPeel(vtkOpenGLRenderWindow *renWin)
std::vector< float > * DepthZData
static vtkDepthPeelingPass * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTextureObject * OpaqueZTexture
vtkOpenGLHelper * IntermediateBlendProgram
vtkTextureObject * CurrentRGBATexture
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkTextureObject * TranslucentRGBATexture
vtkTextureObject * OpaqueRGBATexture
virtual bool ReplaceShaderValues(std::string &vertexShader, std::string &geometryShader, std::string &fragmentShader, vtkAbstractMapper *mapper, vtkProp *prop)
Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the f...
virtual ~vtkDepthPeelingPass()
Destructor.
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
vtkTextureObject * TranslucentZTexture
void BlendIntermediatePeels(vtkOpenGLRenderWindow *renWin, bool)
virtual bool SetShaderParameters(vtkShaderProgram *program, vtkAbstractMapper *mapper, vtkProp *prop)
Update the uniforms of the shader program.
vtkOpenGLHelper * FinalBlendProgram
a simple class to control print indentation
Abstract render pass with shader modifications.
abstract superclass for all actors, volumes and annotations
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
The ShaderProgram uses one or more Shader objects.
abstracts an OpenGL texture object.
record modification and/or execution time
window superclass for vtkRenderWindow
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.