Added help support for display help on screen to osgProducer::Viewer.

This commit is contained in:
Robert Osfield
2003-03-26 12:50:30 +00:00
parent e00b8f2868
commit 8779fe20a7
18 changed files with 370 additions and 39 deletions

View File

@@ -35,6 +35,9 @@ class OSGGA_EXPORT CameraManipulator : public GUIEventHandler
{
public:
virtual const char* className() { return "CameraManipulator"; }
/** Attach a camera to the manipulator to be used for specifying view.*/
virtual void setCamera(osg::Camera*);

View File

@@ -31,8 +31,6 @@ class OSGGA_EXPORT DriveManipulator : public CameraManipulator
DriveManipulator();
virtual ~DriveManipulator();
virtual const char* className() { return "Drive"; }
virtual void setNode(osg::Node*);
@@ -52,6 +50,8 @@ class OSGGA_EXPORT DriveManipulator : public CameraManipulator
protected:
virtual ~DriveManipulator();
/** Reset the internal GUIEvent stack.*/
void flushMouseEventStack();

View File

@@ -30,7 +30,6 @@ class OSGGA_EXPORT FlightManipulator : public CameraManipulator
public:
FlightManipulator();
virtual ~FlightManipulator();
virtual const char* className() { return "Flight"; }
@@ -59,6 +58,8 @@ class OSGGA_EXPORT FlightManipulator : public CameraManipulator
protected:
virtual ~FlightManipulator();
/** Reset the internal GUIEvent stack.*/
void flushMouseEventStack();
/** Add the current mouse GUIEvent to internal stack.*/

View File

@@ -23,7 +23,6 @@ class OSGGA_EXPORT TrackballManipulator : public CameraManipulator
public:
TrackballManipulator();
virtual ~TrackballManipulator();
virtual const char* className() { return "Trackball"; }
@@ -54,6 +53,8 @@ class OSGGA_EXPORT TrackballManipulator : public CameraManipulator
protected:
virtual ~TrackballManipulator();
/** Reset the internal GUIEvent stack.*/
void flushMouseEventStack();
/** Add the current mouse GUIEvent to internal stack.*/