|
OpenSceneGraph 2.8.4
|
Event handler that will capture the screen on key press. More...

Classes | |
| class | CaptureOperation |
| Abstract base class for what to do when a screen capture happens. More... | |
| class | WriteToFile |
| Concrete implementation of a CaptureOperation that writes the screen capture to a file. More... | |
Public Member Functions | |
| ScreenCaptureHandler (CaptureOperation *defaultOperation=0) | |
| void | setKeyEventTakeScreenShot (int key) |
| int | getKeyEventTakeScreenShot () const |
| void | setCaptureOperation (CaptureOperation *operation) |
| CaptureOperation * | getCaptureOperation () const |
| virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) |
| Deprecated, Handle events, return true if handled, false otherwise. | |
| virtual void | captureNextFrame (osgViewer::ViewerBase &viewer) |
| Capture the given viewer's views on the next frame. | |
| virtual void | getUsage (osg::ApplicationUsage &usage) const |
| Get the keyboard and mouse usage of this manipulator. | |
Protected Member Functions | |
| void | addCallbackToViewer (osgViewer::ViewerBase &viewer) |
Protected Attributes | |
| int | _keyEventTakeScreenShot |
| osg::ref_ptr< CaptureOperation > | _operation |
| osg::ref_ptr < osg::Camera::DrawCallback > | _callback |
Event handler that will capture the screen on key press.
| osgViewer::ScreenCaptureHandler::ScreenCaptureHandler | ( | CaptureOperation * | defaultOperation = 0 | ) |
| void osgViewer::ScreenCaptureHandler::addCallbackToViewer | ( | osgViewer::ViewerBase & | viewer | ) | [protected] |
| virtual void osgViewer::ScreenCaptureHandler::captureNextFrame | ( | osgViewer::ViewerBase & | viewer | ) | [virtual] |
Capture the given viewer's views on the next frame.
| CaptureOperation* osgViewer::ScreenCaptureHandler::getCaptureOperation | ( | ) | const |
| int osgViewer::ScreenCaptureHandler::getKeyEventTakeScreenShot | ( | ) | const [inline] |
| virtual void osgViewer::ScreenCaptureHandler::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [virtual] |
Get the keyboard and mouse usage of this manipulator.
Reimplemented from osgGA::GUIEventHandler.
| virtual bool osgViewer::ScreenCaptureHandler::handle | ( | const osgGA::GUIEventAdapter & | , |
| osgGA::GUIActionAdapter & | |||
| ) | [virtual] |
Deprecated, Handle events, return true if handled, false otherwise.
Reimplemented from osgGA::GUIEventHandler.
| void osgViewer::ScreenCaptureHandler::setCaptureOperation | ( | CaptureOperation * | operation | ) |
| void osgViewer::ScreenCaptureHandler::setKeyEventTakeScreenShot | ( | int | key | ) | [inline] |
int osgViewer::ScreenCaptureHandler::_keyEventTakeScreenShot [protected] |
| Generated at Tue May 3 2011 13:35:33 for the OpenSceneGraph by doxygen 1.7.4. |