VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/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 =========================================================================*/
00027 #ifndef vtkClearZPass_h
00028 #define vtkClearZPass_h
00029 
00030 #include "vtkRenderingOpenGLModule.h" // For export macro
00031 #include "vtkRenderPass.h"
00032 
00033 class vtkOpenGLRenderWindow;
00034 
00035 class VTKRENDERINGOPENGL_EXPORT vtkClearZPass : public vtkRenderPass
00036 {
00037 public:
00038   static vtkClearZPass *New();
00039   vtkTypeMacro(vtkClearZPass,vtkRenderPass);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00042   //BTX
00044 
00046   virtual void Render(const vtkRenderState *s);
00047   //ETX
00049 
00051 
00052   vtkSetClampMacro(Depth,double,0.0,1.0);
00053   vtkGetMacro(Depth,double);
00055 
00056  protected:
00058   vtkClearZPass();
00059 
00061   virtual ~vtkClearZPass();
00062 
00063   double Depth;
00064 
00065  private:
00066   vtkClearZPass(const vtkClearZPass&);  // Not implemented.
00067   void operator=(const vtkClearZPass&);  // Not implemented.
00068 };
00069 
00070 #endif