41 #ifndef vtkToneMappingPass_h
42 #define vtkToneMappingPass_h
45 #include "vtkRenderingOpenGL2Module.h"
72 void SetGenericFilmicDefaultPresets();
73 void SetGenericFilmicUncharted2Presets();
92 vtkSetClampMacro(ToneMappingType,
int, 0, 3);
93 vtkGetMacro(ToneMappingType,
int);
101 vtkGetMacro(Exposure,
float);
102 vtkSetMacro(Exposure,
float);
111 vtkGetMacro(Contrast,
float);
120 vtkSetClampMacro(Shoulder,
float, 0.0001, 1.f);
121 vtkGetMacro(Shoulder,
float);
129 vtkSetClampMacro(MidIn,
float, 0.0001, 1.f);
130 vtkGetMacro(MidIn,
float);
138 vtkSetClampMacro(MidOut,
float, 0.0001, 1.f);
139 vtkGetMacro(MidOut,
float);
148 vtkGetMacro(HdrMax,
float);
156 vtkSetMacro(UseACES,
bool);
157 vtkGetMacro(UseACES,
bool);
173 int ToneMappingType = GenericFilmic;
174 float Exposure = 1.0;
179 float Contrast = 1.6773;
180 float Shoulder = 0.9714;
183 float HdrMax = 11.0785;
189 bool UseACESChangeValue =
true;
196 float ClippingPoint = 1.117427;
197 float ToeSpeed = 0.244676;
202 void PreComputeAnchorCurveGenericFilmic();
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.