![]() |
VR-Forces 4.7 Class Documentation
|
This class provides the OSG-specific management of post-processing effects. More...

Public Member Functions | |
| virtual | ~DtPostProcessManager () |
| virtual void | update (DtChannel *inChannel) |
| Called by the channel prior to rendering the channel Configures the post processors for this channel. | |
| bool | hasPostProcessor (DtChannel *channel, const std::string &processorType) |
| Is a post processor of this type in this channel? | |
| bool | hasEffect (DtChannel *channel, const std::string &effect) |
| Is there an effect with this name in this channel? | |
| bool | enablePostProcessor (DtChannel *channel, const std::string &processorType) |
| Enable or disable a post processor by name for a particular channel. | |
| bool | disablePostProcessor (DtChannel *channel, const std::string &processorType) |
| bool | enableEffect (DtChannel *channel, const std::string &effect) |
| Enable or disable an effect by name for a particular channel. | |
| bool | disableEffect (DtChannel *channel, const std::string &effect) |
| bool | enableEffects (DtChannel *channel, EffectNameList &effectPostList) |
| Enable or disable a list of effects by name for a particular channel. | |
| bool | disableEffects (DtChannel *channel, EffectNameList &effectPostList) |
| Disable post processors based on a list of effect names for this channel for this frame. | |
Public Member Functions inherited from makVrv::DtPostProcessManagerInterface | |
| virtual | ~DtPostProcessManagerInterface () |
| DTOR. | |
| void | setPostProcessorsEnabled (bool enable) |
| Enable/disable all vrv Post Processors (used when SensorFX or CameraFX are enabled) | |
| bool | postProcessorsEnabled () const |
| Get the enable post processors state. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Protected Types | |
| typedef std::map< std::string, DtPostProcessor * > | EffectToPostProcessorMap |
| typedef boost::unordered_map < DtChannel *, EffectToPostProcessorMap > | ChannelEffectToPostMap |
| typedef std::map< std::string, DtPostProcessor * > | ProcessorTypeToPostProcessorMap |
| typedef boost::unordered_map < DtChannel *, ProcessorTypeToPostProcessorMap > | ChannelTypeToPostMap |
Protected Member Functions | |
| virtual void | slot_channelCreated (DtChannelManager *channelManager, DtChannel *channel) |
| Create list of post processors. | |
| virtual void | slot_channelDestroyed (DtChannelManager *channelManager, DtChannel *channel) |
| Function when a channel is destroyed so we can delete the post processors and data structures associated with this channel. | |
| virtual void | slot_observerSettingChanged (DtObserverObject *observer, int setting, bool value) |
| Function for when an observerSettings is changed. | |
| bool | setPostProcessorEnable (DtChannel *channel, const std::string &processorType, bool enabled) |
| Enable or disable a whole post processor by name for a particular channel. | |
| bool | setEffectEnable (DtChannel *channel, const std::string &effect, bool enabled) |
| Enable or disable an effect by name for a particular channel. | |
| DtPostProcessor * | postProcessorFromType (DtChannel *channel, const std::string &type) |
| Find the post processor with this type (ex. 'wateronscreen') | |
| DtPostProcessor * | postProcessorFromEffect (DtChannel *channel, const std::string &effect) |
| Find the post processor with this effect (ex. | |
| void | deletePostProcessorMaps (DtChannel *channel) |
| delete the post processors associated with this channel and clear any related data structures | |
| DtPostProcessManager (DtDe &de) | |
Protected Member Functions inherited from makVrv::DtPostProcessManagerInterface | |
| DtPostProcessManagerInterface () | |
| Unimplemented. | |
| DtPostProcessManagerInterface (DtDe &de) | |
| CTOR. | |
Protected Attributes | |
| ChannelEffectToPostMap | myEffectToPostProcessorMap |
| ChannelTypeToPostMap | myPostProcessorTypeToPostProcessorMap |
Protected Attributes inherited from makVrv::DtPostProcessManagerInterface | |
| DtSignalConnectionManager | myConnections |
| DtDe & | myDe |
| bool | myEnablePostProcessors |
Friends | |
| class | DtPostProcessManagerCreator |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPostProcessManagerInterface | |
| typedef std::list< std::string > | EffectNameList |
| List of effect names. | |
Static Public Member Functions inherited from makVrv::DtPostProcessManagerInterface | |
| static DtPostProcessManagerInterface & | instance (DtDe &de) |
| Get/create instance of sky object manager. | |
| static std::string | theClassName () |
| Get the name this class is registered by. | |
This class provides the OSG-specific management of post-processing effects.
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
|
protected |
|
virtual |
Called by the channel prior to rendering the channel Configures the post processors for this channel.
Implements makVrv::DtPostProcessManagerInterface.
| bool makVrv::DtPostProcessManager::hasPostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Is a post processor of this type in this channel?
| bool makVrv::DtPostProcessManager::enablePostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Enable or disable a post processor by name for a particular channel.
| bool makVrv::DtPostProcessManager::disablePostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Is there an effect with this name in this channel?
Enable or disable an effect by name for a particular channel.
| bool makVrv::DtPostProcessManager::disableEffect | ( | DtChannel * | channel, |
| const std::string & | effect | ||
| ) |
|
virtual |
Enable or disable a list of effects by name for a particular channel.
Implements makVrv::DtPostProcessManagerInterface.
|
virtual |
Disable post processors based on a list of effect names for this channel for this frame.
Implements makVrv::DtPostProcessManagerInterface.
|
protectedvirtual |
Create list of post processors.
Implements makVrv::DtPostProcessManagerInterface.
|
protectedvirtual |
Function when a channel is destroyed so we can delete the post processors and data structures associated with this channel.
Implements makVrv::DtPostProcessManagerInterface.
|
protectedvirtual |
Function for when an observerSettings is changed.
|
protected |
Enable or disable a whole post processor by name for a particular channel.
|
protected |
Enable or disable an effect by name for a particular channel.
|
protected |
Find the post processor with this type (ex. 'wateronscreen')
|
protected |
Find the post processor with this effect (ex.
'oceanspray') Our channel shouldn't have two effects with the same name
|
protected |
delete the post processors associated with this channel and clear any related data structures
|
friend |
|
protected |
|
protected |