Added keyboard mouse binding usage to the osg::ApplicationUsage and

osgGA::GUIEventHandler and its subclasses.
This commit is contained in:
Robert Osfield
2003-02-19 10:43:02 +00:00
parent 73f741d16f
commit 0d3f78350a
20 changed files with 202 additions and 39 deletions

View File

@@ -34,6 +34,8 @@ public:
StateSetManipulator();
virtual ~StateSetManipulator();
virtual const char* className() { return "StateSetManipulator"; }
/** attach a geostate to the manipulator to be used for specifying view.*/
virtual void setStateSet(osg::StateSet*);
@@ -49,6 +51,9 @@ public:
/** Handle visitations */
virtual void accept(GUIEventHandlerVisitor&);
/** Get the keyboard and mouse usage of this manipulator.*/
virtual void getUsage(osg::ApplicationUsage& usage) const;
protected:
// Reference pointer to a geostate