VTK
dox/Rendering/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 "vtkRenderPass.h"
00031 
00032 class vtkOpenGLRenderWindow;
00033 
00034 class VTK_RENDERING_EXPORT vtkClearZPass : public vtkRenderPass
00035 {
00036 public:
00037   static vtkClearZPass *New();
00038   vtkTypeMacro(vtkClearZPass,vtkRenderPass);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00041   //BTX
00043 
00045   virtual void Render(const vtkRenderState *s);
00046   //ETX
00048   
00050 
00051   vtkSetClampMacro(Depth,double,0.0,1.0);
00052   vtkGetMacro(Depth,double);
00054   
00055  protected:
00057   vtkClearZPass();
00058 
00060   virtual ~vtkClearZPass();
00061   
00062   double Depth;
00063   
00064  private:
00065   vtkClearZPass(const vtkClearZPass&);  // Not implemented.
00066   void operator=(const vtkClearZPass&);  // Not implemented.
00067 };
00068 
00069 #endif