VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
makVrv::DtVirtualRealityPostProcessor Class Reference

A post processing effect responsible for submitting and mirroring the eye views to the VR subsystem. This needs to be last in the post processing effects chain in order to capture HDR and sensor effects in the HMD view.

Inheritance diagram for makVrv::DtVirtualRealityPostProcessor:
Inheritance graph
[legend]

Public Member Functions

 DtVirtualRealityPostProcessor (makVrv::DtDe &de)
 
virtual ~DtVirtualRealityPostProcessor ()
 
virtual bool update (makVrv::DtChannel *channel)
 
virtual osg::Texture * inputTexture ()
 
- Public Member Functions inherited from makVrv::DtPostProcessor
 DtPostProcessor (DtDe &de, const std::string &postProcessType, bool handles2D)
 
virtual ~DtPostProcessor ()
 
virtual void setFragmentShaderSource (const char *source)
 
virtual void setVertexShaderSource (const char *source)
 
virtual void setFragmentShaderFile (const std::string &fileName)
 
virtual void setVertexShaderFile (const std::string &fileName)
 
virtual void setInputTexture (const DtChannel *channel, osg::Texture *texture)
 
virtual osg::Texture * outputTexture ()
 
virtual void setIsFinalEffect (const DtChannel *channel, bool final)
 
virtual osg::Camera * cameraForChannel (const DtChannel *channel)
 
virtual void slot_releaseResources ()
 
virtual void releaseGLObjects ()
 
virtual bool hasEffect (const std::string &effect)
 
virtual bool effectEnabled (const std::string &effect)
 
virtual bool anyEffectEnabled ()
 
virtual std::list< std::string > supportedEffects ()
 
virtual bool handles2D () const
 
virtual const std::string & type () const
 
virtual bool postProcessorEnabled () const
 
virtual bool needsOcclusionTexture () const
 
virtual bool enableEffect (const std::string &effect)
 
virtual bool disableEffect (const std::string &effect)
 
virtual void enablePostProcessor ()
 
virtual void disablePostProcessor ()
 

Private Member Functions

 DtVirtualRealityPostProcessor ()
 
 DtVirtualRealityPostProcessor (const DtVirtualRealityPostProcessor &)
 
DtVirtualRealityPostProcessoroperator= (const DtVirtualRealityPostProcessor &)
 

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)
 
virtual void setEnablePostProcessor (bool enabled)
 
- 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
 

Constructor & Destructor Documentation

makVrv::DtVirtualRealityPostProcessor::DtVirtualRealityPostProcessor ( )
private

private default constructor

makVrv::DtVirtualRealityPostProcessor::DtVirtualRealityPostProcessor ( const DtVirtualRealityPostProcessor )
private

prevent copy-construction

makVrv::DtVirtualRealityPostProcessor::DtVirtualRealityPostProcessor ( makVrv::DtDe de)

CTOR.

virtual makVrv::DtVirtualRealityPostProcessor::~DtVirtualRealityPostProcessor ( )
virtual

DTOR.

Member Function Documentation

DtVirtualRealityPostProcessor& makVrv::DtVirtualRealityPostProcessor::operator= ( const DtVirtualRealityPostProcessor )
private

prevent assignment

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

update called every frame for every channel this is enabled on

Implements makVrv::DtPostProcessor.

virtual osg::Texture* makVrv::DtVirtualRealityPostProcessor::inputTexture ( )
virtual

public access to the the image that is passed into this post processor


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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)