VTK  9.7.1
vtkClearRGBPass.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkClearRGBPass_h
14 #define vtkClearRGBPass_h
15 
16 #include "vtkRenderPass.h"
17 #include "vtkRenderingOpenGL2Module.h" // For export macro
18 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
19 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkClearRGBPass : public vtkRenderPass
24 {
25 public:
26  static vtkClearRGBPass* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
33  void Render(const vtkRenderState* s) override;
34 
36 
40  vtkSetVector3Macro(Background, double);
41  vtkGetVector3Macro(Background, double);
43 
44 protected:
49 
53  ~vtkClearRGBPass() override;
54 
55  double Background[3];
56 
57 private:
58  vtkClearRGBPass(const vtkClearRGBPass&) = delete;
59  void operator=(const vtkClearRGBPass&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
OpenGL rendering window.
Paint in the color buffer.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
#define VTK_MARSHALAUTO
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.