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 =========================================================================*/
27 #ifndef __vtkClearZPass_h
28 #define __vtkClearZPass_h
29 
30 #include "vtkRenderPass.h"
31 
33 
35 {
36 public:
37  static vtkClearZPass *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
41  //BTX
43 
45  virtual void Render(const vtkRenderState *s);
46  //ETX
48 
50 
51  vtkSetClampMacro(Depth,double,0.0,1.0);
52  vtkGetMacro(Depth,double);
54 
55  protected:
57  vtkClearZPass();
58 
60  virtual ~vtkClearZPass();
61 
62  double Depth;
63 
64  private:
65  vtkClearZPass(const vtkClearZPass&); // Not implemented.
66  void operator=(const vtkClearZPass&); // Not implemented.
67 };
68 
69 #endif
OpenGL rendering window.
Clear the depth buffer with a given value.
Definition: vtkClearZPass.h:34
void PrintSelf(ostream &os, vtkIndent indent)
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_RENDERING_EXPORT
virtual void Render(const vtkRenderState *s)=0
static vtkObject * New()
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:53