29 #ifndef vtkToneMappingPass_h
30 #define vtkToneMappingPass_h
33 #include "vtkRenderingOpenGL2Module.h"
36 VTK_ABI_NAMESPACE_BEGIN
62 void SetGenericFilmicDefaultPresets();
63 void SetGenericFilmicUncharted2Presets();
83 vtkSetClampMacro(ToneMappingType,
int, 0, 4);
84 vtkGetMacro(ToneMappingType,
int);
92 vtkGetMacro(Exposure,
float);
93 vtkSetMacro(Exposure,
float);
102 vtkGetMacro(Contrast,
float);
111 vtkSetClampMacro(Shoulder,
float, 0.0001, 1.f);
112 vtkGetMacro(Shoulder,
float);
120 vtkSetClampMacro(MidIn,
float, 0.0001, 1.f);
121 vtkGetMacro(MidIn,
float);
129 vtkSetClampMacro(MidOut,
float, 0.0001, 1.f);
130 vtkGetMacro(MidOut,
float);
139 vtkGetMacro(HdrMax,
float);
147 vtkSetMacro(UseACES,
bool);
148 vtkGetMacro(UseACES,
bool);
164 int ToneMappingType = GenericFilmic;
165 float Exposure = 1.0;
170 float Contrast = 1.6773;
171 float Shoulder = 0.9714;
174 float HdrMax = 11.0785;
180 bool UseACESChangeValue =
true;
187 float ClippingPoint = 1.117427;
188 float ToeSpeed = 0.244676;
193 void PreComputeAnchorCurveGenericFilmic();
200 VTK_ABI_NAMESPACE_END
vtkTypeUInt32 vtkMTimeType
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Convenient class for post-processing passes.
window superclass for vtkRenderWindow
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
Class to make rendering a full screen quad easier.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Implement a post-processing Tone Mapping.