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

Public Member Functions | |
| virtual | ~DtOsgPostProcessManager () |
| 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) |
| Enable or disable a post processor by name for a particular channel. | |
| 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) |
| Enable or disable an effect by name for a particular channel. | |
| 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) |
| Enable or disable a list of effects by name for a particular channel. | |
Public Member Functions inherited from makVrv::DtPostProcessManager | |
| virtual | ~DtPostProcessManager () |
| 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. | |
| 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 | |
| DtOsgPostProcessManager (DtDe &de) | |
Protected Member Functions inherited from makVrv::DtPostProcessManager | |
| DtPostProcessManager () | |
| Unimplemented. | |
| DtPostProcessManager (DtDe &de) | |
| CTOR. | |
Protected Attributes | |
| ChannelEffectToPostMap | myEffectToPostProcessorMap |
| ChannelTypeToPostMap | myPostProcessorTypeToPostProcessorMap |
Protected Attributes inherited from makVrv::DtPostProcessManager | |
| DtSignalConnectionManager | myConnections |
| DtDe & | myDe |
| bool | myEnablePostProcessors |
Friends | |
| class | DtOsgPostProcessManagerCreator |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPostProcessManager | |
| typedef std::list< std::string > | EffectNameList |
| List of effect names. | |
Static Public Member Functions inherited from makVrv::DtPostProcessManager | |
| static DtPostProcessManager & | 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::DtPostProcessManager.
| bool makVrv::DtOsgPostProcessManager::hasPostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Is a post processor of this type in this channel?
| bool makVrv::DtOsgPostProcessManager::enablePostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Enable or disable a post processor by name for a particular channel.
| bool makVrv::DtOsgPostProcessManager::disablePostProcessor | ( | DtChannel * | channel, |
| const std::string & | processorType | ||
| ) |
Enable or disable a post processor by name for a particular channel.
Is there an effect with this name in this channel?
| bool makVrv::DtOsgPostProcessManager::enableEffect | ( | DtChannel * | channel, |
| const std::string & | effect | ||
| ) |
Enable or disable an effect by name for a particular channel.
| bool makVrv::DtOsgPostProcessManager::disableEffect | ( | DtChannel * | channel, |
| const std::string & | effect | ||
| ) |
Enable or disable an effect by name for a particular channel.
|
virtual |
Enable or disable a list of effects by name for a particular channel.
Implements makVrv::DtPostProcessManager.
|
virtual |
Enable or disable a list of effects by name for a particular channel.
Implements makVrv::DtPostProcessManager.
|
protectedvirtual |
Create list of post processors.
Implements makVrv::DtPostProcessManager.
|
protectedvirtual |
Function when a channel is destroyed so we can delete the post processors and data structures associated with this channel.
Implements makVrv::DtPostProcessManager.
|
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 |