root/OpenSceneGraph/trunk/doc/doc++/osgGA/TerrainManipulator.html @ 3315

Revision 3315, 18.5 kB (checked in by robert, 10 years ago)

Updated docs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
3<HTML>
4<HEAD>
5   <TITLE>class  OSGGA_EXPORT osgGA::TerrainManipulator</TITLE>
6   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
7</HEAD>
8<BODY BGCOLOR="#ffffff">
9
10<H2>class  OSGGA_EXPORT <A HREF="#DOC.DOCU">osgGA::TerrainManipulator</A></H2></H2><HR>
11
12<H2>Inheritance:</H2>
13<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
14<param name=classes value="Mosg::Object,M,CGUIEventHandler,MGUIEventHandler.html,CMatrixManipulator,MMatrixManipulator.html,CTerrainManipulator,MTerrainManipulator.html">
15<param name=before value="M,M,M,M">
16<param name=after value="Md_SPSP,Md_SP,Md_,M">
17<param name=indent value="0,1,2,3">
18<param name=arrowdir value="down">
19</APPLET>
20<HR>
21
22<DL>
23<P><DL>
24<DT><H3>Public Classes</H3><DD><DT>
25<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum  <B><A HREF="#DOC.2.14.3">RotationMode</A></B>
26</DL></P>
27
28<P><DL>
29<DT><H3>Public Methods</H3><DD><DT>
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&amp; matrix)
39<DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I>
40<DT>
41<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.14.7">setByInverseMatrix</A></B>(const osg::Matrixd&amp; matrix)
42<DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I>
43<DT>
44<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Matrixd <B><A HREF="#DOC.2.14.8">getMatrix</A></B>() const
45<DD><I>get the position of the manipulator as 4x4 Matrix</I>
46<DT>
47<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Matrixd <B><A HREF="#DOC.2.14.9">getInverseMatrix</A></B>() const
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<DT>
50<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.14.10">getFusionDistanceMode</A></B>() const
51<DD><I>Get the FusionDistanceMode.</I>
52<DT>
53<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   float <B><A HREF="#DOC.2.14.11">getFusionDistanceValue</A></B>() const
54<DD><I>Get the FusionDistanceValue.</I>
55<DT>
56<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.14.12">setNode</A></B>(osg::Node*)
57<DD><I>Attach a node to the manipulator.</I>
58<DT>
59<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const osg::Node* <B><A HREF="#DOC.2.14.13">getNode</A></B>() const
60<DD><I>Return node if attached</I>
61<DT>
62<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Node* <B><A HREF="#DOC.2.14.14">getNode</A></B>()
63<DD><I>Return node if attached</I>
64<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
66<DD><I>Move the camera to the default position.</I>
67<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
69<DD><I>Start/restart the manipulator</I>
70<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
72<DD><I>handle events, return true if handled, false otherwise</I>
73<DT>
74<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.14.18">getUsage</A></B>(osg::ApplicationUsage&amp; usage) const
75<DD><I>Get the keyboard and mouse usage of this manipulator</I>
76</DL></P>
77
78<P><DL>
79<DT><H3>Protected Fields</H3><DD><DT>
80<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&gt;  <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&lt;const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&gt;  <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&lt;osg::Node&gt;  <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</DL></P>
98
99<P><DL>
100<DT><H3>Protected Methods</H3><DD><DT>
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<DD><I>Reset the internal GUIEvent stack</I>
105<DT>
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>&amp; ea)
107<DD><I>Add the current mouse GUIEvent to internal stack</I>
108<DT>
109<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.22">computePosition</A></B>(const osg::Vec3d&amp; eye, const osg::Vec3d&amp; lv, const osg::Vec3d&amp; up)
110<DT>
111<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.23">calcMovement</A></B>()
112<DD><I>For the give mouse movement calculate the movement of the camera.</I>
113<DT>
114<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.24">trackball</A></B>(osg::Vec3&amp; axis, double&amp; 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<DD><I>Check the speed at which the mouse is moving.</I>
120<DT>
121<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.27">clampOrientation</A></B>()
122</DL></P>
123
124</DL>
125<HR><H3>Inherited from <A HREF="MatrixManipulator.html">MatrixManipulator</A>:</H3>
126<DL>
127<P><DL>
128<DT><H3>Public Classes</H3><DD><DT>
129class  <B><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A></B>: public osg::Referenced
130<DD><I>callback class to use to allow matrix manipulators to querry the application for the local coordinate frame</I>
131</DL></P>
132
133<P><DL>
134<DT><H3>Public Methods</H3><DD><DT>
135<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setMinimumDistance</B>(float minimumDistance)
136<DT>
137<IMG ALT="o" SRC=icon2.gif>float <B>getMinimumDistance</B>() const
138<DT>
139<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setCoordinateFrameCallback</B>(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb)
140<DT>
141<IMG ALT="o" SRC=icon2.gif><!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>()
142<DT>
143<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>() const
144<DT>
145<IMG ALT="o" SRC=icon2.gif>osg::CoordinateFrame <B>getCoordinateFrame</B>(const osg::Vec3d&amp; position) const
146<DT>
147<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getSideVector</B>(const osg::CoordinateFrame&amp; cf) const
148<DT>
149<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getFrontVector</B>(const osg::CoordinateFrame&amp; cf) const
150<DT>
151<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getUpVector</B>(const osg::CoordinateFrame&amp; cf) const
152<DT>
153<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setHomePosition</B>(const osg::Vec3d&amp; eye, const osg::Vec3d&amp; center, const osg::Vec3d&amp; up)
154<DT>
155<IMG ALT="o" SRC=icon2.gif>virtual   void <B>getHomePosition</B>(osg::Vec3d&amp; eye, osg::Vec3d&amp; center, osg::Vec3d&amp; up)
156<DT>
157<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setAutoComputeHomePosition</B>(bool flag)
158<DT>
159<IMG ALT="o" SRC=icon2.gif>bool <B>getAutoComputeHomePosition</B>() const
160<DT>
161<IMG ALT="o" SRC=icon2.gif>virtual   void <B>computeHomePosition</B>()
162<DT>
163<IMG ALT="o" SRC=icon2.gif>virtual   void <B>accept</B>(<!1><A HREF="GUIEventHandlerVisitor.html">GUIEventHandlerVisitor</A>&amp; v)
164</DL></P>
165
166<P><DL>
167<DT><H3>Protected Fields</H3><DD><DT>
168<IMG ALT="o" SRC=icon2.gif>double <B>_minimumDistance</B>
169<DT>
170<IMG ALT="o" SRC=icon2.gif>bool <B>_autoComputeHomePosition</B>
171<DT>
172<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeEye</B>
173<DT>
174<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeCenter</B>
175<DT>
176<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeUp</B>
177<DT>
178<IMG ALT="o" SRC=icon2.gif>osg::ref_ptr&lt;<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>&gt;  <B>_coordinateFrameCallback</B>
179</DL></P>
180
181</DL>
182<HR><H3>Inherited from <A HREF="GUIEventHandler.html">GUIEventHandler</A>:</H3>
183<DL>
184<P><DL>
185<DT><H3>Public Methods</H3><DD><DT>
186<IMG ALT="o" SRC=icon2.gif>META_Object <B>(osgGA, GUIEventHandler) const </B>() const
187<DT>
188<IMG ALT="o" SRC=icon2.gif>virtual   <!1><A HREF="CompositeGUIEventHandler.html">CompositeGUIEventHandler</A>* <B>getComposite</B>()
189</DL></P>
190
191</DL>
192
193<A NAME="DOC.DOCU"></A>
194<HR>
195<H2>Documentation</H2>
196<DL>
197
198<A NAME="TerrainManipulator"></A>
199<A NAME="DOC.2.14.1"></A>
200<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TerrainManipulator()</B></TT>
201<DL><DT><DD></DL><P>
202<A NAME="className"></A>
203<A NAME="DOC.2.14.2"></A>
204<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* className() const </B></TT>
205<DL><DT><DD></DL><P>
206<A NAME="RotationMode"></A>
207<A NAME="DOC.2.14.3"></A>
208<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum  RotationMode</B></TT>
209<DL><DT><DD></DL><P><DL>
210
211<A NAME="ELEVATION_AZIM_ROLL"></A>
212<A NAME="DOC.2.14.3.1"></A>
213<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM_ROLL</B></TT>
214<DL><DT><DD></DL><P>
215<A NAME="ELEVATION_AZIM"></A>
216<A NAME="DOC.2.14.3.2"></A>
217<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM</B></TT>
218<DL><DT><DD></DL><P></DL>
219
220<A NAME="setRotationMode"></A>
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<DL><DT><DD></DL><P>
224<A NAME="getRotationMode"></A>
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<DL><DT><DD></DL><P>
228<A NAME="setByMatrix"></A>
229<A NAME="DOC.2.14.6"></A>
230<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setByMatrix(const osg::Matrixd&amp; matrix)</B></TT>
231<DD>set the position of the matrix manipulator using a 4x4 Matrix
232<DL><DT><DD></DL><P>
233<A NAME="setByInverseMatrix"></A>
234<A NAME="DOC.2.14.7"></A>
235<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setByInverseMatrix(const osg::Matrixd&amp; matrix)</B></TT>
236<DD>set the position of the matrix manipulator using a 4x4 Matrix
237<DL><DT><DD></DL><P>
238<A NAME="getMatrix"></A>
239<A NAME="DOC.2.14.8"></A>
240<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Matrixd getMatrix() const </B></TT>
241<DD>get the position of the manipulator as 4x4 Matrix
242<DL><DT><DD></DL><P>
243<A NAME="getInverseMatrix"></A>
244<A NAME="DOC.2.14.9"></A>
245<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Matrixd getInverseMatrix() const </B></TT>
246<DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
247<DL><DT><DD></DL><P>
248<A NAME="getFusionDistanceMode"></A>
249<A NAME="DOC.2.14.10"></A>
250<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT>
251<DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence.
252<DL><DT><DD></DL><P>
253<A NAME="getFusionDistanceValue"></A>
254<A NAME="DOC.2.14.11"></A>
255<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   float getFusionDistanceValue() const </B></TT>
256<DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence.
257<DL><DT><DD></DL><P>
258<A NAME="setNode"></A>
259<A NAME="DOC.2.14.12"></A>
260<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setNode(osg::Node*)</B></TT>
261<DD>Attach a node to the manipulator.
262Automatically detaches previously attached node.
263setNode(NULL) detaches previously nodes.
264Is ignored by manipulators which do not require a reference model.
265<DL><DT><DD></DL><P>
266<A NAME="getNode"></A>
267<A NAME="DOC.2.14.13"></A>
268<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const osg::Node* getNode() const </B></TT>
269<DD>Return node if attached
270<DL><DT><DD></DL><P>
271<A NAME="getNode"></A>
272<A NAME="DOC.2.14.14"></A>
273<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Node* getNode()</B></TT>
274<DD>Return node if attached
275<DL><DT><DD></DL><P>
276<A NAME="home"></A>
277<A NAME="DOC.2.14.15"></A>
278<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void home(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)</B></TT>
279<DD>Move the camera to the default position.
280May be ignored by manipulators if home functionality is not appropriate.
281<DL><DT><DD></DL><P>
282<A NAME="init"></A>
283<A NAME="DOC.2.14.16"></A>
284<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void init(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)</B></TT>
285<DD>Start/restart the manipulator
286<DL><DT><DD></DL><P>
287<A NAME="handle"></A>
288<A NAME="DOC.2.14.17"></A>
289<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   bool handle(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)</B></TT>
290<DD>handle events, return true if handled, false otherwise
291<DL><DT><DD></DL><P>
292<A NAME="getUsage"></A>
293<A NAME="DOC.2.14.18"></A>
294<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void getUsage(osg::ApplicationUsage&amp; usage) const </B></TT>
295<DD>Get the keyboard and mouse usage of this manipulator
296<DL><DT><DD></DL><P>
297<A NAME="~TerrainManipulator"></A>
298<A NAME="DOC.2.14.19"></A>
299<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~TerrainManipulator()</B></TT>
300<DL><DT><DD></DL><P>
301<A NAME="flushMouseEventStack"></A>
302<A NAME="DOC.2.14.20"></A>
303<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void flushMouseEventStack()</B></TT>
304<DD>Reset the internal GUIEvent stack
305<DL><DT><DD></DL><P>
306<A NAME="addMouseEvent"></A>
307<A NAME="DOC.2.14.21"></A>
308<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addMouseEvent(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea)</B></TT>
309<DD>Add the current mouse GUIEvent to internal stack
310<DL><DT><DD></DL><P>
311<A NAME="computePosition"></A>
312<A NAME="DOC.2.14.22"></A>
313<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePosition(const osg::Vec3d&amp; eye, const osg::Vec3d&amp; lv, const osg::Vec3d&amp; up)</B></TT>
314<DL><DT><DD></DL><P>
315<A NAME="calcMovement"></A>
316<A NAME="DOC.2.14.23"></A>
317<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcMovement()</B></TT>
318<DD>For the give mouse movement calculate the movement of the camera.
319Return true is camera has moved and a redraw is required.
320<DL><DT><DD></DL><P>
321<A NAME="trackball"></A>
322<A NAME="DOC.2.14.24"></A>
323<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void trackball(osg::Vec3&amp; axis, double&amp; angle, double p1x, double p1y, double p2x, double p2y)</B></TT>
324<DL><DT><DD></DL><P>
325<A NAME="tb_project_to_sphere"></A>
326<A NAME="DOC.2.14.25"></A>
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<DL><DT><DD></DL><P>
329<A NAME="isMouseMoving"></A>
330<A NAME="DOC.2.14.26"></A>
331<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isMouseMoving()</B></TT>
332<DD>Check the speed at which the mouse is moving.
333If speed is below a threshold then return false, otherwise return true.
334<DL><DT><DD></DL><P>
335<A NAME="clampOrientation"></A>
336<A NAME="DOC.2.14.27"></A>
337<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void clampOrientation()</B></TT>
338<DL><DT><DD></DL><P>
339<A NAME="_ga_t1"></A>
340<A NAME="DOC.2.14.28"></A>
341<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&gt;  _ga_t1</B></TT>
342<DL><DT><DD></DL><P>
343<A NAME="_ga_t0"></A>
344<A NAME="DOC.2.14.29"></A>
345<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&gt;  _ga_t0</B></TT>
346<DL><DT><DD></DL><P>
347<A NAME="_node"></A>
348<A NAME="DOC.2.14.30"></A>
349<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::Node&gt;  _node</B></TT>
350<DL><DT><DD></DL><P>
351<A NAME="_rotationMode"></A>
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<DL><DT><DD></DL><P>
355<A NAME="_thrown"></A>
356<A NAME="DOC.2.14.32"></A>
357<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _thrown</B></TT>
358<DL><DT><DD></DL><P>
359<A NAME="_center"></A>
360<A NAME="DOC.2.14.33"></A>
361<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _center</B></TT>
362<DL><DT><DD></DL><P>
363<A NAME="_rotation"></A>
364<A NAME="DOC.2.14.34"></A>
365<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT>
366<DL><DT><DD></DL><P>
367<A NAME="_distance"></A>
368<A NAME="DOC.2.14.35"></A>
369<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _distance</B></TT>
370<DL><DT><DD></DL><P>
371<A NAME="_previousUp"></A>
372<A NAME="DOC.2.14.36"></A>
373<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _previousUp</B></TT>
374<DL><DT><DD></DL><P></DL>
375
376<HR><DL><DT><B>This class has no child classes.</B></DL>
377
378<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>
379<BR>
380This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
381</BODY>
382</HTML>
Note: See TracBrowser for help on using the browser.