From Mikkel Gjøl, addition of paramter set/get methods to osgGA::*Manipulators,

change of ' ' to GUIEventAdapter::KEY_Space, fix to url in Matrix_implementation.cpp.
Syntax fixes by Robert Osfield to above submission fix inconsistencies with normal
OSG coding style.
This commit is contained in:
Robert Osfield
2005-11-17 11:03:20 +00:00
parent d91f2c631d
commit b15b677cc3
9 changed files with 51 additions and 17 deletions

View File

@@ -63,6 +63,15 @@ class OSGGA_EXPORT DriveManipulator : public MatrixManipulator
/** Get the keyboard and mouse usage of this manipulator.*/
virtual void getUsage(osg::ApplicationUsage& usage) const;
void setModelScale( double in_ms ) { _modelScale = in_ms; }
double getModelScale() const { return _modelScale; }
void setVelocity( double in_vel ) { _velocity = in_vel; }
double getVelocity() const { return _velocity; }
void setHeight( double in_h ) { _height = in_h; }
double getHeight() const { return _height; }
protected:
virtual ~DriveManipulator();