VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL2/vtkClearZPass.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkClearZPass.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00024 #ifndef vtkClearZPass_h
00025 #define vtkClearZPass_h
00026 
00027 #include "vtkRenderingOpenGL2Module.h" // For export macro
00028 #include "vtkRenderPass.h"
00029 
00030 class vtkOpenGLRenderWindow;
00031 
00032 class VTKRENDERINGOPENGL2_EXPORT vtkClearZPass : public vtkRenderPass
00033 {
00034 public:
00035   static vtkClearZPass *New();
00036   vtkTypeMacro(vtkClearZPass,vtkRenderPass);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00039   //BTX
00041 
00043   virtual void Render(const vtkRenderState *s);
00044   //ETX
00046 
00048 
00049   vtkSetClampMacro(Depth,double,0.0,1.0);
00050   vtkGetMacro(Depth,double);
00052 
00053  protected:
00055   vtkClearZPass();
00056 
00058   virtual ~vtkClearZPass();
00059 
00060   double Depth;
00061 
00062  private:
00063   vtkClearZPass(const vtkClearZPass&);  // Not implemented.
00064   void operator=(const vtkClearZPass&);  // Not implemented.
00065 };
00066 
00067 #endif