- Timestamp:
- 08/24/04 12:58:51 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/doc/doc++/osgGA/TrackerManipulator.html
r3244 r3315 23 23 <P><DL> 24 24 <DT><H3>Public Classes</H3><DD><DT> 25 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.1 7.6">RotationMode</A></B>25 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.16.6">RotationMode</A></B> 26 26 </DL></P> 27 27 28 28 <P><DL> 29 29 <DT><H3>Public Methods</H3><DD><DT> 30 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.1 7.1">TrackerManipulator</A></B>()31 <DT> 32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.1 7.2">className</A></B>() const33 <DT> 34 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.3">setTrackNode</A></B>(osg::Node* node)35 <DT> 36 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Node* <B><A HREF="#DOC.2.1 7.4">getTrackNode</A></B>()37 <DT> 38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Node* <B><A HREF="#DOC.2.1 7.5">getTrackNode</A></B>() const39 <DT> 40 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.7">setRotationMode</A></B>(<!1><A HREF="TrackerManipulator.html#DOC.2.17.6">RotationMode</A> mode)41 <DT> 42 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TrackerManipulator.html#DOC.2.1 7.6">RotationMode</A> <B><A HREF="#DOC.2.17.8">getRotationMode</A></B>() const43 <DT> 44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.9">setByMatrix</A></B>(const osg::Matrixd& matrix)30 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.16.1">TrackerManipulator</A></B>() 31 <DT> 32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.16.2">className</A></B>() const 33 <DT> 34 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.3">setTrackNode</A></B>(osg::Node* node) 35 <DT> 36 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Node* <B><A HREF="#DOC.2.16.4">getTrackNode</A></B>() 37 <DT> 38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const osg::Node* <B><A HREF="#DOC.2.16.5">getTrackNode</A></B>() const 39 <DT> 40 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.7">setRotationMode</A></B>(<!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> mode) 41 <DT> 42 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> <B><A HREF="#DOC.2.16.8">getRotationMode</A></B>() const 43 <DT> 44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.9">setByMatrix</A></B>(const osg::Matrixd& matrix) 45 45 <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> 46 46 <DT> 47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.10">setByInverseMatrix</A></B>(const osg::Matrixd& matrix)47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.10">setByInverseMatrix</A></B>(const osg::Matrixd& matrix) 48 48 <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> 49 49 <DT> 50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 7.11">getMatrix</A></B>() const50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.16.11">getMatrix</A></B>() const 51 51 <DD><I>get the position of the manipulator as 4x4 Matrix</I> 52 52 <DT> 53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 7.12">getInverseMatrix</A></B>() const53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.16.12">getInverseMatrix</A></B>() const 54 54 <DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I> 55 55 <DT> 56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.1 7.13">getFusionDistanceMode</A></B>() const56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.16.13">getFusionDistanceMode</A></B>() const 57 57 <DD><I>Get the FusionDistanceMode.</I> 58 58 <DT> 59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.1 7.14">getFusionDistanceValue</A></B>() const59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.16.14">getFusionDistanceValue</A></B>() const 60 60 <DD><I>Get the FusionDistanceValue.</I> 61 61 <DT> 62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.15">setNode</A></B>(osg::Node*)62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.15">setNode</A></B>(osg::Node*) 63 63 <DD><I>Attach a node to the manipulator.</I> 64 64 <DT> 65 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.1 7.16">getNode</A></B>() const65 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.16.16">getNode</A></B>() const 66 66 <DD><I>Return node if attached</I> 67 67 <DT> 68 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.1 7.17">getNode</A></B>()68 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.16.17">getNode</A></B>() 69 69 <DD><I>Return node if attached</I> 70 70 <DT> 71 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.18">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)71 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.18">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 72 72 <DD><I>Move the camera to the default position.</I> 73 73 <DT> 74 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.19">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)74 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.19">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 75 75 <DD><I>Start/restart the manipulator</I> 76 76 <DT> 77 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.1 7.20">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)77 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.16.20">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 78 78 <DD><I>handle events, return true if handled, false otherwise</I> 79 79 <DT> 80 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 7.21">getUsage</A></B>(osg::ApplicationUsage& usage) const80 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.16.21">getUsage</A></B>(osg::ApplicationUsage& usage) const 81 81 <DD><I>Get the keyboard and mouse usage of this manipulator</I> 82 82 </DL></P> … … 84 84 <P><DL> 85 85 <DT><H3>Protected Fields</H3><DD><DT> 86 <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 7.32">_ga_t1</A></B>87 <DT> 88 <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 7.33">_ga_t0</A></B>89 <DT> 90 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.1 7.34">_node</A></B>91 <DT> 92 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.1 7.35">_trackNode</A></B>93 <DT> 94 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TrackerManipulator.html#DOC.2.1 7.6">RotationMode</A> <B><A HREF="#DOC.2.17.36">_rotationMode</A></B>95 <DT> 96 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 7.37">_thrown</A></B>97 <DT> 98 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 7.38">_center</A></B>99 <DT> 100 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.1 7.39">_rotation</A></B>101 <DT> 102 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.1 7.40">_distance</A></B>103 <DT> 104 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 7.41">_previousUp</A></B>86 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.16.32">_ga_t1</A></B> 87 <DT> 88 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.16.33">_ga_t0</A></B> 89 <DT> 90 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.16.34">_node</A></B> 91 <DT> 92 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.16.35">_trackNode</A></B> 93 <DT> 94 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> <B><A HREF="#DOC.2.16.36">_rotationMode</A></B> 95 <DT> 96 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.16.37">_thrown</A></B> 97 <DT> 98 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.16.38">_center</A></B> 99 <DT> 100 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.16.39">_rotation</A></B> 101 <DT> 102 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.16.40">_distance</A></B> 103 <DT> 104 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.16.41">_previousUp</A></B> 105 105 </DL></P> 106 106 107 107 <P><DL> 108 108 <DT><H3>Protected Methods</H3><DD><DT> 109 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.1 7.22">~TrackerManipulator</A></B>()110 <DT> 111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.23">flushMouseEventStack</A></B>()109 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.16.22">~TrackerManipulator</A></B>() 110 <DT> 111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.23">flushMouseEventStack</A></B>() 112 112 <DD><I>Reset the internal GUIEvent stack</I> 113 113 <DT> 114 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.24">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)114 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.24">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea) 115 115 <DD><I>Add the current mouse GUIEvent to internal stack</I> 116 116 <DT> 117 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 7.25">computeCenter</A></B>() const118 <DT> 119 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.26">computePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up)120 <DT> 121 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 7.27">calcMovement</A></B>()117 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.16.25">computeCenter</A></B>() const 118 <DT> 119 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.26">computePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up) 120 <DT> 121 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.16.27">calcMovement</A></B>() 122 122 <DD><I>For the give mouse movement calculate the movement of the camera.</I> 123 123 <DT> 124 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.28">trackball</A></B>(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y)125 <DT> 126 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.1 7.29">tb_project_to_sphere</A></B>(double r, double x, double y)127 <DT> 128 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 7.30">isMouseMoving</A></B>()124 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.28">trackball</A></B>(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y) 125 <DT> 126 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.16.29">tb_project_to_sphere</A></B>(double r, double x, double y) 127 <DT> 128 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.16.30">isMouseMoving</A></B>() 129 129 <DD><I>Check the speed at which the mouse is moving.</I> 130 130 <DT> 131 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 7.31">clampOrientation</A></B>()131 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.31">clampOrientation</A></B>() 132 132 </DL></P> 133 133 … … 207 207 208 208 <A NAME="TrackerManipulator"></A> 209 <A NAME="DOC.2.1 7.1"></A>209 <A NAME="DOC.2.16.1"></A> 210 210 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TrackerManipulator()</B></TT> 211 211 <DL><DT><DD></DL><P> 212 212 <A NAME="className"></A> 213 <A NAME="DOC.2.1 7.2"></A>213 <A NAME="DOC.2.16.2"></A> 214 214 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> 215 215 <DL><DT><DD></DL><P> 216 216 <A NAME="setTrackNode"></A> 217 <A NAME="DOC.2.1 7.3"></A>217 <A NAME="DOC.2.16.3"></A> 218 218 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTrackNode(osg::Node* node)</B></TT> 219 219 <DL><DT><DD></DL><P> 220 220 <A NAME="getTrackNode"></A> 221 <A NAME="DOC.2.1 7.4"></A>221 <A NAME="DOC.2.16.4"></A> 222 222 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Node* getTrackNode()</B></TT> 223 223 <DL><DT><DD></DL><P> 224 224 <A NAME="getTrackNode"></A> 225 <A NAME="DOC.2.1 7.5"></A>225 <A NAME="DOC.2.16.5"></A> 226 226 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Node* getTrackNode() const </B></TT> 227 227 <DL><DT><DD></DL><P> 228 228 <A NAME="RotationMode"></A> 229 <A NAME="DOC.2.1 7.6"></A>229 <A NAME="DOC.2.16.6"></A> 230 230 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum RotationMode</B></TT> 231 231 <DL><DT><DD></DL><P><DL> 232 232 233 233 <A NAME="ELEVATION_AZIM_ROLL"></A> 234 <A NAME="DOC.2.1 7.6.1"></A>234 <A NAME="DOC.2.16.6.1"></A> 235 235 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM_ROLL</B></TT> 236 236 <DL><DT><DD></DL><P> 237 237 <A NAME="ELEVATION_AZIM"></A> 238 <A NAME="DOC.2.1 7.6.2"></A>238 <A NAME="DOC.2.16.6.2"></A> 239 239 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM</B></TT> 240 240 <DL><DT><DD></DL><P></DL> 241 241 242 242 <A NAME="setRotationMode"></A> 243 <A NAME="DOC.2.1 7.7"></A>244 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRotationMode(<!1><A HREF="TrackerManipulator.html#DOC.2.1 7.6">RotationMode</A> mode)</B></TT>243 <A NAME="DOC.2.16.7"></A> 244 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRotationMode(<!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> mode)</B></TT> 245 245 <DL><DT><DD></DL><P> 246 246 <A NAME="getRotationMode"></A> 247 <A NAME="DOC.2.1 7.8"></A>248 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TrackerManipulator.html#DOC.2.1 7.6">RotationMode</A> getRotationMode() const </B></TT>247 <A NAME="DOC.2.16.8"></A> 248 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> getRotationMode() const </B></TT> 249 249 <DL><DT><DD></DL><P> 250 250 <A NAME="setByMatrix"></A> 251 <A NAME="DOC.2.1 7.9"></A>251 <A NAME="DOC.2.16.9"></A> 252 252 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByMatrix(const osg::Matrixd& matrix)</B></TT> 253 253 <DD>set the position of the matrix manipulator using a 4x4 Matrix 254 254 <DL><DT><DD></DL><P> 255 255 <A NAME="setByInverseMatrix"></A> 256 <A NAME="DOC.2.1 7.10"></A>256 <A NAME="DOC.2.16.10"></A> 257 257 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByInverseMatrix(const osg::Matrixd& matrix)</B></TT> 258 258 <DD>set the position of the matrix manipulator using a 4x4 Matrix 259 259 <DL><DT><DD></DL><P> 260 260 <A NAME="getMatrix"></A> 261 <A NAME="DOC.2.1 7.11"></A>261 <A NAME="DOC.2.16.11"></A> 262 262 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getMatrix() const </B></TT> 263 263 <DD>get the position of the manipulator as 4x4 Matrix 264 264 <DL><DT><DD></DL><P> 265 265 <A NAME="getInverseMatrix"></A> 266 <A NAME="DOC.2.1 7.12"></A>266 <A NAME="DOC.2.16.12"></A> 267 267 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getInverseMatrix() const </B></TT> 268 268 <DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix 269 269 <DL><DT><DD></DL><P> 270 270 <A NAME="getFusionDistanceMode"></A> 271 <A NAME="DOC.2.1 7.13"></A>271 <A NAME="DOC.2.16.13"></A> 272 272 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT> 273 273 <DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. 274 274 <DL><DT><DD></DL><P> 275 275 <A NAME="getFusionDistanceValue"></A> 276 <A NAME="DOC.2.1 7.14"></A>276 <A NAME="DOC.2.16.14"></A> 277 277 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getFusionDistanceValue() const </B></TT> 278 278 <DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. 279 279 <DL><DT><DD></DL><P> 280 280 <A NAME="setNode"></A> 281 <A NAME="DOC.2.1 7.15"></A>281 <A NAME="DOC.2.16.15"></A> 282 282 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node*)</B></TT> 283 283 <DD>Attach a node to the manipulator. … … 287 287 <DL><DT><DD></DL><P> 288 288 <A NAME="getNode"></A> 289 <A NAME="DOC.2.1 7.16"></A>289 <A NAME="DOC.2.16.16"></A> 290 290 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const osg::Node* getNode() const </B></TT> 291 291 <DD>Return node if attached 292 292 <DL><DT><DD></DL><P> 293 293 <A NAME="getNode"></A> 294 <A NAME="DOC.2.1 7.17"></A>294 <A NAME="DOC.2.16.17"></A> 295 295 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT> 296 296 <DD>Return node if attached 297 297 <DL><DT><DD></DL><P> 298 298 <A NAME="home"></A> 299 <A NAME="DOC.2.1 7.18"></A>299 <A NAME="DOC.2.16.18"></A> 300 300 <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> 301 301 <DD>Move the camera to the default position. … … 303 303 <DL><DT><DD></DL><P> 304 304 <A NAME="init"></A> 305 <A NAME="DOC.2.1 7.19"></A>305 <A NAME="DOC.2.16.19"></A> 306 306 <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> 307 307 <DD>Start/restart the manipulator 308 308 <DL><DT><DD></DL><P> 309 309 <A NAME="handle"></A> 310 <A NAME="DOC.2.1 7.20"></A>310 <A NAME="DOC.2.16.20"></A> 311 311 <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> 312 312 <DD>handle events, return true if handled, false otherwise 313 313 <DL><DT><DD></DL><P> 314 314 <A NAME="getUsage"></A> 315 <A NAME="DOC.2.1 7.21"></A>315 <A NAME="DOC.2.16.21"></A> 316 316 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void getUsage(osg::ApplicationUsage& usage) const </B></TT> 317 317 <DD>Get the keyboard and mouse usage of this manipulator 318 318 <DL><DT><DD></DL><P> 319 319 <A NAME="~TrackerManipulator"></A> 320 <A NAME="DOC.2.1 7.22"></A>320 <A NAME="DOC.2.16.22"></A> 321 321 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~TrackerManipulator()</B></TT> 322 322 <DL><DT><DD></DL><P> 323 323 <A NAME="flushMouseEventStack"></A> 324 <A NAME="DOC.2.1 7.23"></A>324 <A NAME="DOC.2.16.23"></A> 325 325 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void flushMouseEventStack()</B></TT> 326 326 <DD>Reset the internal GUIEvent stack 327 327 <DL><DT><DD></DL><P> 328 328 <A NAME="addMouseEvent"></A> 329 <A NAME="DOC.2.1 7.24"></A>329 <A NAME="DOC.2.16.24"></A> 330 330 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addMouseEvent(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)</B></TT> 331 331 <DD>Add the current mouse GUIEvent to internal stack 332 332 <DL><DT><DD></DL><P> 333 333 <A NAME="computeCenter"></A> 334 <A NAME="DOC.2.1 7.25"></A>334 <A NAME="DOC.2.16.25"></A> 335 335 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d computeCenter() const </B></TT> 336 336 <DL><DT><DD></DL><P> 337 337 <A NAME="computePosition"></A> 338 <A NAME="DOC.2.1 7.26"></A>338 <A NAME="DOC.2.16.26"></A> 339 339 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePosition(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up)</B></TT> 340 340 <DL><DT><DD></DL><P> 341 341 <A NAME="calcMovement"></A> 342 <A NAME="DOC.2.1 7.27"></A>342 <A NAME="DOC.2.16.27"></A> 343 343 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcMovement()</B></TT> 344 344 <DD>For the give mouse movement calculate the movement of the camera. … … 346 346 <DL><DT><DD></DL><P> 347 347 <A NAME="trackball"></A> 348 <A NAME="DOC.2.1 7.28"></A>348 <A NAME="DOC.2.16.28"></A> 349 349 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void trackball(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y)</B></TT> 350 350 <DL><DT><DD></DL><P> 351 351 <A NAME="tb_project_to_sphere"></A> 352 <A NAME="DOC.2.1 7.29"></A>352 <A NAME="DOC.2.16.29"></A> 353 353 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double tb_project_to_sphere(double r, double x, double y)</B></TT> 354 354 <DL><DT><DD></DL><P> 355 355 <A NAME="isMouseMoving"></A> 356 <A NAME="DOC.2.1 7.30"></A>356 <A NAME="DOC.2.16.30"></A> 357 357 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isMouseMoving()</B></TT> 358 358 <DD>Check the speed at which the mouse is moving. … … 360 360 <DL><DT><DD></DL><P> 361 361 <A NAME="clampOrientation"></A> 362 <A NAME="DOC.2.1 7.31"></A>362 <A NAME="DOC.2.16.31"></A> 363 363 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void clampOrientation()</B></TT> 364 364 <DL><DT><DD></DL><P> 365 365 <A NAME="_ga_t1"></A> 366 <A NAME="DOC.2.1 7.32"></A>366 <A NAME="DOC.2.16.32"></A> 367 367 <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> 368 368 <DL><DT><DD></DL><P> 369 369 <A NAME="_ga_t0"></A> 370 <A NAME="DOC.2.1 7.33"></A>370 <A NAME="DOC.2.16.33"></A> 371 371 <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> 372 372 <DL><DT><DD></DL><P> 373 373 <A NAME="_node"></A> 374 <A NAME="DOC.2.1 7.34"></A>374 <A NAME="DOC.2.16.34"></A> 375 375 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::Node> _node</B></TT> 376 376 <DL><DT><DD></DL><P> 377 377 <A NAME="_trackNode"></A> 378 <A NAME="DOC.2.1 7.35"></A>378 <A NAME="DOC.2.16.35"></A> 379 379 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::Node> _trackNode</B></TT> 380 380 <DL><DT><DD></DL><P> 381 381 <A NAME="_rotationMode"></A> 382 <A NAME="DOC.2.1 7.36"></A>383 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TrackerManipulator.html#DOC.2.1 7.6">RotationMode</A> _rotationMode</B></TT>382 <A NAME="DOC.2.16.36"></A> 383 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TrackerManipulator.html#DOC.2.16.6">RotationMode</A> _rotationMode</B></TT> 384 384 <DL><DT><DD></DL><P> 385 385 <A NAME="_thrown"></A> 386 <A NAME="DOC.2.1 7.37"></A>386 <A NAME="DOC.2.16.37"></A> 387 387 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _thrown</B></TT> 388 388 <DL><DT><DD></DL><P> 389 389 <A NAME="_center"></A> 390 <A NAME="DOC.2.1 7.38"></A>390 <A NAME="DOC.2.16.38"></A> 391 391 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _center</B></TT> 392 392 <DL><DT><DD></DL><P> 393 393 <A NAME="_rotation"></A> 394 <A NAME="DOC.2.1 7.39"></A>394 <A NAME="DOC.2.16.39"></A> 395 395 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT> 396 396 <DL><DT><DD></DL><P> 397 397 <A NAME="_distance"></A> 398 <A NAME="DOC.2.1 7.40"></A>398 <A NAME="DOC.2.16.40"></A> 399 399 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _distance</B></TT> 400 400 <DL><DT><DD></DL><P> 401 401 <A NAME="_previousUp"></A> 402 <A NAME="DOC.2.1 7.41"></A>402 <A NAME="DOC.2.16.41"></A> 403 403 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _previousUp</B></TT> 404 404 <DL><DT><DD></DL><P></DL>
