Go to the documentation of this file.
39 #ifndef vtkDepthPeelingPass_h
40 #define vtkDepthPeelingPass_h
42 #include "vtkRenderingOpenGLModule.h"
46 class vtkDepthPeelingPassLayerList;
91 vtkSetClampMacro(OcclusionRatio,
double,0.0,0.5);
92 vtkGetMacro(OcclusionRatio,
double);
102 vtkGetMacro(MaximumNumberOfPeels,
int);
110 vtkGetMacro(LastRenderingUsedDepthPeeling,
bool);
void CheckCompilation(unsigned int fragmentShader)
Check the compilation status of some fragment shader source.
vtkRenderPass * TranslucentPass
static vtkDepthPeelingPass * New()
Implement an Order Independent Transparency render pass.
virtual ~vtkDepthPeelingPass()
Destructor.
void CheckSupport(vtkOpenGLRenderWindow *w)
Check if depth peeling is supported by the current OpenGL context.
record modification and/or execution time
unsigned int DepthFormat
Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.
vtkDepthPeelingPass()
Is rendering at translucent geometry stage using depth peeling and rendering a layer other than the f...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
unsigned int TransparentLayerZ
int RenderPeel(const vtkRenderState *s, int layer)
Render a peel layer.
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
window superclass for vtkRenderWindow
a simple class to control print indentation
int DepthPeelingHigherLayer
unsigned int OpaqueLayerZ
vtkDepthPeelingPassLayerList * LayerList
Used by the depth peeling technique to store the transparency layers.
int ViewportX
Cache viewport values for depth peeling.
bool LastRenderingUsedDepthPeeling
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
Context in which a vtkRenderPass will render.
virtual void SetTranslucentPass(vtkRenderPass *translucentPass)
int MaximumNumberOfPeels
In case of depth peeling, define the maximum number of peeling layers.
double OcclusionRatio
In case of use of depth peeling technique for rendering translucent material, define the threshold un...
Perform part of the rendering of a vtkRenderer.