- Timestamp:
- 08/24/04 12:58:51 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/doc/doc++/osgGA/TerrainManipulator.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 5.3">RotationMode</A></B>25 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.14.3">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 5.1">TerrainManipulator</A></B>()31 <DT> 32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.1 5.2">className</A></B>() const33 <DT> 34 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.4">setRotationMode</A></B>(<!1><A HREF="TerrainManipulator.html#DOC.2.15.3">RotationMode</A> mode)35 <DT> 36 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TerrainManipulator.html#DOC.2.1 5.3">RotationMode</A> <B><A HREF="#DOC.2.15.5">getRotationMode</A></B>() const37 <DT> 38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 5.6">setByMatrix</A></B>(const osg::Matrixd& matrix)30 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.14.1">TerrainManipulator</A></B>() 31 <DT> 32 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.14.2">className</A></B>() const 33 <DT> 34 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.4">setRotationMode</A></B>(<!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> mode) 35 <DT> 36 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> <B><A HREF="#DOC.2.14.5">getRotationMode</A></B>() const 37 <DT> 38 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.6">setByMatrix</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 void <B><A HREF="#DOC.2.1 5.7">setByInverseMatrix</A></B>(const osg::Matrixd& matrix)41 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.7">setByInverseMatrix</A></B>(const osg::Matrixd& matrix) 42 42 <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> 43 43 <DT> 44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 5.8">getMatrix</A></B>() const44 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.14.8">getMatrix</A></B>() const 45 45 <DD><I>get the position of the manipulator as 4x4 Matrix</I> 46 46 <DT> 47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.1 5.9">getInverseMatrix</A></B>() const47 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.14.9">getInverseMatrix</A></B>() const 48 48 <DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I> 49 49 <DT> 50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.1 5.10">getFusionDistanceMode</A></B>() const50 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.14.10">getFusionDistanceMode</A></B>() const 51 51 <DD><I>Get the FusionDistanceMode.</I> 52 52 <DT> 53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.1 5.11">getFusionDistanceValue</A></B>() const53 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.14.11">getFusionDistanceValue</A></B>() const 54 54 <DD><I>Get the FusionDistanceValue.</I> 55 55 <DT> 56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 5.12">setNode</A></B>(osg::Node*)56 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.12">setNode</A></B>(osg::Node*) 57 57 <DD><I>Attach a node to the manipulator.</I> 58 58 <DT> 59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.1 5.13">getNode</A></B>() const59 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.14.13">getNode</A></B>() const 60 60 <DD><I>Return node if attached</I> 61 61 <DT> 62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.1 5.14">getNode</A></B>()62 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.14.14">getNode</A></B>() 63 63 <DD><I>Return node if attached</I> 64 64 <DT> 65 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 5.15">home</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.14.15">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 66 66 <DD><I>Move the camera to the default position.</I> 67 67 <DT> 68 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 5.16">init</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 void <B><A HREF="#DOC.2.14.16">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 69 69 <DD><I>Start/restart the manipulator</I> 70 70 <DT> 71 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.1 5.17">handle</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 bool <B><A HREF="#DOC.2.14.17">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) 72 72 <DD><I>handle events, return true if handled, false otherwise</I> 73 73 <DT> 74 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.1 5.18">getUsage</A></B>(osg::ApplicationUsage& usage) const74 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.18">getUsage</A></B>(osg::ApplicationUsage& usage) const 75 75 <DD><I>Get the keyboard and mouse usage of this manipulator</I> 76 76 </DL></P> … … 78 78 <P><DL> 79 79 <DT><H3>Protected Fields</H3><DD><DT> 80 <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 5.28">_ga_t1</A></B>81 <DT> 82 <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 5.29">_ga_t0</A></B>83 <DT> 84 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.1 5.30">_node</A></B>85 <DT> 86 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TerrainManipulator.html#DOC.2.1 5.3">RotationMode</A> <B><A HREF="#DOC.2.15.31">_rotationMode</A></B>87 <DT> 88 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 5.32">_thrown</A></B>89 <DT> 90 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 5.33">_center</A></B>91 <DT> 92 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.1 5.34">_rotation</A></B>93 <DT> 94 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.1 5.35">_distance</A></B>95 <DT> 96 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.1 5.36">_previousUp</A></B>80 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.14.28">_ga_t1</A></B> 81 <DT> 82 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.14.29">_ga_t0</A></B> 83 <DT> 84 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.14.30">_node</A></B> 85 <DT> 86 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> <B><A HREF="#DOC.2.14.31">_rotationMode</A></B> 87 <DT> 88 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.32">_thrown</A></B> 89 <DT> 90 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.14.33">_center</A></B> 91 <DT> 92 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.14.34">_rotation</A></B> 93 <DT> 94 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.14.35">_distance</A></B> 95 <DT> 96 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.14.36">_previousUp</A></B> 97 97 </DL></P> 98 98 99 99 <P><DL> 100 100 <DT><H3>Protected Methods</H3><DD><DT> 101 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.1 5.19">~TerrainManipulator</A></B>()102 <DT> 103 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.20">flushMouseEventStack</A></B>()101 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.14.19">~TerrainManipulator</A></B>() 102 <DT> 103 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.20">flushMouseEventStack</A></B>() 104 104 <DD><I>Reset the internal GUIEvent stack</I> 105 105 <DT> 106 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.21">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)106 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.21">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea) 107 107 <DD><I>Add the current mouse GUIEvent to internal stack</I> 108 108 <DT> 109 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.22">computePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up)110 <DT> 111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 5.23">calcMovement</A></B>()109 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.22">computePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up) 110 <DT> 111 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.23">calcMovement</A></B>() 112 112 <DD><I>For the give mouse movement calculate the movement of the camera.</I> 113 113 <DT> 114 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.24">trackball</A></B>(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y)115 <DT> 116 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.1 5.25">tb_project_to_sphere</A></B>(double r, double x, double y)117 <DT> 118 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.1 5.26">isMouseMoving</A></B>()114 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.24">trackball</A></B>(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y) 115 <DT> 116 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.14.25">tb_project_to_sphere</A></B>(double r, double x, double y) 117 <DT> 118 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.26">isMouseMoving</A></B>() 119 119 <DD><I>Check the speed at which the mouse is moving.</I> 120 120 <DT> 121 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.1 5.27">clampOrientation</A></B>()121 <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.27">clampOrientation</A></B>() 122 122 </DL></P> 123 123 … … 197 197 198 198 <A NAME="TerrainManipulator"></A> 199 <A NAME="DOC.2.1 5.1"></A>199 <A NAME="DOC.2.14.1"></A> 200 200 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TerrainManipulator()</B></TT> 201 201 <DL><DT><DD></DL><P> 202 202 <A NAME="className"></A> 203 <A NAME="DOC.2.1 5.2"></A>203 <A NAME="DOC.2.14.2"></A> 204 204 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> 205 205 <DL><DT><DD></DL><P> 206 206 <A NAME="RotationMode"></A> 207 <A NAME="DOC.2.1 5.3"></A>207 <A NAME="DOC.2.14.3"></A> 208 208 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum RotationMode</B></TT> 209 209 <DL><DT><DD></DL><P><DL> 210 210 211 211 <A NAME="ELEVATION_AZIM_ROLL"></A> 212 <A NAME="DOC.2.1 5.3.1"></A>212 <A NAME="DOC.2.14.3.1"></A> 213 213 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM_ROLL</B></TT> 214 214 <DL><DT><DD></DL><P> 215 215 <A NAME="ELEVATION_AZIM"></A> 216 <A NAME="DOC.2.1 5.3.2"></A>216 <A NAME="DOC.2.14.3.2"></A> 217 217 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM</B></TT> 218 218 <DL><DT><DD></DL><P></DL> 219 219 220 220 <A NAME="setRotationMode"></A> 221 <A NAME="DOC.2.1 5.4"></A>222 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRotationMode(<!1><A HREF="TerrainManipulator.html#DOC.2.1 5.3">RotationMode</A> mode)</B></TT>221 <A NAME="DOC.2.14.4"></A> 222 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setRotationMode(<!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> mode)</B></TT> 223 223 <DL><DT><DD></DL><P> 224 224 <A NAME="getRotationMode"></A> 225 <A NAME="DOC.2.1 5.5"></A>226 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TerrainManipulator.html#DOC.2.1 5.3">RotationMode</A> getRotationMode() const </B></TT>225 <A NAME="DOC.2.14.5"></A> 226 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> getRotationMode() const </B></TT> 227 227 <DL><DT><DD></DL><P> 228 228 <A NAME="setByMatrix"></A> 229 <A NAME="DOC.2.1 5.6"></A>229 <A NAME="DOC.2.14.6"></A> 230 230 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByMatrix(const osg::Matrixd& matrix)</B></TT> 231 231 <DD>set the position of the matrix manipulator using a 4x4 Matrix 232 232 <DL><DT><DD></DL><P> 233 233 <A NAME="setByInverseMatrix"></A> 234 <A NAME="DOC.2.1 5.7"></A>234 <A NAME="DOC.2.14.7"></A> 235 235 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByInverseMatrix(const osg::Matrixd& matrix)</B></TT> 236 236 <DD>set the position of the matrix manipulator using a 4x4 Matrix 237 237 <DL><DT><DD></DL><P> 238 238 <A NAME="getMatrix"></A> 239 <A NAME="DOC.2.1 5.8"></A>239 <A NAME="DOC.2.14.8"></A> 240 240 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getMatrix() const </B></TT> 241 241 <DD>get the position of the manipulator as 4x4 Matrix 242 242 <DL><DT><DD></DL><P> 243 243 <A NAME="getInverseMatrix"></A> 244 <A NAME="DOC.2.1 5.9"></A>244 <A NAME="DOC.2.14.9"></A> 245 245 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getInverseMatrix() const </B></TT> 246 246 <DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix 247 247 <DL><DT><DD></DL><P> 248 248 <A NAME="getFusionDistanceMode"></A> 249 <A NAME="DOC.2.1 5.10"></A>249 <A NAME="DOC.2.14.10"></A> 250 250 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT> 251 251 <DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. 252 252 <DL><DT><DD></DL><P> 253 253 <A NAME="getFusionDistanceValue"></A> 254 <A NAME="DOC.2.1 5.11"></A>254 <A NAME="DOC.2.14.11"></A> 255 255 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getFusionDistanceValue() const </B></TT> 256 256 <DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. 257 257 <DL><DT><DD></DL><P> 258 258 <A NAME="setNode"></A> 259 <A NAME="DOC.2.1 5.12"></A>259 <A NAME="DOC.2.14.12"></A> 260 260 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node*)</B></TT> 261 261 <DD>Attach a node to the manipulator. … … 265 265 <DL><DT><DD></DL><P> 266 266 <A NAME="getNode"></A> 267 <A NAME="DOC.2.1 5.13"></A>267 <A NAME="DOC.2.14.13"></A> 268 268 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const osg::Node* getNode() const </B></TT> 269 269 <DD>Return node if attached 270 270 <DL><DT><DD></DL><P> 271 271 <A NAME="getNode"></A> 272 <A NAME="DOC.2.1 5.14"></A>272 <A NAME="DOC.2.14.14"></A> 273 273 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT> 274 274 <DD>Return node if attached 275 275 <DL><DT><DD></DL><P> 276 276 <A NAME="home"></A> 277 <A NAME="DOC.2.1 5.15"></A>277 <A NAME="DOC.2.14.15"></A> 278 278 <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> 279 279 <DD>Move the camera to the default position. … … 281 281 <DL><DT><DD></DL><P> 282 282 <A NAME="init"></A> 283 <A NAME="DOC.2.1 5.16"></A>283 <A NAME="DOC.2.14.16"></A> 284 284 <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> 285 285 <DD>Start/restart the manipulator 286 286 <DL><DT><DD></DL><P> 287 287 <A NAME="handle"></A> 288 <A NAME="DOC.2.1 5.17"></A>288 <A NAME="DOC.2.14.17"></A> 289 289 <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> 290 290 <DD>handle events, return true if handled, false otherwise 291 291 <DL><DT><DD></DL><P> 292 292 <A NAME="getUsage"></A> 293 <A NAME="DOC.2.1 5.18"></A>293 <A NAME="DOC.2.14.18"></A> 294 294 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void getUsage(osg::ApplicationUsage& usage) const </B></TT> 295 295 <DD>Get the keyboard and mouse usage of this manipulator 296 296 <DL><DT><DD></DL><P> 297 297 <A NAME="~TerrainManipulator"></A> 298 <A NAME="DOC.2.1 5.19"></A>298 <A NAME="DOC.2.14.19"></A> 299 299 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~TerrainManipulator()</B></TT> 300 300 <DL><DT><DD></DL><P> 301 301 <A NAME="flushMouseEventStack"></A> 302 <A NAME="DOC.2.1 5.20"></A>302 <A NAME="DOC.2.14.20"></A> 303 303 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void flushMouseEventStack()</B></TT> 304 304 <DD>Reset the internal GUIEvent stack 305 305 <DL><DT><DD></DL><P> 306 306 <A NAME="addMouseEvent"></A> 307 <A NAME="DOC.2.1 5.21"></A>307 <A NAME="DOC.2.14.21"></A> 308 308 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addMouseEvent(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)</B></TT> 309 309 <DD>Add the current mouse GUIEvent to internal stack 310 310 <DL><DT><DD></DL><P> 311 311 <A NAME="computePosition"></A> 312 <A NAME="DOC.2.1 5.22"></A>312 <A NAME="DOC.2.14.22"></A> 313 313 <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> 314 314 <DL><DT><DD></DL><P> 315 315 <A NAME="calcMovement"></A> 316 <A NAME="DOC.2.1 5.23"></A>316 <A NAME="DOC.2.14.23"></A> 317 317 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcMovement()</B></TT> 318 318 <DD>For the give mouse movement calculate the movement of the camera. … … 320 320 <DL><DT><DD></DL><P> 321 321 <A NAME="trackball"></A> 322 <A NAME="DOC.2.1 5.24"></A>322 <A NAME="DOC.2.14.24"></A> 323 323 <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> 324 324 <DL><DT><DD></DL><P> 325 325 <A NAME="tb_project_to_sphere"></A> 326 <A NAME="DOC.2.1 5.25"></A>326 <A NAME="DOC.2.14.25"></A> 327 327 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double tb_project_to_sphere(double r, double x, double y)</B></TT> 328 328 <DL><DT><DD></DL><P> 329 329 <A NAME="isMouseMoving"></A> 330 <A NAME="DOC.2.1 5.26"></A>330 <A NAME="DOC.2.14.26"></A> 331 331 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isMouseMoving()</B></TT> 332 332 <DD>Check the speed at which the mouse is moving. … … 334 334 <DL><DT><DD></DL><P> 335 335 <A NAME="clampOrientation"></A> 336 <A NAME="DOC.2.1 5.27"></A>336 <A NAME="DOC.2.14.27"></A> 337 337 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void clampOrientation()</B></TT> 338 338 <DL><DT><DD></DL><P> 339 339 <A NAME="_ga_t1"></A> 340 <A NAME="DOC.2.1 5.28"></A>340 <A NAME="DOC.2.14.28"></A> 341 341 <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> 342 342 <DL><DT><DD></DL><P> 343 343 <A NAME="_ga_t0"></A> 344 <A NAME="DOC.2.1 5.29"></A>344 <A NAME="DOC.2.14.29"></A> 345 345 <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> 346 346 <DL><DT><DD></DL><P> 347 347 <A NAME="_node"></A> 348 <A NAME="DOC.2.1 5.30"></A>348 <A NAME="DOC.2.14.30"></A> 349 349 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<osg::Node> _node</B></TT> 350 350 <DL><DT><DD></DL><P> 351 351 <A NAME="_rotationMode"></A> 352 <A NAME="DOC.2.1 5.31"></A>353 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TerrainManipulator.html#DOC.2.1 5.3">RotationMode</A> _rotationMode</B></TT>352 <A NAME="DOC.2.14.31"></A> 353 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="TerrainManipulator.html#DOC.2.14.3">RotationMode</A> _rotationMode</B></TT> 354 354 <DL><DT><DD></DL><P> 355 355 <A NAME="_thrown"></A> 356 <A NAME="DOC.2.1 5.32"></A>356 <A NAME="DOC.2.14.32"></A> 357 357 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _thrown</B></TT> 358 358 <DL><DT><DD></DL><P> 359 359 <A NAME="_center"></A> 360 <A NAME="DOC.2.1 5.33"></A>360 <A NAME="DOC.2.14.33"></A> 361 361 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _center</B></TT> 362 362 <DL><DT><DD></DL><P> 363 363 <A NAME="_rotation"></A> 364 <A NAME="DOC.2.1 5.34"></A>364 <A NAME="DOC.2.14.34"></A> 365 365 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT> 366 366 <DL><DT><DD></DL><P> 367 367 <A NAME="_distance"></A> 368 <A NAME="DOC.2.1 5.35"></A>368 <A NAME="DOC.2.14.35"></A> 369 369 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _distance</B></TT> 370 370 <DL><DT><DD></DL><P> 371 371 <A NAME="_previousUp"></A> 372 <A NAME="DOC.2.1 5.36"></A>372 <A NAME="DOC.2.14.36"></A> 373 373 <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _previousUp</B></TT> 374 374 <DL><DT><DD></DL><P></DL>
