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 
32 class VTKRENDERINGOPENGL2_EXPORT vtkClearRGBPass : public vtkRenderPass
33 {
34 public:
35  static vtkClearRGBPass *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40  virtual void Render(const vtkRenderState *s);
41 
43 
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
vtkClearRGBPass::~vtkClearRGBPass
virtual ~vtkClearRGBPass()
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkRenderPass.h
vtkClearRGBPass
Paint in the color buffer.
Definition: vtkClearRGBPass.h:33
vtkgl::s
GLdouble s
Definition: vtkgl.h:11594
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkClearRGBPass::New
static vtkClearRGBPass * New()
vtkClearRGBPass::vtkClearRGBPass
vtkClearRGBPass()
vtkClearRGBPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGetVector3Macro
#define vtkGetVector3Macro(name, type)
Definition: vtkSetGet.h:304
vtkX3D::Background
@ Background
Definition: vtkX3D.h:71
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkClearRGBPass::Render
virtual void Render(const vtkRenderState *s)
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:41
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:58