VTK
vtkClearZPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkClearZPass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkClearZPass_h
25 #define vtkClearZPass_h
26 
27 #include "vtkRenderingOpenGL2Module.h" // For export macro
28 #include "vtkRenderPass.h"
29 
31 
32 class VTKRENDERINGOPENGL2_EXPORT vtkClearZPass : public vtkRenderPass
33 {
34 public:
35  static vtkClearZPass *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
39  //BTX
41 
43  virtual void Render(const vtkRenderState *s);
44  //ETX
46 
48 
49  vtkSetClampMacro(Depth,double,0.0,1.0);
50  vtkGetMacro(Depth,double);
52 
53  protected:
56 
58  virtual ~vtkClearZPass();
59 
60  double Depth;
61 
62  private:
63  vtkClearZPass(const vtkClearZPass&); // Not implemented.
64  void operator=(const vtkClearZPass&); // Not implemented.
65 };
66 
67 #endif
vtkClearZPass::vtkClearZPass
vtkClearZPass()
vtkClearZPass::~vtkClearZPass
virtual ~vtkClearZPass()
vtkRenderPass.h
vtkgl::s
GLdouble s
Definition: vtkgl.h:11594
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkClearZPass::Render
virtual void Render(const vtkRenderState *s)
vtkClearZPass::New
static vtkClearZPass * New()
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkClearZPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkClearZPass
Clear the depth buffer with a given value.
Definition: vtkClearZPass.h:36
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:41
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58