18 #include <osg/Texture2D>
19 #include <osg/ref_ptr>
21 #include <rapidjson/document.h>
55 virtual void slot_reloadShaders();
59 virtual void slot_enableHdrAutoExposureChanged(
bool val);
60 virtual void slot_enableHdrExposureCorrelationChanged(
bool val);
61 virtual void slot_enableHdrBloomChanged(
bool val);
62 virtual void slot_enableHdrStreaksChanged(
bool val);
63 virtual void slot_enableHdrLensFlareChanged(
double val);
64 virtual void slot_autoExposureRateScaleChanged(
double val);
65 virtual void slot_autoExposurePreScaleChanged(
double val);
66 virtual void slot_autoExposureMinDiffChanged(
double val);
67 virtual void slot_autoExposureMaxDiffChanged(
double val);
68 virtual void slot_autoExposureClampMinChanged(
double val);
69 virtual void slot_autoExposureClampMaxChanged(
double val);
70 virtual void slot_autoExposurePostScaleChanged(
double val);
71 virtual void slot_bloomScaleChanged(
double val);
72 virtual void slot_streakIntensityScaleChanged(
double val);
73 virtual void slot_numStreaksChanged(
int val);
74 virtual void slot_streaksLenScaleChanged(
double val);
75 virtual void slot_streakRotationOffsetChanged(
double val);
76 virtual void slot_lensFlareScaleChanged(
double val);
77 virtual void slot_gammaChanged(
double val);
78 virtual void slot_hdrResolutionScaleChanged(
int val);
85 virtual void setInputTexture(
const DtChannel* channel, osg::Texture* texture)
override;
91 virtual bool postProcessorEnabled()
override;
95 virtual void releaseGLObjects()
override;
103 int calcHdrRes(
int width,
int height,
int scale);
105 virtual bool effectItrEnabled(
const EffectMap::iterator& effect)
const override;
109 virtual void getJsonValue(
const rapidjson::Document& doc,
const std::string& name, std::string& value);
110 virtual void getJsonValue(
const rapidjson::Document& doc,
const std::string& name,
float& value);
111 virtual void getJsonValue(
const rapidjson::Document& doc,
const std::string& name,
int& value);
112 virtual void getJsonValue(
const rapidjson::Document& doc,
const std::string& name,
bool& value);
113 virtual void getJsonValue(
const rapidjson::Document& doc,
const std::string& name,
Vector4_32& value);
114 virtual void getHdrOptions(
int width,
int height,
DtHdrOptions& options);
146 bool myIsFirstChannel =
false;
post processor class that handles HDR post processing effects
Definition: DtHdrPostProcessor.h:34
int myViewHeight
Definition: DtHdrPostProcessor.h:139
DtPostProcessor * create(DtDe &de, const std::string &postProcessType)
Create an instance of DtPostProcessor.
DtPostProcessorCreator is the common base class for all post processor creators.
Definition: DtPostProcessor.h:232
This class provides the management of post processors and their post processing effects.
Definition: DtPostProcessManagerInterface.h:24
static std::atomic< int > theCount
Definition: DtHdrPostProcessor.h:148
DtHdrPostProcessorCreator()
CTOR.
DtSignalConnectionManager myConnections
Definition: DtHdrPostProcessor.h:144
structure to hold all the HDR settings so they can more easily be passed to the drawable.
Definition: DtHdrTypes.h:54
The abstract Channel Class.
Definition: DtChannel.h:35
osg::ref_ptr< osg::Texture > myLensFlareTexture
Definition: DtHdrPostProcessor.h:142
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
osg::ref_ptr< DtHdrDrawable > myHdrDrawable
Definition: DtHdrPostProcessor.h:141
virtual ~DtHdrPostProcessorCreator()
DTOR.
#define DT_DLL_VRVPOSTPROCESSOR
Definition: vrvPostProcessor.h:19
Definition: DtHdrPostProcessor.h:151
This file contains the declaration of the class DtHdrDrawable which is used for rendering HDR post pr...
int myViewWidth
Definition: DtHdrPostProcessor.h:138
int myViewY
Definition: DtHdrPostProcessor.h:137
Contains DLL export macros.
Base class to provide boost signal/slot management.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
int myViewX
Definition: DtHdrPostProcessor.h:136
This class provides the OSG-specific implementation of a post processor. A post processor has a type ...
Definition: DtPostProcessor.h:66