- Timestamp:
- 08/24/04 12:58:51 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/doc/doc++/osgGA/TrackballManipulator.html
r3244 r3315 23 23 <P><DL> 24 24 <DT><H3>Public Methods</H3><DD><DT> 25 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.1 6.1">TrackballManipulator</A></B>()26 <DT> 27 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.1 6.2">className</A></B>() const28 <DT> 29 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 6.3">setMinimumZoomScale</A></B>(float minimumZoomScale)25 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.15.1">TrackballManipulator</A></B>() 26 <DT> 27 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.15.2">className</A></B>() const 28 <DT> 29 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.15.3">setMinimumZoomScale</A></B>(float minimumZoomScale) 30 30 <DD><I>set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward</I> 31 31 <DT> 32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.1 6.4">getMinimumZoomScale</A></B>() const32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.15.4">getMinimumZoomScale</A></B>() const 33 33 <DD><I>get the minimum distance (as ratio) the eye point can be zoomed in </I> 34 34 <DT> 35 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.5">setByMatrix</A></B>(const osg::Matrixd& matrix)35 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.5">setByMatrix</A></B>(const osg::Matrixd& matrix) 36 36 <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> 37 37 <DT> 38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.6">setByInverseMatrix</A></B>(const osg::Matrixd& matrix)38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.6">setByInverseMatrix</A></B>(const osg::Matrixd& matrix) 39 39 <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> 40 40 <DT> 41 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 6.7">getMatrix</A></B>() const41 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.15.7">getMatrix</A></B>() const 42 42 <DD><I>get the position of the manipulator as 4x4 Matrix</I> 43 43 <DT> 44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 6.8">getInverseMatrix</A></B>() const44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.15.8">getInverseMatrix</A></B>() const 45 45 <DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I> 46 46 <DT> 47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.1 6.9">getFusionDistanceMode</A></B>() const47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.15.9">getFusionDistanceMode</A></B>() const 48 48 <DD><I>Get the FusionDistanceMode.</I> 49 49 <DT> 50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.1 6.10">getFusionDistanceValue</A></B>() const50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.15.10">getFusionDistanceValue</A></B>() const 51 51 <DD><I>Get the FusionDistanceValue.</I> 52 52 <DT> 53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.11">setNode</A></B>(osg::Node*)53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.11">setNode</A></B>(osg::Node*) 54 54 <DD><I>Attach a node to the manipulator.</I> 55 55 <DT> 56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.1 6.12">getNode</A></B>() const56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.15.12">getNode</A></B>() const 57 57 <DD><I>Return node if attached</I> 58 58 <DT> 59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.1 6.13">getNode</A></B>()59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.15.13">getNode</A></B>() 60 60 <DD><I>Return node if attached</I> 61 61 <DT> 62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.14">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.14">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 63 63 <DD><I>Move the camera to the default position.</I> 64 64 <DT> 65 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.15">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)65 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.15">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 66 66 <DD><I>Start/restart the manipulator</I> 67 67 <DT> 68 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.1 6.16">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)68 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.15.16">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 69 69 <DD><I>handle events, return true if handled, false otherwise</I> 70 70 <DT> 71 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 6.17">getUsage</A></B>(osg::ApplicationUsage& usage) const71 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.15.17">getUsage</A></B>(osg::ApplicationUsage& usage) const 72 72 <DD><I>Get the keyboard and mouse usage of this manipulator</I> 73 73 </DL></P> … … 75 75 <P><DL> 76 76 <DT><H3>Protected Fields</H3><DD><DT> 77 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.1 6.26">_ga_t1</A></B>78 <DT> 79 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.1 6.27">_ga_t0</A></B>80 <DT> 81 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.1 6.28">_node</A></B>82 <DT> 83 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.1 6.29">_modelScale</A></B>84 <DT> 85 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.1 6.30">_minimumZoomScale</A></B>86 <DT> 87 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 6.31">_thrown</A></B>88 <DT> 89 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 6.32">_center</A></B>90 <DT> 91 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.1 6.33">_rotation</A></B>92 <DT> 93 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.1 6.34">_distance</A></B>77 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.15.26">_ga_t1</A></B> 78 <DT> 79 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.15.27">_ga_t0</A></B> 80 <DT> 81 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.15.28">_node</A></B> 82 <DT> 83 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.15.29">_modelScale</A></B> 84 <DT> 85 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.15.30">_minimumZoomScale</A></B> 86 <DT> 87 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.15.31">_thrown</A></B> 88 <DT> 89 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.15.32">_center</A></B> 90 <DT> 91 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.15.33">_rotation</A></B> 92 <DT> 93 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.15.34">_distance</A></B> 94 94 </DL></P> 95 95 96 96 <P><DL> 97 97 <DT><H3>Protected Methods</H3><DD><DT> 98 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.1 6.18">~TrackballManipulator</A></B>()99 <DT> 100 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 6.19">flushMouseEventStack</A></B>()98 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.15.18">~TrackballManipulator</A></B>() 99 <DT> 100 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.15.19">flushMouseEventStack</A></B>() 101 101 <DD><I>Reset the internal GUIEvent stack</I> 102 102 <DT> 103 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 6.20">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)103 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.15.20">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea) 104 104 <DD><I>Add the current mouse GUIEvent to internal stack</I> 105 105 <DT> 106 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 6.21">computePosition</A></B>(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)107 <DT> 108 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 6.22">calcMovement</A></B>()106 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.15.21">computePosition</A></B>(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up) 107 <DT> 108 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.15.22">calcMovement</A></B>() 109 109 <DD><I>For the give mouse movement calculate the movement of the camera.</I> 110 110 <DT> 111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 6.23">trackball</A></B>(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y)112 <DT> 113 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.1 6.24">tb_project_to_sphere</A></B>(float r, float x, float y)114 <DT> 115 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 6.25">isMouseMoving</A></B>()111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.15.23">trackball</A></B>(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y) 112 <DT> 113 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.15.24">tb_project_to_sphere</A></B>(float r, float x, float y) 114 <DT> 115 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.15.25">isMouseMoving</A></B>() 116 116 <DD><I>Check the speed at which the mouse is moving.</I> 117 117 </DL></P> … … 192 192 193 193 <A NAME="TrackballManipulator"></A> 194 <A NAME="DOC.2.1 6.1"></A>194 <A NAME="DOC.2.15.1"></A> 195 195 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TrackballManipulator()</B></TT> 196 196 <DL><DT><DD></DL><P> 197 197 <A NAME="className"></A> 198 <A NAME="DOC.2.1 6.2"></A>198 <A NAME="DOC.2.15.2"></A> 199 199 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> 200 200 <DL><DT><DD></DL><P> 201 201 <A NAME="setMinimumZoomScale"></A> 202 <A NAME="DOC.2.1 6.3"></A>202 <A NAME="DOC.2.15.3"></A> 203 203 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMinimumZoomScale(float minimumZoomScale)</B></TT> 204 204 <DD>set the minimum distance (as ratio) the eye point can be zoomed in towards the … … 206 206 <DL><DT><DD></DL><P> 207 207 <A NAME="getMinimumZoomScale"></A> 208 <A NAME="DOC.2.1 6.4"></A>208 <A NAME="DOC.2.15.4"></A> 209 209 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getMinimumZoomScale() const </B></TT> 210 210 <DD>get the minimum distance (as ratio) the eye point can be zoomed in 211 211 <DL><DT><DD></DL><P> 212 212 <A NAME="setByMatrix"></A> 213 <A NAME="DOC.2.1 6.5"></A>213 <A NAME="DOC.2.15.5"></A> 214 214 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByMatrix(const osg::Matrixd& matrix)</B></TT> 215 215 <DD>set the position of the matrix manipulator using a 4x4 Matrix 216 216 <DL><DT><DD></DL><P> 217 217 <A NAME="setByInverseMatrix"></A> 218 <A NAME="DOC.2.1 6.6"></A>218 <A NAME="DOC.2.15.6"></A> 219 219 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByInverseMatrix(const osg::Matrixd& matrix)</B></TT> 220 220 <DD>set the position of the matrix manipulator using a 4x4 Matrix 221 221 <DL><DT><DD></DL><P> 222 222 <A NAME="getMatrix"></A> 223 <A NAME="DOC.2.1 6.7"></A>223 <A NAME="DOC.2.15.7"></A> 224 224 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getMatrix() const </B></TT> 225 225 <DD>get the position of the manipulator as 4x4 Matrix 226 226 <DL><DT><DD></DL><P> 227 227 <A NAME="getInverseMatrix"></A> 228 <A NAME="DOC.2.1 6.8"></A>228 <A NAME="DOC.2.15.8"></A> 229 229 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getInverseMatrix() const </B></TT> 230 230 <DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix 231 231 <DL><DT><DD></DL><P> 232 232 <A NAME="getFusionDistanceMode"></A> 233 <A NAME="DOC.2.1 6.9"></A>233 <A NAME="DOC.2.15.9"></A> 234 234 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT> 235 235 <DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. 236 236 <DL><DT><DD></DL><P> 237 237 <A NAME="getFusionDistanceValue"></A> 238 <A NAME="DOC.2.1 6.10"></A>238 <A NAME="DOC.2.15.10"></A> 239 239 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getFusionDistanceValue() const </B></TT> 240 240 <DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. 241 241 <DL><DT><DD></DL><P> 242 242 <A NAME="setNode"></A> 243 <A NAME="DOC.2.1 6.11"></A>243 <A NAME="DOC.2.15.11"></A> 244 244 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node*)</B></TT> 245 245 <DD>Attach a node to the manipulator. … … 249 249 <DL><DT><DD></DL><P> 250 250 <A NAME="getNode"></A> 251 <A NAME="DOC.2.1 6.12"></A>251 <A NAME="DOC.2.15.12"></A> 252 252 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const osg::Node* getNode() const </B></TT> 253 253 <DD>Return node if attached 254 254 <DL><DT><DD></DL><P> 255 255 <A NAME="getNode"></A> 256 <A NAME="DOC.2.1 6.13"></A>256 <A NAME="DOC.2.15.13"></A> 257 257 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT> 258 258 <DD>Return node if attached 259 259 <DL><DT><DD></DL><P> 260 260 <A NAME="home"></A> 261 <A NAME="DOC.2.1 6.14"></A>261 <A NAME="DOC.2.15.14"></A> 262 262 <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> 263 263 <DD>Move the camera to the default position. … … 265 265 <DL><DT><DD></DL><P> 266 266 <A NAME="init"></A> 267 <A NAME="DOC.2.1 6.15"></A>267 <A NAME="DOC.2.15.15"></A> 268 268 <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> 269 269 <DD>Start/restart the manipulator 270 270 <DL><DT><DD></DL><P> 271 271 <A NAME="handle"></A> 272 <A NAME="DOC.2.1 6.16"></A>272 <A NAME="DOC.2.15.16"></A> 273 273 <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> 274 274 <DD>handle events, return true if handled, false otherwise 275 275 <DL><DT><DD></DL><P> 276 276 <A NAME="getUsage"></A> 277 <A NAME="DOC.2.1 6.17"></A>277 <A NAME="DOC.2.15.17"></A> 278 278 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void getUsage(osg::ApplicationUsage& usage) const </B></TT> 279 279 <DD>Get the keyboard and mouse usage of this manipulator 280 280 <DL><DT><DD></DL><P> 281 281 <A NAME="~TrackballManipulator"></A> 282 <A NAME="DOC.2.1 6.18"></A>282 <A NAME="DOC.2.15.18"></A> 283 283 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~TrackballManipulator()</B></TT> 284 284 <DL><DT><DD></DL><P> 285 285 <A NAME="flushMouseEventStack"></A> 286 <A NAME="DOC.2.1 6.19"></A>286 <A NAME="DOC.2.15.19"></A> 287 287 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void flushMouseEventStack()</B></TT> 288 288 <DD>Reset the internal GUIEvent stack 289 289 <DL><DT><DD></DL><P> 290 290 <A NAME="addMouseEvent"></A> 291 <A NAME="DOC.2.1 6.20"></A>291 <A NAME="DOC.2.15.20"></A> 292 292 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addMouseEvent(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)</B></TT> 293 293 <DD>Add the current mouse GUIEvent to internal stack 294 294 <DL><DT><DD></DL><P> 295 295 <A NAME="computePosition"></A> 296 <A NAME="DOC.2.1 6.21"></A>296 <A NAME="DOC.2.15.21"></A> 297 297 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)</B></TT> 298 298 <DL><DT><DD></DL><P> 299 299 <A NAME="calcMovement"></A> 300 <A NAME="DOC.2.1 6.22"></A>300 <A NAME="DOC.2.15.22"></A> 301 301 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcMovement()</B></TT> 302 302 <DD>For the give mouse movement calculate the movement of the camera. … … 304 304 <DL><DT><DD></DL><P> 305 305 <A NAME="trackball"></A> 306 <A NAME="DOC.2.1 6.23"></A>306 <A NAME="DOC.2.15.23"></A> 307 307 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void trackball(osg::Vec3& axis, float& angle, float p1x, float p1y, float p2x, float p2y)</B></TT> 308 308 <DL><DT><DD></DL><P> 309 309 <A NAME="tb_project_to_sphere"></A> 310 <A NAME="DOC.2.1 6.24"></A>310 <A NAME="DOC.2.15.24"></A> 311 311 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float tb_project_to_sphere(float r, float x, float y)</B></TT> 312 312 <DL><DT><DD></DL><P> 313 313 <A NAME="isMouseMoving"></A> 314 <A NAME="DOC.2.1 6.25"></A>314 <A NAME="DOC.2.15.25"></A> 315 315 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isMouseMoving()</B></TT> 316 316 <DD>Check the speed at which the mouse is moving. … … 318 318 <DL><DT><DD></DL><P> 319 319 <A NAME="_ga_t1"></A> 320 <A NAME="DOC.2.1 6.26"></A>320 <A NAME="DOC.2.15.26"></A> 321 321 <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> 322 322 <DL><DT><DD></DL><P> 323 323 <A NAME="_ga_t0"></A> 324 <A NAME="DOC.2.1 6.27"></A>324 <A NAME="DOC.2.15.27"></A> 325 325 <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> 326 326 <DL><DT><DD></DL><P> 327 327 <A NAME="_node"></A> 328 <A NAME="DOC.2.1 6.28"></A>328 <A NAME="DOC.2.15.28"></A> 329 329 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::Node> _node</B></TT> 330 330 <DL><DT><DD></DL><P> 331 331 <A NAME="_modelScale"></A> 332 <A NAME="DOC.2.1 6.29"></A>332 <A NAME="DOC.2.15.29"></A> 333 333 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _modelScale</B></TT> 334 334 <DL><DT><DD></DL><P> 335 335 <A NAME="_minimumZoomScale"></A> 336 <A NAME="DOC.2.1 6.30"></A>336 <A NAME="DOC.2.15.30"></A> 337 337 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _minimumZoomScale</B></TT> 338 338 <DL><DT><DD></DL><P> 339 339 <A NAME="_thrown"></A> 340 <A NAME="DOC.2.1 6.31"></A>340 <A NAME="DOC.2.15.31"></A> 341 341 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _thrown</B></TT> 342 342 <DL><DT><DD></DL><P> 343 343 <A NAME="_center"></A> 344 <A NAME="DOC.2.1 6.32"></A>344 <A NAME="DOC.2.15.32"></A> 345 345 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _center</B></TT> 346 346 <DL><DT><DD></DL><P> 347 347 <A NAME="_rotation"></A> 348 <A NAME="DOC.2.1 6.33"></A>348 <A NAME="DOC.2.15.33"></A> 349 349 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT> 350 350 <DL><DT><DD></DL><P> 351 351 <A NAME="_distance"></A> 352 <A NAME="DOC.2.1 6.34"></A>352 <A NAME="DOC.2.15.34"></A> 353 353 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _distance</B></TT> 354 354 <DL><DT><DD></DL><P></DL>
