![]() |
VR-Forces 5.0.1 Developer's Guide
|
create a post processor that will provide us with it's input texture id used by the video stream process to get full dynamic range images from the GPU has a passthrough shader so the scene will still show up in the VRV Gui

Public Member Functions | |
| DtVideoStreamPostProcessor (DtDe &de, const std::string &postProcessorType) | |
| virtual | ~DtVideoStreamPostProcessor () |
| virtual bool | update (DtChannel *channel) |
| virtual void | slot_reloadShaders () |
| virtual GLuint | inputTexId () const |
| virtual void | setInputTexture (const DtChannel *channel, osg::Texture *texture) override |
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 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 () |
Protected Attributes | |
| DtSignalConnectionManager | myConnections |
| DtVideoStreamPostProcessorDrawable * | myPostProcessorDrawable |
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 |
| DtDe & | myDe |
| DtSignalConnectionManager | mySignals |
Private Member Functions | |
| DtVideoStreamPostProcessor () | |
| DtVideoStreamPostProcessor (const DtVideoStreamPostProcessor &) | |
| DtVideoStreamPostProcessor & | operator= (const DtVideoStreamPostProcessor &) |
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) |
| makVrv::DtVideoStreamPostProcessor::DtVideoStreamPostProcessor | ( | DtDe & | de, |
| const std::string & | postProcessorType | ||
| ) |
constructor which sets up the myDe object
|
virtual |
destructor
|
private |
private default constructor. not allowed.
|
private |
prevent copy-construction
|
private |
prevent assignment
Called once per frame, per channel.
Implements makVrv::DtPostProcessor.
|
virtual |
slot for handling when the shaders are reloaded which recreates the Drawable
|
virtual |
get the opengl texture id for the input texture for this post processor
|
overridevirtual |
overrides the base class call so the input texture can be passed to the drawable.
Reimplemented from makVrv::DtPostProcessor.
|
protected |
|
protected |