Added help support for display help on screen to osgProducer::Viewer.
This commit is contained in:
@@ -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*);
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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.*/
|
||||
|
||||
@@ -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.*/
|
||||
|
||||
Reference in New Issue
Block a user