|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
2 <!--NewPage--> |
|
3 <HTML> |
|
4 <HEAD> |
|
5 <!-- Generated by javadoc (build 1.5.0_16) on Mon May 18 10:30:51 CEST 2009 --> |
|
6 <TITLE> |
|
7 TuioCursor |
|
8 </TITLE> |
|
9 |
|
10 <META NAME="keywords" CONTENT="TUIO.TuioCursor class"> |
|
11 |
|
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
|
13 |
|
14 <SCRIPT type="text/javascript"> |
|
15 function windowTitle() |
|
16 { |
|
17 parent.document.title="TuioCursor"; |
|
18 } |
|
19 </SCRIPT> |
|
20 <NOSCRIPT> |
|
21 </NOSCRIPT> |
|
22 |
|
23 </HEAD> |
|
24 |
|
25 <BODY BGCOLOR="white" onload="windowTitle();"> |
|
26 |
|
27 |
|
28 <!-- ========= START OF TOP NAVBAR ======= --> |
|
29 <A NAME="navbar_top"><!-- --></A> |
|
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
|
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
|
32 <TR> |
|
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
|
34 <A NAME="navbar_top_firstrow"><!-- --></A> |
|
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
|
36 <TR ALIGN="center" VALIGN="top"> |
|
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TUIO/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
|
38 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
|
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
|
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
|
43 </TR> |
|
44 </TABLE> |
|
45 </TD> |
|
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
|
47 </EM> |
|
48 </TD> |
|
49 </TR> |
|
50 |
|
51 <TR> |
|
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|
53 <A HREF="../TUIO/TuioClient.html" title="class in TUIO"><B>PREV CLASS</B></A> |
|
54 <A HREF="../TUIO/TuioListener.html" title="interface in TUIO"><B>NEXT CLASS</B></A></FONT></TD> |
|
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|
56 <A HREF="../index.html?TUIO/TuioCursor.html" target="_top"><B>FRAMES</B></A> |
|
57 <A HREF="TuioCursor.html" target="_top"><B>NO FRAMES</B></A> |
|
58 <SCRIPT type="text/javascript"> |
|
59 <!-- |
|
60 if(window==top) { |
|
61 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
|
62 } |
|
63 //--> |
|
64 </SCRIPT> |
|
65 <NOSCRIPT> |
|
66 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
|
67 </NOSCRIPT> |
|
68 |
|
69 |
|
70 </FONT></TD> |
|
71 </TR> |
|
72 <TR> |
|
73 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|
74 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
|
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|
76 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
|
77 </TR> |
|
78 </TABLE> |
|
79 <A NAME="skip-navbar_top"></A> |
|
80 <!-- ========= END OF TOP NAVBAR ========= --> |
|
81 |
|
82 <HR> |
|
83 <!-- ======== START OF CLASS DATA ======== --> |
|
84 <H2> |
|
85 <FONT SIZE="-1"> |
|
86 TUIO</FONT> |
|
87 <BR> |
|
88 Class TuioCursor</H2> |
|
89 <PRE> |
|
90 java.lang.Object |
|
91 <IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TUIO.TuioPoint</A> |
|
92 <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>TUIO.TuioCursor</B> |
|
93 </PRE> |
|
94 <HR> |
|
95 <DL> |
|
96 <DT><PRE>public class <B>TuioCursor</B><DT>extends <A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A></DL> |
|
97 </PRE> |
|
98 |
|
99 <P> |
|
100 The TuioCursor class encapsulates /tuio/2Dcur TUIO cursors. |
|
101 <P> |
|
102 |
|
103 <P> |
|
104 <HR> |
|
105 |
|
106 <P> |
|
107 <!-- =========== FIELD SUMMARY =========== --> |
|
108 |
|
109 <A NAME="field_summary"><!-- --></A> |
|
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
111 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
112 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|
113 <B>Field Summary</B></FONT></TH> |
|
114 </TR> |
|
115 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
116 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
117 <CODE>protected int</CODE></FONT></TD> |
|
118 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#cursor_id">cursor_id</A></B></CODE> |
|
119 |
|
120 <BR> |
|
121 The individual cursor ID number that is assigned to each TuioCursor.</TD> |
|
122 </TR> |
|
123 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
125 <CODE>protected float</CODE></FONT></TD> |
|
126 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#motion_accel">motion_accel</A></B></CODE> |
|
127 |
|
128 <BR> |
|
129 The motion acceleration value.</TD> |
|
130 </TR> |
|
131 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
133 <CODE>protected float</CODE></FONT></TD> |
|
134 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#motion_speed">motion_speed</A></B></CODE> |
|
135 |
|
136 <BR> |
|
137 The motion speed value.</TD> |
|
138 </TR> |
|
139 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
141 <CODE>protected java.util.Vector<<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A>></CODE></FONT></TD> |
|
142 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#path">path</A></B></CODE> |
|
143 |
|
144 <BR> |
|
145 A Vector of TuioPoints containing all the previous positions of the TUIO component.</TD> |
|
146 </TR> |
|
147 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
149 <CODE>protected long</CODE></FONT></TD> |
|
150 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#session_id">session_id</A></B></CODE> |
|
151 |
|
152 <BR> |
|
153 The unique session ID number that is assigned to each TUIO object or cursor.</TD> |
|
154 </TR> |
|
155 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
157 <CODE>protected int</CODE></FONT></TD> |
|
158 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#state">state</A></B></CODE> |
|
159 |
|
160 <BR> |
|
161 Reflects the current state of the TuioComponent</TD> |
|
162 </TR> |
|
163 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
165 <CODE>static int</CODE></FONT></TD> |
|
166 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TUIO_ACCELERATING">TUIO_ACCELERATING</A></B></CODE> |
|
167 |
|
168 <BR> |
|
169 Defines the ACCELERATING state.</TD> |
|
170 </TR> |
|
171 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
173 <CODE>static int</CODE></FONT></TD> |
|
174 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TUIO_ADDED">TUIO_ADDED</A></B></CODE> |
|
175 |
|
176 <BR> |
|
177 Defines the ADDED state.</TD> |
|
178 </TR> |
|
179 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
181 <CODE>static int</CODE></FONT></TD> |
|
182 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TUIO_DECELERATING">TUIO_DECELERATING</A></B></CODE> |
|
183 |
|
184 <BR> |
|
185 Defines the DECELERATING state.</TD> |
|
186 </TR> |
|
187 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
189 <CODE>static int</CODE></FONT></TD> |
|
190 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TUIO_REMOVED">TUIO_REMOVED</A></B></CODE> |
|
191 |
|
192 <BR> |
|
193 Defines the REMOVED state.</TD> |
|
194 </TR> |
|
195 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
197 <CODE>static int</CODE></FONT></TD> |
|
198 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TUIO_STOPPED">TUIO_STOPPED</A></B></CODE> |
|
199 |
|
200 <BR> |
|
201 Defines the STOPPED state.</TD> |
|
202 </TR> |
|
203 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
205 <CODE>protected float</CODE></FONT></TD> |
|
206 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#x_speed">x_speed</A></B></CODE> |
|
207 |
|
208 <BR> |
|
209 The X-axis velocity value.</TD> |
|
210 </TR> |
|
211 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
213 <CODE>protected float</CODE></FONT></TD> |
|
214 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#y_speed">y_speed</A></B></CODE> |
|
215 |
|
216 <BR> |
|
217 The Y-axis velocity value.</TD> |
|
218 </TR> |
|
219 </TABLE> |
|
220 <A NAME="fields_inherited_from_class_TUIO.TuioPoint"><!-- --></A> |
|
221 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
222 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
|
223 <TH ALIGN="left"><B>Fields inherited from class TUIO.<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A></B></TH> |
|
224 </TR> |
|
225 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
226 <TD><CODE><A HREF="../TUIO/TuioPoint.html#currentTime">currentTime</A>, <A HREF="../TUIO/TuioPoint.html#startTime">startTime</A>, <A HREF="../TUIO/TuioPoint.html#xpos">xpos</A>, <A HREF="../TUIO/TuioPoint.html#ypos">ypos</A></CODE></TD> |
|
227 </TR> |
|
228 </TABLE> |
|
229 |
|
230 <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
|
231 |
|
232 <A NAME="constructor_summary"><!-- --></A> |
|
233 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
234 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
235 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|
236 <B>Constructor Summary</B></FONT></TH> |
|
237 </TR> |
|
238 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
239 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TuioCursor(long, int, float, float)">TuioCursor</A></B>(long si, |
|
240 int ci, |
|
241 float xp, |
|
242 float yp)</CODE> |
|
243 |
|
244 <BR> |
|
245 This constructor takes the provided Session ID, Cursor ID, X and Y coordinate |
|
246 and assigs these values to the newly created TuioCursor.</TD> |
|
247 </TR> |
|
248 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
249 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TuioCursor(TUIO.TuioCursor)">TuioCursor</A></B>(<A HREF="../TUIO/TuioCursor.html" title="class in TUIO">TuioCursor</A> tcur)</CODE> |
|
250 |
|
251 <BR> |
|
252 This constructor takes the atttibutes of the provided TuioCursor |
|
253 and assigs these values to the newly created TuioCursor.</TD> |
|
254 </TR> |
|
255 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
256 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#TuioCursor(TUIO.TuioTime, long, int, float, float)">TuioCursor</A></B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
257 long si, |
|
258 int ci, |
|
259 float xp, |
|
260 float yp)</CODE> |
|
261 |
|
262 <BR> |
|
263 This constructor takes a TuioTime argument and assigns it along with the provided |
|
264 Session ID, Cursor ID, X and Y coordinate to the newly created TuioCursor.</TD> |
|
265 </TR> |
|
266 </TABLE> |
|
267 |
|
268 <!-- ========== METHOD SUMMARY =========== --> |
|
269 |
|
270 <A NAME="method_summary"><!-- --></A> |
|
271 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
272 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
273 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|
274 <B>Method Summary</B></FONT></TH> |
|
275 </TR> |
|
276 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
278 <CODE> int</CODE></FONT></TD> |
|
279 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getCursorID()">getCursorID</A></B>()</CODE> |
|
280 |
|
281 <BR> |
|
282 Returns the Cursor ID of this TuioCursor.</TD> |
|
283 </TR> |
|
284 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
286 <CODE> float</CODE></FONT></TD> |
|
287 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getMotionAccel()">getMotionAccel</A></B>()</CODE> |
|
288 |
|
289 <BR> |
|
290 Returns the motion acceleration of this TuioContainer.</TD> |
|
291 </TR> |
|
292 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
294 <CODE> float</CODE></FONT></TD> |
|
295 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getMotionSpeed()">getMotionSpeed</A></B>()</CODE> |
|
296 |
|
297 <BR> |
|
298 Returns the motion speed of this TuioContainer.</TD> |
|
299 </TR> |
|
300 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
302 <CODE> java.util.Vector<<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A>></CODE></FONT></TD> |
|
303 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getPath()">getPath</A></B>()</CODE> |
|
304 |
|
305 <BR> |
|
306 Returns the path of this TuioContainer.</TD> |
|
307 </TR> |
|
308 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
309 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
310 <CODE> <A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A></CODE></FONT></TD> |
|
311 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getPosition()">getPosition</A></B>()</CODE> |
|
312 |
|
313 <BR> |
|
314 Returns the position of this TuioContainer.</TD> |
|
315 </TR> |
|
316 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
317 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
318 <CODE> long</CODE></FONT></TD> |
|
319 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getSessionID()">getSessionID</A></B>()</CODE> |
|
320 |
|
321 <BR> |
|
322 Returns the Session ID of this TuioContainer.</TD> |
|
323 </TR> |
|
324 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
325 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
326 <CODE> int</CODE></FONT></TD> |
|
327 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getTuioState()">getTuioState</A></B>()</CODE> |
|
328 |
|
329 <BR> |
|
330 Returns the TUIO state of this TuioContainer.</TD> |
|
331 </TR> |
|
332 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
333 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
334 <CODE> float</CODE></FONT></TD> |
|
335 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getXSpeed()">getXSpeed</A></B>()</CODE> |
|
336 |
|
337 <BR> |
|
338 Returns the X velocity of this TuioContainer.</TD> |
|
339 </TR> |
|
340 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
341 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
342 <CODE> float</CODE></FONT></TD> |
|
343 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#getYSpeed()">getYSpeed</A></B>()</CODE> |
|
344 |
|
345 <BR> |
|
346 Returns the Y velocity of this TuioContainer.</TD> |
|
347 </TR> |
|
348 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
349 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
350 <CODE> boolean</CODE></FONT></TD> |
|
351 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#isMoving()">isMoving</A></B>()</CODE> |
|
352 |
|
353 <BR> |
|
354 Returns true of this TuioContainer is moving.</TD> |
|
355 </TR> |
|
356 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
358 <CODE> void</CODE></FONT></TD> |
|
359 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#remove(TUIO.TuioTime)">remove</A></B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime)</CODE> |
|
360 |
|
361 <BR> |
|
362 Assigns the REMOVE state to this TuioContainer and sets |
|
363 its TuioTime time stamp to the provided TuioTime argument.</TD> |
|
364 </TR> |
|
365 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
366 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
367 <CODE> void</CODE></FONT></TD> |
|
368 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#stop(TUIO.TuioTime)">stop</A></B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime)</CODE> |
|
369 |
|
370 <BR> |
|
371 This method is used to calculate the speed and acceleration values of |
|
372 TuioContainers with unchanged positions.</TD> |
|
373 </TR> |
|
374 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
375 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
376 <CODE> void</CODE></FONT></TD> |
|
377 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#update(float, float, float, float, float)">update</A></B>(float xp, |
|
378 float yp, |
|
379 float xs, |
|
380 float ys, |
|
381 float ma)</CODE> |
|
382 |
|
383 <BR> |
|
384 Assigns the provided X and Y coordinate, X and Y velocity and acceleration |
|
385 to the private TuioContainer attributes.</TD> |
|
386 </TR> |
|
387 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
388 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
389 <CODE> void</CODE></FONT></TD> |
|
390 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#update(TUIO.TuioContainer)">update</A></B>(TUIO.TuioContainer tcon)</CODE> |
|
391 |
|
392 <BR> |
|
393 Takes the atttibutes of the provided TuioContainer |
|
394 and assigs these values to this TuioContainer.</TD> |
|
395 </TR> |
|
396 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
397 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
398 <CODE> void</CODE></FONT></TD> |
|
399 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#update(TUIO.TuioTime, float, float)">update</A></B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
400 float xp, |
|
401 float yp)</CODE> |
|
402 |
|
403 <BR> |
|
404 Takes a TuioTime argument and assigns it along with the provided |
|
405 X and Y coordinate to the private TuioContainer attributes.</TD> |
|
406 </TR> |
|
407 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
408 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|
409 <CODE> void</CODE></FONT></TD> |
|
410 <TD><CODE><B><A HREF="../TUIO/TuioCursor.html#update(TUIO.TuioTime, float, float, float, float, float)">update</A></B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
411 float xp, |
|
412 float yp, |
|
413 float xs, |
|
414 float ys, |
|
415 float ma)</CODE> |
|
416 |
|
417 <BR> |
|
418 Takes a TuioTime argument and assigns it along with the provided |
|
419 X and Y coordinate, X and Y velocity and acceleration |
|
420 to the private TuioContainer attributes.</TD> |
|
421 </TR> |
|
422 </TABLE> |
|
423 <A NAME="methods_inherited_from_class_TUIO.TuioPoint"><!-- --></A> |
|
424 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
425 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
|
426 <TH ALIGN="left"><B>Methods inherited from class TUIO.<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A></B></TH> |
|
427 </TR> |
|
428 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
429 <TD><CODE><A HREF="../TUIO/TuioPoint.html#getAngle(float, float)">getAngle</A>, <A HREF="../TUIO/TuioPoint.html#getAngle(TUIO.TuioPoint)">getAngle</A>, <A HREF="../TUIO/TuioPoint.html#getAngleDegrees(float, float)">getAngleDegrees</A>, <A HREF="../TUIO/TuioPoint.html#getAngleDegrees(TUIO.TuioPoint)">getAngleDegrees</A>, <A HREF="../TUIO/TuioPoint.html#getDistance(float, float)">getDistance</A>, <A HREF="../TUIO/TuioPoint.html#getDistance(TUIO.TuioPoint)">getDistance</A>, <A HREF="../TUIO/TuioPoint.html#getScreenX(int)">getScreenX</A>, <A HREF="../TUIO/TuioPoint.html#getScreenY(int)">getScreenY</A>, <A HREF="../TUIO/TuioPoint.html#getStartTime()">getStartTime</A>, <A HREF="../TUIO/TuioPoint.html#getTuioTime()">getTuioTime</A>, <A HREF="../TUIO/TuioPoint.html#getX()">getX</A>, <A HREF="../TUIO/TuioPoint.html#getY()">getY</A>, <A HREF="../TUIO/TuioPoint.html#update(float, float)">update</A>, <A HREF="../TUIO/TuioPoint.html#update(TUIO.TuioPoint)">update</A></CODE></TD> |
|
430 </TR> |
|
431 </TABLE> |
|
432 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
|
433 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
434 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
|
435 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
|
436 </TR> |
|
437 <TR BGCOLOR="white" CLASS="TableRowColor"> |
|
438 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
|
439 </TR> |
|
440 </TABLE> |
|
441 |
|
442 <P> |
|
443 |
|
444 <!-- ============ FIELD DETAIL =========== --> |
|
445 |
|
446 <A NAME="field_detail"><!-- --></A> |
|
447 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
448 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
449 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|
450 <B>Field Detail</B></FONT></TH> |
|
451 </TR> |
|
452 </TABLE> |
|
453 |
|
454 <A NAME="cursor_id"><!-- --></A><H3> |
|
455 cursor_id</H3> |
|
456 <PRE> |
|
457 protected int <B>cursor_id</B></PRE> |
|
458 <DL> |
|
459 <DD>The individual cursor ID number that is assigned to each TuioCursor. |
|
460 <P> |
|
461 <DL> |
|
462 </DL> |
|
463 </DL> |
|
464 <HR> |
|
465 |
|
466 <A NAME="session_id"><!-- --></A><H3> |
|
467 session_id</H3> |
|
468 <PRE> |
|
469 protected long <B>session_id</B></PRE> |
|
470 <DL> |
|
471 <DD>The unique session ID number that is assigned to each TUIO object or cursor. |
|
472 <P> |
|
473 <DL> |
|
474 </DL> |
|
475 </DL> |
|
476 <HR> |
|
477 |
|
478 <A NAME="x_speed"><!-- --></A><H3> |
|
479 x_speed</H3> |
|
480 <PRE> |
|
481 protected float <B>x_speed</B></PRE> |
|
482 <DL> |
|
483 <DD>The X-axis velocity value. |
|
484 <P> |
|
485 <DL> |
|
486 </DL> |
|
487 </DL> |
|
488 <HR> |
|
489 |
|
490 <A NAME="y_speed"><!-- --></A><H3> |
|
491 y_speed</H3> |
|
492 <PRE> |
|
493 protected float <B>y_speed</B></PRE> |
|
494 <DL> |
|
495 <DD>The Y-axis velocity value. |
|
496 <P> |
|
497 <DL> |
|
498 </DL> |
|
499 </DL> |
|
500 <HR> |
|
501 |
|
502 <A NAME="motion_speed"><!-- --></A><H3> |
|
503 motion_speed</H3> |
|
504 <PRE> |
|
505 protected float <B>motion_speed</B></PRE> |
|
506 <DL> |
|
507 <DD>The motion speed value. |
|
508 <P> |
|
509 <DL> |
|
510 </DL> |
|
511 </DL> |
|
512 <HR> |
|
513 |
|
514 <A NAME="motion_accel"><!-- --></A><H3> |
|
515 motion_accel</H3> |
|
516 <PRE> |
|
517 protected float <B>motion_accel</B></PRE> |
|
518 <DL> |
|
519 <DD>The motion acceleration value. |
|
520 <P> |
|
521 <DL> |
|
522 </DL> |
|
523 </DL> |
|
524 <HR> |
|
525 |
|
526 <A NAME="path"><!-- --></A><H3> |
|
527 path</H3> |
|
528 <PRE> |
|
529 protected java.util.Vector<<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A>> <B>path</B></PRE> |
|
530 <DL> |
|
531 <DD>A Vector of TuioPoints containing all the previous positions of the TUIO component. |
|
532 <P> |
|
533 <DL> |
|
534 </DL> |
|
535 </DL> |
|
536 <HR> |
|
537 |
|
538 <A NAME="TUIO_ADDED"><!-- --></A><H3> |
|
539 TUIO_ADDED</H3> |
|
540 <PRE> |
|
541 public static final int <B>TUIO_ADDED</B></PRE> |
|
542 <DL> |
|
543 <DD>Defines the ADDED state. |
|
544 <P> |
|
545 <DL> |
|
546 <DT><B>See Also:</B><DD><A HREF="../constant-values.html#TUIO.TuioCursor.TUIO_ADDED">Constant Field Values</A></DL> |
|
547 </DL> |
|
548 <HR> |
|
549 |
|
550 <A NAME="TUIO_ACCELERATING"><!-- --></A><H3> |
|
551 TUIO_ACCELERATING</H3> |
|
552 <PRE> |
|
553 public static final int <B>TUIO_ACCELERATING</B></PRE> |
|
554 <DL> |
|
555 <DD>Defines the ACCELERATING state. |
|
556 <P> |
|
557 <DL> |
|
558 <DT><B>See Also:</B><DD><A HREF="../constant-values.html#TUIO.TuioCursor.TUIO_ACCELERATING">Constant Field Values</A></DL> |
|
559 </DL> |
|
560 <HR> |
|
561 |
|
562 <A NAME="TUIO_DECELERATING"><!-- --></A><H3> |
|
563 TUIO_DECELERATING</H3> |
|
564 <PRE> |
|
565 public static final int <B>TUIO_DECELERATING</B></PRE> |
|
566 <DL> |
|
567 <DD>Defines the DECELERATING state. |
|
568 <P> |
|
569 <DL> |
|
570 <DT><B>See Also:</B><DD><A HREF="../constant-values.html#TUIO.TuioCursor.TUIO_DECELERATING">Constant Field Values</A></DL> |
|
571 </DL> |
|
572 <HR> |
|
573 |
|
574 <A NAME="TUIO_STOPPED"><!-- --></A><H3> |
|
575 TUIO_STOPPED</H3> |
|
576 <PRE> |
|
577 public static final int <B>TUIO_STOPPED</B></PRE> |
|
578 <DL> |
|
579 <DD>Defines the STOPPED state. |
|
580 <P> |
|
581 <DL> |
|
582 <DT><B>See Also:</B><DD><A HREF="../constant-values.html#TUIO.TuioCursor.TUIO_STOPPED">Constant Field Values</A></DL> |
|
583 </DL> |
|
584 <HR> |
|
585 |
|
586 <A NAME="TUIO_REMOVED"><!-- --></A><H3> |
|
587 TUIO_REMOVED</H3> |
|
588 <PRE> |
|
589 public static final int <B>TUIO_REMOVED</B></PRE> |
|
590 <DL> |
|
591 <DD>Defines the REMOVED state. |
|
592 <P> |
|
593 <DL> |
|
594 <DT><B>See Also:</B><DD><A HREF="../constant-values.html#TUIO.TuioCursor.TUIO_REMOVED">Constant Field Values</A></DL> |
|
595 </DL> |
|
596 <HR> |
|
597 |
|
598 <A NAME="state"><!-- --></A><H3> |
|
599 state</H3> |
|
600 <PRE> |
|
601 protected int <B>state</B></PRE> |
|
602 <DL> |
|
603 <DD>Reflects the current state of the TuioComponent |
|
604 <P> |
|
605 <DL> |
|
606 </DL> |
|
607 </DL> |
|
608 |
|
609 <!-- ========= CONSTRUCTOR DETAIL ======== --> |
|
610 |
|
611 <A NAME="constructor_detail"><!-- --></A> |
|
612 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
613 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
614 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|
615 <B>Constructor Detail</B></FONT></TH> |
|
616 </TR> |
|
617 </TABLE> |
|
618 |
|
619 <A NAME="TuioCursor(TUIO.TuioTime, long, int, float, float)"><!-- --></A><H3> |
|
620 TuioCursor</H3> |
|
621 <PRE> |
|
622 public <B>TuioCursor</B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
623 long si, |
|
624 int ci, |
|
625 float xp, |
|
626 float yp)</PRE> |
|
627 <DL> |
|
628 <DD>This constructor takes a TuioTime argument and assigns it along with the provided |
|
629 Session ID, Cursor ID, X and Y coordinate to the newly created TuioCursor. |
|
630 <P> |
|
631 <DL> |
|
632 <DT><B>Parameters:</B><DD><CODE>ttime</CODE> - the TuioTime to assign<DD><CODE>si</CODE> - the Session ID to assign<DD><CODE>ci</CODE> - the Cursor ID to assign<DD><CODE>xp</CODE> - the X coordinate to assign<DD><CODE>yp</CODE> - the Y coordinate to assign</DL> |
|
633 </DL> |
|
634 <HR> |
|
635 |
|
636 <A NAME="TuioCursor(long, int, float, float)"><!-- --></A><H3> |
|
637 TuioCursor</H3> |
|
638 <PRE> |
|
639 public <B>TuioCursor</B>(long si, |
|
640 int ci, |
|
641 float xp, |
|
642 float yp)</PRE> |
|
643 <DL> |
|
644 <DD>This constructor takes the provided Session ID, Cursor ID, X and Y coordinate |
|
645 and assigs these values to the newly created TuioCursor. |
|
646 <P> |
|
647 <DL> |
|
648 <DT><B>Parameters:</B><DD><CODE>si</CODE> - the Session ID to assign<DD><CODE>ci</CODE> - the Cursor ID to assign<DD><CODE>xp</CODE> - the X coordinate to assign<DD><CODE>yp</CODE> - the Y coordinate to assign</DL> |
|
649 </DL> |
|
650 <HR> |
|
651 |
|
652 <A NAME="TuioCursor(TUIO.TuioCursor)"><!-- --></A><H3> |
|
653 TuioCursor</H3> |
|
654 <PRE> |
|
655 public <B>TuioCursor</B>(<A HREF="../TUIO/TuioCursor.html" title="class in TUIO">TuioCursor</A> tcur)</PRE> |
|
656 <DL> |
|
657 <DD>This constructor takes the atttibutes of the provided TuioCursor |
|
658 and assigs these values to the newly created TuioCursor. |
|
659 <P> |
|
660 <DL> |
|
661 <DT><B>Parameters:</B><DD><CODE>tcur</CODE> - the TuioCursor to assign</DL> |
|
662 </DL> |
|
663 |
|
664 <!-- ============ METHOD DETAIL ========== --> |
|
665 |
|
666 <A NAME="method_detail"><!-- --></A> |
|
667 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|
668 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|
669 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|
670 <B>Method Detail</B></FONT></TH> |
|
671 </TR> |
|
672 </TABLE> |
|
673 |
|
674 <A NAME="getCursorID()"><!-- --></A><H3> |
|
675 getCursorID</H3> |
|
676 <PRE> |
|
677 public int <B>getCursorID</B>()</PRE> |
|
678 <DL> |
|
679 <DD>Returns the Cursor ID of this TuioCursor. |
|
680 <P> |
|
681 <DD><DL> |
|
682 |
|
683 <DT><B>Returns:</B><DD>the Cursor ID of this TuioCursor</DL> |
|
684 </DD> |
|
685 </DL> |
|
686 <HR> |
|
687 |
|
688 <A NAME="update(TUIO.TuioTime, float, float)"><!-- --></A><H3> |
|
689 update</H3> |
|
690 <PRE> |
|
691 public void <B>update</B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
692 float xp, |
|
693 float yp)</PRE> |
|
694 <DL> |
|
695 <DD>Takes a TuioTime argument and assigns it along with the provided |
|
696 X and Y coordinate to the private TuioContainer attributes. |
|
697 The speed and accleration values are calculated accordingly. |
|
698 <P> |
|
699 <DD><DL> |
|
700 <DT><B>Overrides:</B><DD><CODE><A HREF="../TUIO/TuioPoint.html#update(TUIO.TuioTime, float, float)">update</A></CODE> in class <CODE><A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A></CODE></DL> |
|
701 </DD> |
|
702 <DD><DL> |
|
703 <DT><B>Parameters:</B><DD><CODE>ttime</CODE> - the TuioTime to assign<DD><CODE>xp</CODE> - the X coordinate to assign<DD><CODE>yp</CODE> - the Y coordinate to assign</DL> |
|
704 </DD> |
|
705 </DL> |
|
706 <HR> |
|
707 |
|
708 <A NAME="stop(TUIO.TuioTime)"><!-- --></A><H3> |
|
709 stop</H3> |
|
710 <PRE> |
|
711 public void <B>stop</B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime)</PRE> |
|
712 <DL> |
|
713 <DD>This method is used to calculate the speed and acceleration values of |
|
714 TuioContainers with unchanged positions. |
|
715 <P> |
|
716 <DD><DL> |
|
717 </DL> |
|
718 </DD> |
|
719 </DL> |
|
720 <HR> |
|
721 |
|
722 <A NAME="update(TUIO.TuioTime, float, float, float, float, float)"><!-- --></A><H3> |
|
723 update</H3> |
|
724 <PRE> |
|
725 public void <B>update</B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime, |
|
726 float xp, |
|
727 float yp, |
|
728 float xs, |
|
729 float ys, |
|
730 float ma)</PRE> |
|
731 <DL> |
|
732 <DD>Takes a TuioTime argument and assigns it along with the provided |
|
733 X and Y coordinate, X and Y velocity and acceleration |
|
734 to the private TuioContainer attributes. |
|
735 <P> |
|
736 <DD><DL> |
|
737 <DT><B>Parameters:</B><DD><CODE>ttime</CODE> - the TuioTime to assign<DD><CODE>xp</CODE> - the X coordinate to assign<DD><CODE>yp</CODE> - the Y coordinate to assign<DD><CODE>xs</CODE> - the X velocity to assign<DD><CODE>ys</CODE> - the Y velocity to assign<DD><CODE>ma</CODE> - the acceleration to assign</DL> |
|
738 </DD> |
|
739 </DL> |
|
740 <HR> |
|
741 |
|
742 <A NAME="update(float, float, float, float, float)"><!-- --></A><H3> |
|
743 update</H3> |
|
744 <PRE> |
|
745 public void <B>update</B>(float xp, |
|
746 float yp, |
|
747 float xs, |
|
748 float ys, |
|
749 float ma)</PRE> |
|
750 <DL> |
|
751 <DD>Assigns the provided X and Y coordinate, X and Y velocity and acceleration |
|
752 to the private TuioContainer attributes. The TuioTime time stamp remains unchanged. |
|
753 <P> |
|
754 <DD><DL> |
|
755 <DT><B>Parameters:</B><DD><CODE>xp</CODE> - the X coordinate to assign<DD><CODE>yp</CODE> - the Y coordinate to assign<DD><CODE>xs</CODE> - the X velocity to assign<DD><CODE>ys</CODE> - the Y velocity to assign<DD><CODE>ma</CODE> - the acceleration to assign</DL> |
|
756 </DD> |
|
757 </DL> |
|
758 <HR> |
|
759 |
|
760 <A NAME="update(TUIO.TuioContainer)"><!-- --></A><H3> |
|
761 update</H3> |
|
762 <PRE> |
|
763 public void <B>update</B>(TUIO.TuioContainer tcon)</PRE> |
|
764 <DL> |
|
765 <DD>Takes the atttibutes of the provided TuioContainer |
|
766 and assigs these values to this TuioContainer. |
|
767 The TuioTime time stamp of this TuioContainer remains unchanged. |
|
768 <P> |
|
769 <DD><DL> |
|
770 <DT><B>Parameters:</B><DD><CODE>tcon</CODE> - the TuioContainer to assign</DL> |
|
771 </DD> |
|
772 </DL> |
|
773 <HR> |
|
774 |
|
775 <A NAME="remove(TUIO.TuioTime)"><!-- --></A><H3> |
|
776 remove</H3> |
|
777 <PRE> |
|
778 public void <B>remove</B>(<A HREF="../TUIO/TuioTime.html" title="class in TUIO">TuioTime</A> ttime)</PRE> |
|
779 <DL> |
|
780 <DD>Assigns the REMOVE state to this TuioContainer and sets |
|
781 its TuioTime time stamp to the provided TuioTime argument. |
|
782 <P> |
|
783 <DD><DL> |
|
784 <DT><B>Parameters:</B><DD><CODE>ttime</CODE> - the TuioTime to assign</DL> |
|
785 </DD> |
|
786 </DL> |
|
787 <HR> |
|
788 |
|
789 <A NAME="getSessionID()"><!-- --></A><H3> |
|
790 getSessionID</H3> |
|
791 <PRE> |
|
792 public long <B>getSessionID</B>()</PRE> |
|
793 <DL> |
|
794 <DD>Returns the Session ID of this TuioContainer. |
|
795 <P> |
|
796 <DD><DL> |
|
797 |
|
798 <DT><B>Returns:</B><DD>the Session ID of this TuioContainer</DL> |
|
799 </DD> |
|
800 </DL> |
|
801 <HR> |
|
802 |
|
803 <A NAME="getXSpeed()"><!-- --></A><H3> |
|
804 getXSpeed</H3> |
|
805 <PRE> |
|
806 public float <B>getXSpeed</B>()</PRE> |
|
807 <DL> |
|
808 <DD>Returns the X velocity of this TuioContainer. |
|
809 <P> |
|
810 <DD><DL> |
|
811 |
|
812 <DT><B>Returns:</B><DD>the X velocity of this TuioContainer</DL> |
|
813 </DD> |
|
814 </DL> |
|
815 <HR> |
|
816 |
|
817 <A NAME="getYSpeed()"><!-- --></A><H3> |
|
818 getYSpeed</H3> |
|
819 <PRE> |
|
820 public float <B>getYSpeed</B>()</PRE> |
|
821 <DL> |
|
822 <DD>Returns the Y velocity of this TuioContainer. |
|
823 <P> |
|
824 <DD><DL> |
|
825 |
|
826 <DT><B>Returns:</B><DD>the Y velocity of this TuioContainer</DL> |
|
827 </DD> |
|
828 </DL> |
|
829 <HR> |
|
830 |
|
831 <A NAME="getPosition()"><!-- --></A><H3> |
|
832 getPosition</H3> |
|
833 <PRE> |
|
834 public <A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A> <B>getPosition</B>()</PRE> |
|
835 <DL> |
|
836 <DD>Returns the position of this TuioContainer. |
|
837 <P> |
|
838 <DD><DL> |
|
839 |
|
840 <DT><B>Returns:</B><DD>the position of this TuioContainer</DL> |
|
841 </DD> |
|
842 </DL> |
|
843 <HR> |
|
844 |
|
845 <A NAME="getPath()"><!-- --></A><H3> |
|
846 getPath</H3> |
|
847 <PRE> |
|
848 public java.util.Vector<<A HREF="../TUIO/TuioPoint.html" title="class in TUIO">TuioPoint</A>> <B>getPath</B>()</PRE> |
|
849 <DL> |
|
850 <DD>Returns the path of this TuioContainer. |
|
851 <P> |
|
852 <DD><DL> |
|
853 |
|
854 <DT><B>Returns:</B><DD>the path of this TuioContainer</DL> |
|
855 </DD> |
|
856 </DL> |
|
857 <HR> |
|
858 |
|
859 <A NAME="getMotionSpeed()"><!-- --></A><H3> |
|
860 getMotionSpeed</H3> |
|
861 <PRE> |
|
862 public float <B>getMotionSpeed</B>()</PRE> |
|
863 <DL> |
|
864 <DD>Returns the motion speed of this TuioContainer. |
|
865 <P> |
|
866 <DD><DL> |
|
867 |
|
868 <DT><B>Returns:</B><DD>the motion speed of this TuioContainer</DL> |
|
869 </DD> |
|
870 </DL> |
|
871 <HR> |
|
872 |
|
873 <A NAME="getMotionAccel()"><!-- --></A><H3> |
|
874 getMotionAccel</H3> |
|
875 <PRE> |
|
876 public float <B>getMotionAccel</B>()</PRE> |
|
877 <DL> |
|
878 <DD>Returns the motion acceleration of this TuioContainer. |
|
879 <P> |
|
880 <DD><DL> |
|
881 |
|
882 <DT><B>Returns:</B><DD>the motion acceleration of this TuioContainer</DL> |
|
883 </DD> |
|
884 </DL> |
|
885 <HR> |
|
886 |
|
887 <A NAME="getTuioState()"><!-- --></A><H3> |
|
888 getTuioState</H3> |
|
889 <PRE> |
|
890 public int <B>getTuioState</B>()</PRE> |
|
891 <DL> |
|
892 <DD>Returns the TUIO state of this TuioContainer. |
|
893 <P> |
|
894 <DD><DL> |
|
895 |
|
896 <DT><B>Returns:</B><DD>the TUIO state of this TuioContainer</DL> |
|
897 </DD> |
|
898 </DL> |
|
899 <HR> |
|
900 |
|
901 <A NAME="isMoving()"><!-- --></A><H3> |
|
902 isMoving</H3> |
|
903 <PRE> |
|
904 public boolean <B>isMoving</B>()</PRE> |
|
905 <DL> |
|
906 <DD>Returns true of this TuioContainer is moving. |
|
907 <P> |
|
908 <DD><DL> |
|
909 |
|
910 <DT><B>Returns:</B><DD>true of this TuioContainer is moving</DL> |
|
911 </DD> |
|
912 </DL> |
|
913 <!-- ========= END OF CLASS DATA ========= --> |
|
914 <HR> |
|
915 |
|
916 |
|
917 <!-- ======= START OF BOTTOM NAVBAR ====== --> |
|
918 <A NAME="navbar_bottom"><!-- --></A> |
|
919 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
|
920 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
|
921 <TR> |
|
922 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
|
923 <A NAME="navbar_bottom_firstrow"><!-- --></A> |
|
924 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
|
925 <TR ALIGN="center" VALIGN="top"> |
|
926 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../TUIO/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
|
927 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
|
928 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
|
929 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
|
930 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
|
931 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
|
932 </TR> |
|
933 </TABLE> |
|
934 </TD> |
|
935 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
|
936 </EM> |
|
937 </TD> |
|
938 </TR> |
|
939 |
|
940 <TR> |
|
941 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|
942 <A HREF="../TUIO/TuioClient.html" title="class in TUIO"><B>PREV CLASS</B></A> |
|
943 <A HREF="../TUIO/TuioListener.html" title="interface in TUIO"><B>NEXT CLASS</B></A></FONT></TD> |
|
944 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|
945 <A HREF="../index.html?TUIO/TuioCursor.html" target="_top"><B>FRAMES</B></A> |
|
946 <A HREF="TuioCursor.html" target="_top"><B>NO FRAMES</B></A> |
|
947 <SCRIPT type="text/javascript"> |
|
948 <!-- |
|
949 if(window==top) { |
|
950 document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
|
951 } |
|
952 //--> |
|
953 </SCRIPT> |
|
954 <NOSCRIPT> |
|
955 <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
|
956 </NOSCRIPT> |
|
957 |
|
958 |
|
959 </FONT></TD> |
|
960 </TR> |
|
961 <TR> |
|
962 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|
963 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
|
964 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|
965 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
|
966 </TR> |
|
967 </TABLE> |
|
968 <A NAME="skip-navbar_bottom"></A> |
|
969 <!-- ======== END OF BOTTOM NAVBAR ======= --> |
|
970 |
|
971 <HR> |
|
972 |
|
973 </BODY> |
|
974 </HTML> |