VTK  9.3.0
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
19VTK_ABI_NAMESPACE_BEGIN
21
22class VTKRENDERINGOPENGL2_EXPORT vtkClearRGBPass : public vtkRenderPass
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
32 void Render(const vtkRenderState* s) override;
33
35
39 vtkSetVector3Macro(Background, double);
40 vtkGetVector3Macro(Background, double);
42
43protected:
48
52 ~vtkClearRGBPass() override;
53
54 double Background[3];
55
56private:
57 vtkClearRGBPass(const vtkClearRGBPass&) = delete;
58 void operator=(const vtkClearRGBPass&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#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:29
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Context in which a vtkRenderPass will render.