68 #ifndef vtkToneMappingPass_h
69 #define vtkToneMappingPass_h
72 #include "vtkRenderingOpenGL2Module.h"
74 VTK_ABI_NAMESPACE_BEGIN
120 vtkSetClampMacro(ToneMappingType,
int, 0, 3);
121 vtkGetMacro(ToneMappingType,
int);
129 vtkGetMacro(Exposure,
float);
130 vtkSetMacro(Exposure,
float);
139 vtkGetMacro(Contrast,
float);
148 vtkSetClampMacro(Shoulder,
float, 0.0001, 1.f);
149 vtkGetMacro(Shoulder,
float);
157 vtkSetClampMacro(MidIn,
float, 0.0001, 1.f);
158 vtkGetMacro(MidIn,
float);
166 vtkSetClampMacro(MidOut,
float, 0.0001, 1.f);
167 vtkGetMacro(MidOut,
float);
176 vtkGetMacro(HdrMax,
float);
184 vtkSetMacro(UseACES,
bool);
185 vtkGetMacro(UseACES,
bool);
201 int ToneMappingType = GenericFilmic;
202 float Exposure = 1.0;
207 float Contrast = 1.6773;
208 float Shoulder = 0.9714;
211 float HdrMax = 11.0785;
217 bool UseACESChangeValue =
true;
224 float ClippingPoint = 1.117427;
225 float ToeSpeed = 0.244676;
237 VTK_ABI_NAMESPACE_END
Convenient class for post-processing passes.
a simple class to control print indentation
Internal class which encapsulates OpenGL FramebufferObject.
Class to make rendering a full screen quad easier.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
Implement a post-processing Tone Mapping.
~vtkToneMappingPass() override
void Render(const vtkRenderState *s) override
Perform rendering according to a render state.
void PreComputeAnchorCurveGenericFilmic()
Pre compute ClippingPoint and ToeSpeed.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkToneMappingPass()=default
void SetGenericFilmicDefaultPresets()
Set function to set uncharted 2 presets, and default presets.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
static vtkToneMappingPass * New()
void SetGenericFilmicUncharted2Presets()
Set function to set uncharted 2 presets, and default presets.
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType