VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/OpenGL/vtkClearRGBPass.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkClearRGBPass.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 vtkClearRGBPass_h
00025 #define vtkClearRGBPass_h
00026 
00027 #include "vtkRenderingOpenGLModule.h" // For export macro
00028 #include "vtkRenderPass.h"
00029 
00030 class vtkOpenGLRenderWindow;
00031 
00032 class VTKRENDERINGOPENGL_EXPORT vtkClearRGBPass : public vtkRenderPass
00033 {
00034 public:
00035   static vtkClearRGBPass *New();
00036   vtkTypeMacro(vtkClearRGBPass,vtkRenderPass);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040   virtual void Render(const vtkRenderState *s);
00041 
00043 
00045   vtkSetVector3Macro(Background,double);
00046   vtkGetVector3Macro(Background,double);
00048 
00049  protected:
00051   vtkClearRGBPass();
00052 
00054   virtual ~vtkClearRGBPass();
00055 
00056   double Background[3];
00057 
00058  private:
00059   vtkClearRGBPass(const vtkClearRGBPass&);  // Not implemented.
00060   void operator=(const vtkClearRGBPass&);  // Not implemented.
00061 };
00062 
00063 #endif