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