2002-07-17 04:07:32 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGGA_EXPORT osgGA::DriveManipulator< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
2002-08-29 22:29:49 +08:00
< H2 > class OSGGA_EXPORT < A HREF = "#DOC.DOCU" > osgGA::DriveManipulator< / A > < / H2 > < / H2 > < BLOCKQUOTE > DriveManipulator is a camera manipulator which provides drive-like functionality.< / BLOCKQUOTE >
< HR >
2002-07-17 04:07:32 +08:00
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 125 >
< param name = classes value = "Mosg::Referenced,M,CGUIEventHandler,MGUIEventHandler.html,CCameraManipulator,MCameraManipulator.html,CDriveManipulator,MDriveManipulator.html" >
< param name = before value = "M,M,M,M" >
< param name = after value = "Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.3.1" > DriveManipulator< / A > < / B > ()
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.3.2" > ~DriveManipulator< / A > < / B > ()
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.3.3" > setNode< / A > < / B > (osg::Node*)
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const osg::Node* < B > < A HREF = "#DOC.2.3.4" > getNode< / A > < / B > () const
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Node* < B > < A HREF = "#DOC.2.3.5" > getNode< / A > < / B > ()
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.3.6" > home< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.3.7" > init< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2002-07-17 04:07:32 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.3.8" > handle< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > < B > < A HREF = "#DOC.2.3.15" > _ga_t1< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > < B > < A HREF = "#DOC.2.3.16" > _ga_t0< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::Node> < B > < A HREF = "#DOC.2.3.17" > _node< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.3.18" > _modelScale< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.3.19" > _velocity< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.3.20" > _height< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.3.21" > _buffer< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "DriveManipulator.html#DOC.2.3.22" > SpeedControlMode< / A > < B > < A HREF = "#DOC.2.3.23" > _speedMode< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3 < B > < A HREF = "#DOC.2.3.24" > _eye< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Quat < B > < A HREF = "#DOC.2.3.25" > _rotation< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.3.26" > _distance< / A > < / B >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.3.9" > flushMouseEventStack< / A > < / B > ()
< DD > < I > Reset the internal GUIEvent stack< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.3.10" > addMouseEvent< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea)
< DD > < I > Add the current mouse GUIEvent to internal stack< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.3.11" > computeLocalDataFromCamera< / A > < / B > ()
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.3.12" > computeCameraFromLocalData< / A > < / B > ()
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.3.13" > computeCameraFromLocalData< / A > < / B > (const osg::Vec3& lv, const osg::Vec3& up)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.3.14" > calcMovement< / A > < / B > ()
< DD > < I > For the give mouse movement calculate the movement of the camera.< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Members< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.3.22" > SpeedControlMode< / A > < / B >
2002-07-17 04:07:32 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "CameraManipulator.html" > CameraManipulator< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > setCamera< / B > (osg::Camera*)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const osg::Camera* < B > getCamera< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual osg::Camera* < B > getCamera< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "GUIEventHandlerVisitor.html" > GUIEventHandlerVisitor< / A > & v)
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > osg::ref_ptr< osg::Camera> < B > _camera< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "GUIEventHandler.html" > GUIEventHandler< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual const <!1> < A HREF = "CompositeGUIEventHandler.html" > CompositeGUIEventHandler< / A > * < B > getComposite< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "CompositeGUIEventHandler.html" > CompositeGUIEventHandler< / A > * < B > getComposite< / B > ()
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
2002-08-29 22:29:49 +08:00
< BLOCKQUOTE >
DriveManipulator is a camera manipulator which provides drive-like
functionality. By default, the left mouse button accelerates, the right
mouse button decelerates, and the middle mouse button (or left and
right simultaneously) stops dead.< / BLOCKQUOTE >
2002-07-17 04:07:32 +08:00
< DL >
< A NAME = "DriveManipulator" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DriveManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~DriveManipulator" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.2" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~DriveManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.3" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setNode(osg::Node*)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.4" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const osg::Node* getNode() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.5" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Node* getNode()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "home" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.6" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void home(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "init" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.7" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void init(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "handle" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.8" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual bool handle(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
2002-11-08 22:15:17 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "flushMouseEventStack" > < / A >
< A NAME = "DOC.2.3.9" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void flushMouseEventStack()< / B > < / TT >
< DD > Reset the internal GUIEvent stack
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addMouseEvent" > < / A >
< A NAME = "DOC.2.3.10" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addMouseEvent(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea)< / B > < / TT >
< DD > Add the current mouse GUIEvent to internal stack
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeLocalDataFromCamera" > < / A >
< A NAME = "DOC.2.3.11" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void computeLocalDataFromCamera()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeCameraFromLocalData" > < / A >
< A NAME = "DOC.2.3.12" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void computeCameraFromLocalData()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeCameraFromLocalData" > < / A >
< A NAME = "DOC.2.3.13" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void computeCameraFromLocalData(const osg::Vec3& lv, const osg::Vec3& up)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "calcMovement" > < / A >
< A NAME = "DOC.2.3.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool calcMovement()< / B > < / TT >
< DD > For the give mouse movement calculate the movement of the camera.
Return true is camera has moved and a redraw is required.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_ga_t1" > < / A >
< A NAME = "DOC.2.3.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > _ga_t1< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_ga_t0" > < / A >
< A NAME = "DOC.2.3.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > _ga_t0< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_node" > < / A >
< A NAME = "DOC.2.3.17" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::Node> _node< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_modelScale" > < / A >
< A NAME = "DOC.2.3.18" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _modelScale< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_velocity" > < / A >
< A NAME = "DOC.2.3.19" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _velocity< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_height" > < / A >
< A NAME = "DOC.2.3.20" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _height< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_buffer" > < / A >
< A NAME = "DOC.2.3.21" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _buffer< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "SpeedControlMode" > < / A >
< A NAME = "DOC.2.3.22" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum SpeedControlMode< / B > < / TT >
2002-07-17 04:07:32 +08:00
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "USE_MOUSE_Y_FOR_SPEED" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.22.1" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > USE_MOUSE_Y_FOR_SPEED< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "USE_MOUSE_BUTTONS_FOR_SPEED" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.3.22.2" > < / A >
2002-07-17 04:07:32 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > USE_MOUSE_BUTTONS_FOR_SPEED< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
2002-11-08 22:15:17 +08:00
< A NAME = "_speedMode" > < / A >
< A NAME = "DOC.2.3.23" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "DriveManipulator.html#DOC.2.3.22" > SpeedControlMode< / A > _speedMode< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_eye" > < / A >
< A NAME = "DOC.2.3.24" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3 _eye< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_rotation" > < / A >
< A NAME = "DOC.2.3.25" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Quat _rotation< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_distance" > < / A >
< A NAME = "DOC.2.3.26" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _distance< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
2002-07-17 04:07:32 +08:00
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >