openscenegraph
Public Member Functions | Protected Attributes
osgViewer::ToggleSyncToVBlankHandler Class Reference
Inheritance diagram for osgViewer::ToggleSyncToVBlankHandler:
osgGA::GUIEventHandler osg::NodeCallback osg::Drawable::EventCallback osg::Object osg::Object osg::Referenced osg::Referenced

List of all members.

Public Member Functions

 ToggleSyncToVBlankHandler ()
void setKeyEventToggleSyncToVBlankHandler (int key)
int getKeyEventToggleSyncToVBlankHandler () const
bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
virtual void getUsage (osg::ApplicationUsage &usage) const

Protected Attributes

int _keyEventToggleSyncToVBlank

Detailed Description

Event handler for toggling SyncToVBlank.


Constructor & Destructor Documentation

osgViewer::ToggleSyncToVBlankHandler::ToggleSyncToVBlankHandler ( )

Member Function Documentation

int osgViewer::ToggleSyncToVBlankHandler::getKeyEventToggleSyncToVBlankHandler ( ) const [inline]
virtual void osgViewer::ToggleSyncToVBlankHandler::getUsage ( osg::ApplicationUsage usage) const [virtual]

Get the keyboard and mouse usage of this manipulator.

Reimplemented from osgGA::GUIEventHandler.

bool osgViewer::ToggleSyncToVBlankHandler::handle ( const osgGA::GUIEventAdapter ,
osgGA::GUIActionAdapter  
) [virtual]

Deprecated, Handle events, return true if handled, false otherwise.

Reimplemented from osgGA::GUIEventHandler.

void osgViewer::ToggleSyncToVBlankHandler::setKeyEventToggleSyncToVBlankHandler ( int  key) [inline]

Member Data Documentation


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