|
| | DtHdrPostProcessor (DtDe &de) |
| | constructor which sets up the myDe object More...
|
| |
| virtual | ~DtHdrPostProcessor () |
| | destructor More...
|
| |
| virtual void | slot_reloadShaders () |
| | slot for handling when the shaders are reloaded which recreates the Drawable More...
|
| |
| virtual bool | update (DtChannel *channel) |
| | update function which makes sure the drawable is created and enabled when appropriate. More...
|
| |
| virtual void | setInputTexture (const DtChannel *channel, osg::Texture *texture) override |
| | overrides the base class call so the input texture can be passed to the drawable. More...
|
| |
virtual osg::ref_ptr
< osg::Texture > | inputTexture () |
| | getter for the input texture More...
|
| |
| virtual bool | postProcessorEnabled () const |
| | override the base function with the shared state enableHdr More...
|
| |
| virtual void | releaseGLObjects () override |
| | cleanup any graphics related stuff when the last window is removed since the graphics context will soon be destroyed. More...
|
| |
|
| virtual void | slot_enableHdrAutoExposureChanged (bool val) |
| |
| virtual void | slot_enableHdrExposureCorrelationChanged (bool val) |
| |
| virtual void | slot_enableHdrBloomChanged (bool val) |
| |
| virtual void | slot_enableHdrStreaksChanged (bool val) |
| |
| virtual void | slot_enableHdrLensFlareChanged (double val) |
| |
| virtual void | slot_autoExposureRateScaleChanged (double val) |
| |
| virtual void | slot_autoExposurePreScaleChanged (double val) |
| |
| virtual void | slot_autoExposureMinDiffChanged (double val) |
| |
| virtual void | slot_autoExposureMaxDiffChanged (double val) |
| |
| virtual void | slot_autoExposureClampMinChanged (double val) |
| |
| virtual void | slot_autoExposureClampMaxChanged (double val) |
| |
| virtual void | slot_autoExposurePostScaleChanged (double val) |
| |
| virtual void | slot_bloomScaleChanged (double val) |
| |
| virtual void | slot_streakIntensityScaleChanged (double val) |
| |
| virtual void | slot_numStreaksChanged (int val) |
| |
| virtual void | slot_streaksLenScaleChanged (double val) |
| |
| virtual void | slot_streakRotationOffsetChanged (double val) |
| |
| virtual void | slot_lensFlareScaleChanged (double val) |
| |
| virtual void | slot_gammaChanged (double val) |
| |
| virtual void | slot_hdrResolutionScaleChanged (int val) |
| |
| | DtPostProcessor (DtDe &de, const std::string &postProcessType, bool handles2D) |
| | CTOR. More...
|
| |
| virtual | ~DtPostProcessor () |
| | DTOR. More...
|
| |
| virtual void | setFragmentShaderSource (const char *source) |
| | Sets fragment shader source for this post-processor. More...
|
| |
| virtual void | setVertexShaderSource (const char *source) |
| | Sets vertex shader source for this post-processor. More...
|
| |
| virtual void | setFragmentShaderFile (const std::string &fileName) |
| | Sets fragment shader file for this post-processor. More...
|
| |
| virtual void | setVertexShaderFile (const std::string &fileName) |
| | Sets vertex shader file for this post-processor. More...
|
| |
| virtual osg::Texture * | outputTexture () |
| | Gets the output texture of this post processor, for use in chaining processors together. More...
|
| |
| virtual void | setIsFinalEffect (const DtChannel *channel, bool final) |
| | Called by the DtPostProcessManager to indicate if this is the last post processor in the chain, and should render to the framebuffer. More...
|
| |
| virtual osg::Camera * | cameraForChannel (const DtChannel *channel) |
| | Gets the Camera node associated with this effect and channel. More...
|
| |
| virtual void | slot_releaseResources () |
| | used to call releaseGLObjects on this post processor's openGL related objects when the last window is removed. More...
|
| |
| virtual bool | hasEffect (const std::string &effect) |
| | Does this post processor support this effect? More...
|
| |
| virtual bool | effectEnabled (const std::string &effect) |
| | Is this effect (post processor sub-component) enabled? More...
|
| |
| virtual bool | anyEffectEnabled () |
| | Are any effects enabled? More...
|
| |
| virtual std::list< std::string > | supportedEffects () |
| | Get a list of supported effects for this post processor. More...
|
| |
| virtual bool | handles2D () const |
| | Retrieves whether this post processor should be used in 2D orthographic views, as specified in its constructor. More...
|
| |
| virtual const std::string & | type () const |
| | Gets the type of the post processor. More...
|
| |
| virtual bool | enableEffect (const std::string &effect) |
| | Enable a particular post processing technique For example, "wateroncamera" has techniques "rainsplash", "oceanspray", and "wavesplash". More...
|
| |
| virtual bool | disableEffect (const std::string &effect) |
| |
| virtual void | enablePostProcessor () |
| | Enable or disable the post processor. More...
|
| |
| virtual void | disablePostProcessor () |
| |
|
| int | calcHdrRes (int width, int height, int scale) |
| | helper function for calculating the HDR texture resolution to use width and height are the channel width and height scale is how much to bit shift the resolution in what direction so -1 divides by 2 and 1 multiplies by 2 and 0 uses the default calculated value. More...
|
| |
| virtual bool | effectItrEnabled (EffectMap::iterator &effect) |
| |
|
| virtual void | getJsonValue (const rapidjson::Document &doc, const std::string &name, std::string &value) |
| |
| virtual void | getJsonValue (const rapidjson::Document &doc, const std::string &name, float &value) |
| |
| virtual void | getJsonValue (const rapidjson::Document &doc, const std::string &name, int &value) |
| |
| virtual void | getJsonValue (const rapidjson::Document &doc, const std::string &name, bool &value) |
| |
| virtual void | getJsonValue (const rapidjson::Document &doc, const std::string &name, osg::Vec4 &value) |
| |
| virtual void | getHdrOptions (int width, int height, DtHdrDrawable::DtHdrOptions &options) |
| |
| virtual bool | effectItrEnabled (const EffectMap::iterator &effect) |
| |
| virtual void | initialize () |
| |
| virtual void | addEffect (std::string effect) |
| | When constructing a post processor, add the names of the sub-components (effects) that can be enabled and disabled. More...
|
| |
| virtual void | setEnablePostProcessor (bool enabled) |
| | Set the post processor enabled state (true = enabled) More...
|
| |
post processor class that handles HDR post processing effects