39 #ifndef vtkDepthPeelingPass_h
40 #define vtkDepthPeelingPass_h
42 #include "vtkRenderingOpenGLModule.h"
46 class vtkDepthPeelingPassLayerList;
78 virtual void SetTranslucentPass(
vtkRenderPass *translucentPass);
91 vtkSetClampMacro(OcclusionRatio,
double,0.0,0.5);
92 vtkGetMacro(OcclusionRatio,
double);
102 vtkGetMacro(MaximumNumberOfPeels,
int);
110 vtkGetMacro(LastRenderingUsedDepthPeeling,
bool);
141 void CheckCompilation(
unsigned int fragmentShader);
vtkRenderPass * TranslucentPass
Implement an Order Independent Transparency render pass.
int ViewportHeight
Cache viewport values for depth peeling.
record modification and/or execution time
int ViewportX
Cache viewport values for depth peeling.
unsigned int TransparentLayerZ
unsigned int DepthFormat
Actual depth format: vtkgl::DEPTH_COMPONENT16_ARB or vtkgl::DEPTH_COMPONENT24_ARB.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
bool LastRenderingUsedDepthPeeling
window superclass for vtkRenderWindow
double OcclusionRatio
In case of use of depth peeling technique for rendering translucent material, define the threshold un...
Context in which a vtkRenderPass will render.
a simple class to control print indentation
int DepthPeelingHigherLayer
int ViewportWidth
Cache viewport values for depth peeling.
unsigned int OpaqueLayerZ
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int MaximumNumberOfPeels
In case of depth peeling, define the maximum number of peeling layers.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
int ViewportY
Cache viewport values for depth peeling.
vtkDepthPeelingPassLayerList * LayerList
Used by the depth peeling technique to store the transparency layers.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.