class OSGPRODUCER_EXPORT osgProducer::ViewerEventHandler


Inheritance:


Public Classes

[more]enum FrameStatsMode

Public Methods

[more] ViewerEventHandler(OsgCameraGroup* cg)
[more]virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
[more]virtual void accept(osgGA::GUIEventHandlerVisitor& gehv)
[more]virtual void getUsage(osg::ApplicationUsage& usage) const
Get the keyboard and mouse usage of this manipulator
[more]OsgCameraGroup* getOsgCameraGroup()
[more]const OsgCameraGroup* getOsgCameraGroup() const
[more]void setWriteNodeFileName(const std::string& filename)
[more]const std::string& getWriteNodeFileName() const
[more]void setDisplayHelp(bool displayHelp)
[more]bool getDisplayHelp() const
[more]void setFrameStatsMode(FrameStatsMode mode)
[more]FrameStatsMode getFrameStatsMode()

Protected Fields

[more]osgProducer::OsgCameraGroup* _cg
[more]std::string _writeNodeFileName
[more]bool _displayHelp
[more]FrameStatsMode _frameStatsMode
[more]bool _firstTimeTogglingFullScreen
[more]StatsAndHelpDrawCallback* _statsAndHelpDrawCallback
[more]SnapImageDrawCallbackList _snapImageDrawCallbackList

Protected

[more]typedef std::vector<SnapImageDrawCallback*> SnapImageDrawCallbackList


Documentation

o ViewerEventHandler(OsgCameraGroup* cg)

ovirtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)

ovirtual void accept(osgGA::GUIEventHandlerVisitor& gehv)

ovirtual void getUsage(osg::ApplicationUsage& usage) const
Get the keyboard and mouse usage of this manipulator

oOsgCameraGroup* getOsgCameraGroup()

oconst OsgCameraGroup* getOsgCameraGroup() const

ovoid setWriteNodeFileName(const std::string& filename)

oconst std::string& getWriteNodeFileName() const

ovoid setDisplayHelp(bool displayHelp)

obool getDisplayHelp() const

oenum FrameStatsMode

o NO_STATS

o FRAME_RATE

o CAMERA_STATS

ovoid setFrameStatsMode(FrameStatsMode mode)

oFrameStatsMode getFrameStatsMode()

oosgProducer::OsgCameraGroup* _cg

ostd::string _writeNodeFileName

obool _displayHelp

oFrameStatsMode _frameStatsMode

obool _firstTimeTogglingFullScreen

oStatsAndHelpDrawCallback* _statsAndHelpDrawCallback

otypedef std::vector<SnapImageDrawCallback*> SnapImageDrawCallbackList

oSnapImageDrawCallbackList _snapImageDrawCallbackList


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.