VTK
vtkClearRGBPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkClearRGBPass.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 =========================================================================*/
24 #ifndef vtkClearRGBPass_h
25 #define vtkClearRGBPass_h
26 
27 #include "vtkRenderingOpenGL2Module.h" // For export macro
28 #include "vtkRenderPass.h"
29 
31 
33 {
34 public:
35  static vtkClearRGBPass *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40  virtual void Render(const vtkRenderState *s);
41 
43 
45  vtkSetVector3Macro(Background,double);
46  vtkGetVector3Macro(Background,double);
48 
49  protected:
52 
54  virtual ~vtkClearRGBPass();
55 
56  double Background[3];
57 
58  private:
59  vtkClearRGBPass(const vtkClearRGBPass&); // Not implemented.
60  void operator=(const vtkClearRGBPass&); // Not implemented.
61 };
62 
63 #endif
OpenGL rendering window.
#define VTKRENDERINGOPENGL2_EXPORT
Paint in the color buffer.
void PrintSelf(ostream &os, vtkIndent indent)
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void Render(const vtkRenderState *s)=0
static vtkObject * New()
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57