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

Revision 3315, 19.8 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::TrackerManipulator</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::TrackerManipulator</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,CTrackerManipulator,MTrackerManipulator.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.16.6">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.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&amp; matrix)
45<DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I>
46<DT>
47<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.16.10">setByInverseMatrix</A></B>(const osg::Matrixd&amp; matrix)
48<DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I>
49<DT>
50<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Matrixd <B><A HREF="#DOC.2.16.11">getMatrix</A></B>() const
51<DD><I>get the position of the manipulator as 4x4 Matrix</I>
52<DT>
53<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Matrixd <B><A HREF="#DOC.2.16.12">getInverseMatrix</A></B>() const
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<DT>
56<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.16.13">getFusionDistanceMode</A></B>() const
57<DD><I>Get the FusionDistanceMode.</I>
58<DT>
59<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   float <B><A HREF="#DOC.2.16.14">getFusionDistanceValue</A></B>() const
60<DD><I>Get the FusionDistanceValue.</I>
61<DT>
62<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.16.15">setNode</A></B>(osg::Node*)
63<DD><I>Attach a node to the manipulator.</I>
64<DT>
65<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   const osg::Node* <B><A HREF="#DOC.2.16.16">getNode</A></B>() const
66<DD><I>Return node if attached</I>
67<DT>
68<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   osg::Node* <B><A HREF="#DOC.2.16.17">getNode</A></B>()
69<DD><I>Return node if attached</I>
70<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
72<DD><I>Move the camera to the default position.</I>
73<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
75<DD><I>Start/restart the manipulator</I>
76<DT>
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>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
78<DD><I>handle events, return true if handled, false otherwise</I>
79<DT>
80<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual   void <B><A HREF="#DOC.2.16.21">getUsage</A></B>(osg::ApplicationUsage&amp; usage) const
81<DD><I>Get the keyboard and mouse usage of this manipulator</I>
82</DL></P>
83
84<P><DL>
85<DT><H3>Protected Fields</H3><DD><DT>
86<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.16.32">_ga_t1</A></B>
87<DT>
88<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.16.33">_ga_t0</A></B>
89<DT>
90<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::Node&gt;  <B><A HREF="#DOC.2.16.34">_node</A></B>
91<DT>
92<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;osg::Node&gt;  <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</DL></P>
106
107<P><DL>
108<DT><H3>Protected Methods</H3><DD><DT>
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<DD><I>Reset the internal GUIEvent stack</I>
113<DT>
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>&amp; ea)
115<DD><I>Add the current mouse GUIEvent to internal stack</I>
116<DT>
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&amp; eye, const osg::Vec3d&amp; lv, const osg::Vec3d&amp; up)
120<DT>
121<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.16.27">calcMovement</A></B>()
122<DD><I>For the give mouse movement calculate the movement of the camera.</I>
123<DT>
124<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.28">trackball</A></B>(osg::Vec3&amp; axis, double&amp; 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<DD><I>Check the speed at which the mouse is moving.</I>
130<DT>
131<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.16.31">clampOrientation</A></B>()
132</DL></P>
133
134</DL>
135<HR><H3>Inherited from <A HREF="MatrixManipulator.html">MatrixManipulator</A>:</H3>
136<DL>
137<P><DL>
138<DT><H3>Public Classes</H3><DD><DT>
139class  <B><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A></B>: public osg::Referenced
140<DD><I>callback class to use to allow matrix manipulators to querry the application for the local coordinate frame</I>
141</DL></P>
142
143<P><DL>
144<DT><H3>Public Methods</H3><DD><DT>
145<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setMinimumDistance</B>(float minimumDistance)
146<DT>
147<IMG ALT="o" SRC=icon2.gif>float <B>getMinimumDistance</B>() const
148<DT>
149<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setCoordinateFrameCallback</B>(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb)
150<DT>
151<IMG ALT="o" SRC=icon2.gif><!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>()
152<DT>
153<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>() const
154<DT>
155<IMG ALT="o" SRC=icon2.gif>osg::CoordinateFrame <B>getCoordinateFrame</B>(const osg::Vec3d&amp; position) const
156<DT>
157<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getSideVector</B>(const osg::CoordinateFrame&amp; cf) const
158<DT>
159<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getFrontVector</B>(const osg::CoordinateFrame&amp; cf) const
160<DT>
161<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getUpVector</B>(const osg::CoordinateFrame&amp; cf) const
162<DT>
163<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)
164<DT>
165<IMG ALT="o" SRC=icon2.gif>virtual   void <B>getHomePosition</B>(osg::Vec3d&amp; eye, osg::Vec3d&amp; center, osg::Vec3d&amp; up)
166<DT>
167<IMG ALT="o" SRC=icon2.gif>virtual   void <B>setAutoComputeHomePosition</B>(bool flag)
168<DT>
169<IMG ALT="o" SRC=icon2.gif>bool <B>getAutoComputeHomePosition</B>() const
170<DT>
171<IMG ALT="o" SRC=icon2.gif>virtual   void <B>computeHomePosition</B>()
172<DT>
173<IMG ALT="o" SRC=icon2.gif>virtual   void <B>accept</B>(<!1><A HREF="GUIEventHandlerVisitor.html">GUIEventHandlerVisitor</A>&amp; v)
174</DL></P>
175
176<P><DL>
177<DT><H3>Protected Fields</H3><DD><DT>
178<IMG ALT="o" SRC=icon2.gif>double <B>_minimumDistance</B>
179<DT>
180<IMG ALT="o" SRC=icon2.gif>bool <B>_autoComputeHomePosition</B>
181<DT>
182<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeEye</B>
183<DT>
184<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeCenter</B>
185<DT>
186<IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeUp</B>
187<DT>
188<IMG ALT="o" SRC=icon2.gif>osg::ref_ptr&lt;<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>&gt;  <B>_coordinateFrameCallback</B>
189</DL></P>
190
191</DL>
192<HR><H3>Inherited from <A HREF="GUIEventHandler.html">GUIEventHandler</A>:</H3>
193<DL>
194<P><DL>
195<DT><H3>Public Methods</H3><DD><DT>
196<IMG ALT="o" SRC=icon2.gif>META_Object <B>(osgGA, GUIEventHandler) const </B>() const
197<DT>
198<IMG ALT="o" SRC=icon2.gif>virtual   <!1><A HREF="CompositeGUIEventHandler.html">CompositeGUIEventHandler</A>* <B>getComposite</B>()
199</DL></P>
200
201</DL>
202
203<A NAME="DOC.DOCU"></A>
204<HR>
205<H2>Documentation</H2>
206<DL>
207
208<A NAME="TrackerManipulator"></A>
209<A NAME="DOC.2.16.1"></A>
210<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TrackerManipulator()</B></TT>
211<DL><DT><DD></DL><P>
212<A NAME="className"></A>
213<A NAME="DOC.2.16.2"></A>
214<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const char* className() const </B></TT>
215<DL><DT><DD></DL><P>
216<A NAME="setTrackNode"></A>
217<A NAME="DOC.2.16.3"></A>
218<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTrackNode(osg::Node* node)</B></TT>
219<DL><DT><DD></DL><P>
220<A NAME="getTrackNode"></A>
221<A NAME="DOC.2.16.4"></A>
222<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Node* getTrackNode()</B></TT>
223<DL><DT><DD></DL><P>
224<A NAME="getTrackNode"></A>
225<A NAME="DOC.2.16.5"></A>
226<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const osg::Node* getTrackNode() const </B></TT>
227<DL><DT><DD></DL><P>
228<A NAME="RotationMode"></A>
229<A NAME="DOC.2.16.6"></A>
230<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum  RotationMode</B></TT>
231<DL><DT><DD></DL><P><DL>
232
233<A NAME="ELEVATION_AZIM_ROLL"></A>
234<A NAME="DOC.2.16.6.1"></A>
235<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM_ROLL</B></TT>
236<DL><DT><DD></DL><P>
237<A NAME="ELEVATION_AZIM"></A>
238<A NAME="DOC.2.16.6.2"></A>
239<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ELEVATION_AZIM</B></TT>
240<DL><DT><DD></DL><P></DL>
241
242<A NAME="setRotationMode"></A>
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<DL><DT><DD></DL><P>
246<A NAME="getRotationMode"></A>
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<DL><DT><DD></DL><P>
250<A NAME="setByMatrix"></A>
251<A NAME="DOC.2.16.9"></A>
252<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setByMatrix(const osg::Matrixd&amp; matrix)</B></TT>
253<DD>set the position of the matrix manipulator using a 4x4 Matrix
254<DL><DT><DD></DL><P>
255<A NAME="setByInverseMatrix"></A>
256<A NAME="DOC.2.16.10"></A>
257<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setByInverseMatrix(const osg::Matrixd&amp; matrix)</B></TT>
258<DD>set the position of the matrix manipulator using a 4x4 Matrix
259<DL><DT><DD></DL><P>
260<A NAME="getMatrix"></A>
261<A NAME="DOC.2.16.11"></A>
262<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Matrixd getMatrix() const </B></TT>
263<DD>get the position of the manipulator as 4x4 Matrix
264<DL><DT><DD></DL><P>
265<A NAME="getInverseMatrix"></A>
266<A NAME="DOC.2.16.12"></A>
267<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Matrixd getInverseMatrix() const </B></TT>
268<DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
269<DL><DT><DD></DL><P>
270<A NAME="getFusionDistanceMode"></A>
271<A NAME="DOC.2.16.13"></A>
272<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT>
273<DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence.
274<DL><DT><DD></DL><P>
275<A NAME="getFusionDistanceValue"></A>
276<A NAME="DOC.2.16.14"></A>
277<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   float getFusionDistanceValue() const </B></TT>
278<DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence.
279<DL><DT><DD></DL><P>
280<A NAME="setNode"></A>
281<A NAME="DOC.2.16.15"></A>
282<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void setNode(osg::Node*)</B></TT>
283<DD>Attach a node to the manipulator.
284Automatically detaches previously attached node.
285setNode(NULL) detaches previously nodes.
286Is ignored by manipulators which do not require a reference model.
287<DL><DT><DD></DL><P>
288<A NAME="getNode"></A>
289<A NAME="DOC.2.16.16"></A>
290<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   const osg::Node* getNode() const </B></TT>
291<DD>Return node if attached
292<DL><DT><DD></DL><P>
293<A NAME="getNode"></A>
294<A NAME="DOC.2.16.17"></A>
295<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   osg::Node* getNode()</B></TT>
296<DD>Return node if attached
297<DL><DT><DD></DL><P>
298<A NAME="home"></A>
299<A NAME="DOC.2.16.18"></A>
300<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>
301<DD>Move the camera to the default position.
302May be ignored by manipulators if home functionality is not appropriate.
303<DL><DT><DD></DL><P>
304<A NAME="init"></A>
305<A NAME="DOC.2.16.19"></A>
306<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>
307<DD>Start/restart the manipulator
308<DL><DT><DD></DL><P>
309<A NAME="handle"></A>
310<A NAME="DOC.2.16.20"></A>
311<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>
312<DD>handle events, return true if handled, false otherwise
313<DL><DT><DD></DL><P>
314<A NAME="getUsage"></A>
315<A NAME="DOC.2.16.21"></A>
316<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   void getUsage(osg::ApplicationUsage&amp; usage) const </B></TT>
317<DD>Get the keyboard and mouse usage of this manipulator
318<DL><DT><DD></DL><P>
319<A NAME="~TrackerManipulator"></A>
320<A NAME="DOC.2.16.22"></A>
321<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual   ~TrackerManipulator()</B></TT>
322<DL><DT><DD></DL><P>
323<A NAME="flushMouseEventStack"></A>
324<A NAME="DOC.2.16.23"></A>
325<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void flushMouseEventStack()</B></TT>
326<DD>Reset the internal GUIEvent stack
327<DL><DT><DD></DL><P>
328<A NAME="addMouseEvent"></A>
329<A NAME="DOC.2.16.24"></A>
330<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>
331<DD>Add the current mouse GUIEvent to internal stack
332<DL><DT><DD></DL><P>
333<A NAME="computeCenter"></A>
334<A NAME="DOC.2.16.25"></A>
335<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d computeCenter() const </B></TT>
336<DL><DT><DD></DL><P>
337<A NAME="computePosition"></A>
338<A NAME="DOC.2.16.26"></A>
339<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>
340<DL><DT><DD></DL><P>
341<A NAME="calcMovement"></A>
342<A NAME="DOC.2.16.27"></A>
343<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool calcMovement()</B></TT>
344<DD>For the give mouse movement calculate the movement of the camera.
345Return true is camera has moved and a redraw is required.
346<DL><DT><DD></DL><P>
347<A NAME="trackball"></A>
348<A NAME="DOC.2.16.28"></A>
349<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>
350<DL><DT><DD></DL><P>
351<A NAME="tb_project_to_sphere"></A>
352<A NAME="DOC.2.16.29"></A>
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<DL><DT><DD></DL><P>
355<A NAME="isMouseMoving"></A>
356<A NAME="DOC.2.16.30"></A>
357<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool isMouseMoving()</B></TT>
358<DD>Check the speed at which the mouse is moving.
359If speed is below a threshold then return false, otherwise return true.
360<DL><DT><DD></DL><P>
361<A NAME="clampOrientation"></A>
362<A NAME="DOC.2.16.31"></A>
363<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void clampOrientation()</B></TT>
364<DL><DT><DD></DL><P>
365<A NAME="_ga_t1"></A>
366<A NAME="DOC.2.16.32"></A>
367<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>
368<DL><DT><DD></DL><P>
369<A NAME="_ga_t0"></A>
370<A NAME="DOC.2.16.33"></A>
371<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>
372<DL><DT><DD></DL><P>
373<A NAME="_node"></A>
374<A NAME="DOC.2.16.34"></A>
375<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::Node&gt;  _node</B></TT>
376<DL><DT><DD></DL><P>
377<A NAME="_trackNode"></A>
378<A NAME="DOC.2.16.35"></A>
379<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;osg::Node&gt;  _trackNode</B></TT>
380<DL><DT><DD></DL><P>
381<A NAME="_rotationMode"></A>
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<DL><DT><DD></DL><P>
385<A NAME="_thrown"></A>
386<A NAME="DOC.2.16.37"></A>
387<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _thrown</B></TT>
388<DL><DT><DD></DL><P>
389<A NAME="_center"></A>
390<A NAME="DOC.2.16.38"></A>
391<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _center</B></TT>
392<DL><DT><DD></DL><P>
393<A NAME="_rotation"></A>
394<A NAME="DOC.2.16.39"></A>
395<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT>
396<DL><DT><DD></DL><P>
397<A NAME="_distance"></A>
398<A NAME="DOC.2.16.40"></A>
399<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _distance</B></TT>
400<DL><DT><DD></DL><P>
401<A NAME="_previousUp"></A>
402<A NAME="DOC.2.16.41"></A>
403<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _previousUp</B></TT>
404<DL><DT><DD></DL><P></DL>
405
406<HR><DL><DT><B>This class has no child classes.</B></DL>
407
408<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>
409<BR>
410This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
411</BODY>
412</HTML>
Note: See TracBrowser for help on using the browser.