![]() |
VR-Forces 5.0.1 Developer's Guide
|
This class provides the OSG-specific management of post-processing effects.

Public Types | |
| typedef std::map< std::string, DtPostProcessor * > | ProcessorTypeToPostProcessorMap |
Public Types inherited from makVrv::DtPostProcessManagerInterface | |
| typedef std::list< std::string > | EffectNameList |
Protected Types | |
| typedef std::map< std::string, DtPostProcessor * > | EffectToPostProcessorMap |
| typedef boost::unordered_map < DtChannel *, EffectToPostProcessorMap > | ChannelEffectToPostMap |
| typedef boost::unordered_map < DtChannel *, ProcessorTypeToPostProcessorMap > | ChannelTypeToPostMap |
| typedef std::map< DtChannel *, DtPostProcessor * > | ChannelToPostProcessorMap |
Protected Member Functions | |
| virtual void | slot_channelCreated (DtChannelManager *channelManager, DtChannel *channel) |
| virtual void | slot_channelDestroyed (DtChannelManager *channelManager, DtChannel *channel) |
| virtual void | slot_observerSettingChanged (DtObserverObject *observer, int setting, bool value) |
| bool | setPostProcessorEnable (DtChannel *channel, const std::string &processorType, bool enabled) |
| bool | setEffectEnable (DtChannel *channel, const std::string &effect, bool enabled) |
| DtPostProcessor * | postProcessorFromEffect (DtChannel *channel, const std::string &effect) |
| void | deletePostProcessorMaps (DtChannel *channel) |
| DtPostProcessManager (DtDe &de) | |
Protected Member Functions inherited from makVrv::DtPostProcessManagerInterface | |
| DtPostProcessManagerInterface () | |
| DtPostProcessManagerInterface (DtDe &de) | |
Protected Attributes | |
| ChannelEffectToPostMap | myEffectToPostProcessorMap |
| ChannelTypeToPostMap | myPostProcessorTypeToPostProcessorMap |
| ChannelToPostProcessorMap | myChannelToLastPostProcessorInChainMap |
Protected Attributes inherited from makVrv::DtPostProcessManagerInterface | |
| DtSignalConnectionManager | myConnections |
| DtDe & | myDe |
| bool | myEnablePostProcessors |
Friends | |
| class | DtPostProcessManagerCreator |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtPostProcessManagerInterface | |
| static DtPostProcessManagerInterface & | instance (DtDe &de) |
| static std::string | theClassName () |
| typedef std::map<std::string, DtPostProcessor*> makVrv::DtPostProcessManager::ProcessorTypeToPostProcessorMap |
|
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 | ||
| ) |
Enable or disable a post processor by name for a particular channel.
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 | ||
| ) |
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::DtPostProcessManagerInterface.
|
virtual |
Enable or disable a list of effects by name for a particular channel.
Implements makVrv::DtPostProcessManagerInterface.
| DtPostProcessor* makVrv::DtPostProcessManager::postProcessorFromType | ( | DtChannel * | channel, |
| const std::string & | type | ||
| ) |
Find the post processor with this type (ex. 'wateronscreen')
| DtPostProcessor* makVrv::DtPostProcessManager::lastPostProcessorInChain | ( | DtChannel * | channel | ) |
Get the last post processor in chain for a given channel This function can return NULL.
| ProcessorTypeToPostProcessorMap* makVrv::DtPostProcessManager::postProcessorTypeMap | ( | DtChannel * | channel | ) |
Get the map of post processor types to post processor pointers.
|
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 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 |
|
protected |