VTK  9.4.20250210
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
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkClearRGBPass : public vtkRenderPass
24{
25public:
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
44protected:
49
53 ~vtkClearRGBPass() override;
54
55 double Background[3];
56
57private:
58 vtkClearRGBPass(const vtkClearRGBPass&) = delete;
59 void operator=(const vtkClearRGBPass&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
Paint in the color buffer.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkClearRGBPass * New()
~vtkClearRGBPass() override
Destructor.
vtkClearRGBPass()
Default constructor.
a simple class to control print indentation
Definition vtkIndent.h:108
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.
#define VTK_MARSHALAUTO