VTK  9.7.20261127
vtkOpenGLToneMappingPass.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
14#ifndef vtkOpenGLToneMappingPass_h
15#define vtkOpenGLToneMappingPass_h
16
17#include "vtkRenderingOpenGL2Module.h" // For export macro
18#include "vtkToneMappingPass.h"
19#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
20
21VTK_ABI_NAMESPACE_BEGIN
26
27class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkOpenGLToneMappingPass
28 : public vtkToneMappingPass
29{
30public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
40 void Render(const vtkRenderState* s) override;
41
46
47protected:
50
57
61 bool UseACESChangeValue = true;
62
63private:
65 void operator=(const vtkOpenGLToneMappingPass&) = delete;
66};
67
68#define vtkOpenGLToneMappingPass_OVERRIDE_ATTRIBUTES \
69 vtkOpenGLToneMappingPass::CreateOverrideAttributes()
70VTK_ABI_NAMESPACE_END
71#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
static vtkOverrideAttribute * CreateOverrideAttributes()
vtkOpenGLToneMappingPass()=default
static vtkOpenGLToneMappingPass * New()
void Render(const vtkRenderState *s) override
Perform rendering according to a render state.
~vtkOpenGLToneMappingPass() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool UseACESChangeValue
Used to recompile the shader if UseACES is modified.
Attribute for vtkObjectFactory overrides.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
vtkToneMappingPass()=default
window superclass for vtkRenderWindow
Definition vtkWindow.h:62
#define VTK_MARSHALAUTO
#define VTK_NEWINSTANCE