VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtSenSimPostProcessor Class Reference
Inheritance diagram for makVrv::DtSenSimPostProcessor:
Inheritance graph
[legend]

Public Member Functions

 DtSenSimPostProcessor (const std::string &postProcessType, bool handles2D, DtSenSim *senSim, DtDe &de)
 
virtual ~DtSenSimPostProcessor ()
 
virtual bool update (DtChannel *channel)
 Called once per frame, per channel. 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 void setIsFinalEffect (const DtChannel *channel, bool final) override
 overrides the base class call so the input texture can be passed to the drawable. More...
 
- Public Member Functions inherited from makVrv::DtPostProcessor
 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 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 void releaseGLObjects ()
 cleanup any graphics related stuff when the last window is removed since the graphics context will soon be destroyed. 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 postProcessorEnabled () const
 Is this post processor enabled? 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 ()
 

Protected Attributes

DtSenSimmySenSim
 
osg::ref_ptr< DtSenSimDrawablemySenSimDrawable
 
- Protected Attributes inherited from makVrv::DtPostProcessor
osg::ref_ptr< osg::Texture > myOutputTexture
 
osg::ref_ptr< osg::Texture > myInputTexture
 
osg::ref_ptr< osg::Program > myProgram
 
osg::ref_ptr< osg::Shader > myFragmentShader
 
osg::ref_ptr< osg::Shader > myVertexShader
 
osg::ref_ptr< osg::Geode > myQuad
 
CameraMap myCameraMap
 
bool myHandles2DFlag
 
bool myEnabledFlag
 
std::string myType
 
EffectMap myEffects
 
CallbackMap myCullCallbackMap
 
DtDemyDe
 
DtSignalConnectionManager mySignals
 

Additional Inherited Members

- Protected Types inherited from makVrv::DtPostProcessor
typedef boost::unordered_map
< std::string, bool
EffectMap
 
typedef std::map< const
DtChannel *, osg::ref_ptr
< osg::Camera > > 
CameraMap
 
typedef osg::ref_ptr
< DtPostProcessorCullVistorCallback
CallbackRefPtr
 
typedef std::map< const
DtChannel *, CallbackRefPtr
CallbackMap
 
- Protected Member Functions inherited from makVrv::DtPostProcessor
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...
 

Constructor & Destructor Documentation

makVrv::DtSenSimPostProcessor::DtSenSimPostProcessor ( const std::string &  postProcessType,
bool  handles2D,
DtSenSim senSim,
DtDe de 
)
virtual makVrv::DtSenSimPostProcessor::~DtSenSimPostProcessor ( )
virtual

Member Function Documentation

virtual bool makVrv::DtSenSimPostProcessor::update ( DtChannel channel)
virtual

Called once per frame, per channel.

Implements makVrv::DtPostProcessor.

virtual void makVrv::DtSenSimPostProcessor::setInputTexture ( const DtChannel channel,
osg::Texture *  texture 
)
overridevirtual

overrides the base class call so the input texture can be passed to the drawable.

Reimplemented from makVrv::DtPostProcessor.

virtual void makVrv::DtSenSimPostProcessor::setIsFinalEffect ( const DtChannel channel,
bool  final 
)
overridevirtual

overrides the base class call so the input texture can be passed to the drawable.

Reimplemented from makVrv::DtPostProcessor.

Member Data Documentation

DtSenSim* makVrv::DtSenSimPostProcessor::mySenSim
protected
osg::ref_ptr<DtSenSimDrawable> makVrv::DtSenSimPostProcessor::mySenSimDrawable
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)