Camera.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  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.6.0_20) on Thu Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. Camera
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="Camera";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;PREV CLASS&nbsp;
  50. &nbsp;<A HREF="../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../../index.html?org/ros/android/view/visualization/Camera.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="Camera.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.view.visualization</FONT>
  80. <BR>
  81. Class Camera</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.view.visualization.Camera</B>
  85. </PRE>
  86. <HR>
  87. <DL>
  88. <DT><PRE>public class <B>Camera</B><DT>extends java.lang.Object</DL>
  89. </PRE>
  90. <P>
  91. <HR>
  92. <P>
  93. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  94. <A NAME="constructor_summary"><!-- --></A>
  95. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  96. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  97. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  98. <B>Constructor Summary</B></FONT></TH>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#Camera(org.ros.rosjava_geometry.FrameTransformTree)">Camera</A></B>(org.ros.rosjava_geometry.FrameTransformTree&nbsp;frameTransformTree)</CODE>
  102. <BR>
  103. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  104. </TR>
  105. </TABLE>
  106. &nbsp;
  107. <!-- ========== METHOD SUMMARY =========== -->
  108. <A NAME="method_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Method Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>&nbsp;void</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#apply(GL10)">apply</A></B>(GL10&nbsp;gl)</CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>&nbsp;org.ros.rosjava_geometry.Vector3</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#getCamera()">getCamera</A></B>()</CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  127. </TR>
  128. <TR BGCOLOR="white" CLASS="TableRowColor">
  129. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  130. <CODE>&nbsp;org.ros.namespace.GraphName</CODE></FONT></TD>
  131. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#getFixedFrame()">getFixedFrame</A></B>()</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  137. <CODE>&nbsp;org.ros.namespace.GraphName</CODE></FONT></TD>
  138. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#getTargetFrame()">getTargetFrame</A></B>()</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  144. <CODE>&nbsp;<A HREF="../../../../../org/ros/android/view/visualization/Viewport.html" title="class in org.ros.android.view.visualization">Viewport</A></CODE></FONT></TD>
  145. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#getViewport()">getViewport</A></B>()</CODE>
  146. <BR>
  147. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  151. <CODE>&nbsp;float</CODE></FONT></TD>
  152. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#getZoom()">getZoom</A></B>()</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>&nbsp;void</CODE></FONT></TD>
  159. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#moveCameraScreenCoordinates(float, float)">moveCameraScreenCoordinates</A></B>(float&nbsp;xDistance,
  160. float&nbsp;yDistance)</CODE>
  161. <BR>
  162. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Moves the camera.</TD>
  163. </TR>
  164. <TR BGCOLOR="white" CLASS="TableRowColor">
  165. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  166. <CODE>&nbsp;void</CODE></FONT></TD>
  167. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#resetFixedFrame()">resetFixedFrame</A></B>()</CODE>
  168. <BR>
  169. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  170. </TR>
  171. <TR BGCOLOR="white" CLASS="TableRowColor">
  172. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  173. <CODE>&nbsp;void</CODE></FONT></TD>
  174. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#resetTargetFrame()">resetTargetFrame</A></B>()</CODE>
  175. <BR>
  176. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  177. </TR>
  178. <TR BGCOLOR="white" CLASS="TableRowColor">
  179. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  180. <CODE>&nbsp;void</CODE></FONT></TD>
  181. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#setCamera(org.ros.rosjava_geometry.Vector3)">setCamera</A></B>(org.ros.rosjava_geometry.Vector3&nbsp;newCameraPoint)</CODE>
  182. <BR>
  183. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  184. </TR>
  185. <TR BGCOLOR="white" CLASS="TableRowColor">
  186. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  187. <CODE>&nbsp;void</CODE></FONT></TD>
  188. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#setFixedFrame(org.ros.namespace.GraphName)">setFixedFrame</A></B>(org.ros.namespace.GraphName&nbsp;fixedFrame)</CODE>
  189. <BR>
  190. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  191. </TR>
  192. <TR BGCOLOR="white" CLASS="TableRowColor">
  193. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  194. <CODE>&nbsp;void</CODE></FONT></TD>
  195. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#setTargetFrame(org.ros.namespace.GraphName)">setTargetFrame</A></B>(org.ros.namespace.GraphName&nbsp;frame)</CODE>
  196. <BR>
  197. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  198. </TR>
  199. <TR BGCOLOR="white" CLASS="TableRowColor">
  200. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  201. <CODE>&nbsp;void</CODE></FONT></TD>
  202. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#setViewport(org.ros.android.view.visualization.Viewport)">setViewport</A></B>(<A HREF="../../../../../org/ros/android/view/visualization/Viewport.html" title="class in org.ros.android.view.visualization">Viewport</A>&nbsp;viewport)</CODE>
  203. <BR>
  204. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  205. </TR>
  206. <TR BGCOLOR="white" CLASS="TableRowColor">
  207. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  208. <CODE>&nbsp;void</CODE></FONT></TD>
  209. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#setZoom(float)">setZoom</A></B>(float&nbsp;zoom)</CODE>
  210. <BR>
  211. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  212. </TR>
  213. <TR BGCOLOR="white" CLASS="TableRowColor">
  214. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  215. <CODE>&nbsp;org.ros.rosjava_geometry.Transform</CODE></FONT></TD>
  216. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#toOpenGLPose(Point, float)">toOpenGLPose</A></B>(Point&nbsp;goalScreenPoint,
  217. float&nbsp;orientation)</CODE>
  218. <BR>
  219. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the pose in the OpenGL world that corresponds to a screen
  220. coordinate and an orientation.</TD>
  221. </TR>
  222. <TR BGCOLOR="white" CLASS="TableRowColor">
  223. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  224. <CODE>&nbsp;org.ros.rosjava_geometry.Vector3</CODE></FONT></TD>
  225. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#toWorldCoordinates(Point)">toWorldCoordinates</A></B>(Point&nbsp;screenPoint)</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the real world equivalent of the viewport coordinates specified.</TD>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  231. <CODE>&nbsp;void</CODE></FONT></TD>
  232. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Camera.html#zoomCamera(float)">zoomCamera</A></B>(float&nbsp;factor)</CODE>
  233. <BR>
  234. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  235. </TR>
  236. </TABLE>
  237. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  238. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  239. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  240. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  241. </TR>
  242. <TR BGCOLOR="white" CLASS="TableRowColor">
  243. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  244. </TR>
  245. </TABLE>
  246. &nbsp;
  247. <P>
  248. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  249. <A NAME="constructor_detail"><!-- --></A>
  250. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  251. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  252. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  253. <B>Constructor Detail</B></FONT></TH>
  254. </TR>
  255. </TABLE>
  256. <A NAME="Camera(org.ros.rosjava_geometry.FrameTransformTree)"><!-- --></A><H3>
  257. Camera</H3>
  258. <PRE>
  259. public <B>Camera</B>(org.ros.rosjava_geometry.FrameTransformTree&nbsp;frameTransformTree)</PRE>
  260. <DL>
  261. </DL>
  262. <!-- ============ METHOD DETAIL ========== -->
  263. <A NAME="method_detail"><!-- --></A>
  264. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  265. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  266. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  267. <B>Method Detail</B></FONT></TH>
  268. </TR>
  269. </TABLE>
  270. <A NAME="apply(GL10)"><!-- --></A><H3>
  271. apply</H3>
  272. <PRE>
  273. public void <B>apply</B>(GL10&nbsp;gl)</PRE>
  274. <DL>
  275. <DD><DL>
  276. </DL>
  277. </DD>
  278. </DL>
  279. <HR>
  280. <A NAME="moveCameraScreenCoordinates(float, float)"><!-- --></A><H3>
  281. moveCameraScreenCoordinates</H3>
  282. <PRE>
  283. public void <B>moveCameraScreenCoordinates</B>(float&nbsp;xDistance,
  284. float&nbsp;yDistance)</PRE>
  285. <DL>
  286. <DD>Moves the camera.
  287. <p>
  288. The distances are given in viewport coordinates, not in world coordinates.
  289. <P>
  290. <DD><DL>
  291. <DT><B>Parameters:</B><DD><CODE>xDistance</CODE> - distance in x to move<DD><CODE>yDistance</CODE> - distance in y to move</DL>
  292. </DD>
  293. </DL>
  294. <HR>
  295. <A NAME="setCamera(org.ros.rosjava_geometry.Vector3)"><!-- --></A><H3>
  296. setCamera</H3>
  297. <PRE>
  298. public void <B>setCamera</B>(org.ros.rosjava_geometry.Vector3&nbsp;newCameraPoint)</PRE>
  299. <DL>
  300. <DD><DL>
  301. </DL>
  302. </DD>
  303. </DL>
  304. <HR>
  305. <A NAME="getCamera()"><!-- --></A><H3>
  306. getCamera</H3>
  307. <PRE>
  308. public org.ros.rosjava_geometry.Vector3 <B>getCamera</B>()</PRE>
  309. <DL>
  310. <DD><DL>
  311. </DL>
  312. </DD>
  313. </DL>
  314. <HR>
  315. <A NAME="zoomCamera(float)"><!-- --></A><H3>
  316. zoomCamera</H3>
  317. <PRE>
  318. public void <B>zoomCamera</B>(float&nbsp;factor)</PRE>
  319. <DL>
  320. <DD><DL>
  321. </DL>
  322. </DD>
  323. </DL>
  324. <HR>
  325. <A NAME="toWorldCoordinates(Point)"><!-- --></A><H3>
  326. toWorldCoordinates</H3>
  327. <PRE>
  328. public org.ros.rosjava_geometry.Vector3 <B>toWorldCoordinates</B>(Point&nbsp;screenPoint)</PRE>
  329. <DL>
  330. <DD>Returns the real world equivalent of the viewport coordinates specified.
  331. <P>
  332. <DD><DL>
  333. <DT><B>Returns:</B><DD>the world coordinates of the provided screen coordinates</DL>
  334. </DD>
  335. </DL>
  336. <HR>
  337. <A NAME="toOpenGLPose(Point, float)"><!-- --></A><H3>
  338. toOpenGLPose</H3>
  339. <PRE>
  340. public org.ros.rosjava_geometry.Transform <B>toOpenGLPose</B>(Point&nbsp;goalScreenPoint,
  341. float&nbsp;orientation)</PRE>
  342. <DL>
  343. <DD>Returns the pose in the OpenGL world that corresponds to a screen
  344. coordinate and an orientation.
  345. <P>
  346. <DD><DL>
  347. <DT><B>Parameters:</B><DD><CODE>goalScreenPoint</CODE> - the point on the screen<DD><CODE>orientation</CODE> - the orientation of the pose on the screen</DL>
  348. </DD>
  349. </DL>
  350. <HR>
  351. <A NAME="getFixedFrame()"><!-- --></A><H3>
  352. getFixedFrame</H3>
  353. <PRE>
  354. public org.ros.namespace.GraphName <B>getFixedFrame</B>()</PRE>
  355. <DL>
  356. <DD><DL>
  357. </DL>
  358. </DD>
  359. </DL>
  360. <HR>
  361. <A NAME="setFixedFrame(org.ros.namespace.GraphName)"><!-- --></A><H3>
  362. setFixedFrame</H3>
  363. <PRE>
  364. public void <B>setFixedFrame</B>(org.ros.namespace.GraphName&nbsp;fixedFrame)</PRE>
  365. <DL>
  366. <DD><DL>
  367. </DL>
  368. </DD>
  369. </DL>
  370. <HR>
  371. <A NAME="resetFixedFrame()"><!-- --></A><H3>
  372. resetFixedFrame</H3>
  373. <PRE>
  374. public void <B>resetFixedFrame</B>()</PRE>
  375. <DL>
  376. <DD><DL>
  377. </DL>
  378. </DD>
  379. </DL>
  380. <HR>
  381. <A NAME="setTargetFrame(org.ros.namespace.GraphName)"><!-- --></A><H3>
  382. setTargetFrame</H3>
  383. <PRE>
  384. public void <B>setTargetFrame</B>(org.ros.namespace.GraphName&nbsp;frame)</PRE>
  385. <DL>
  386. <DD><DL>
  387. </DL>
  388. </DD>
  389. </DL>
  390. <HR>
  391. <A NAME="resetTargetFrame()"><!-- --></A><H3>
  392. resetTargetFrame</H3>
  393. <PRE>
  394. public void <B>resetTargetFrame</B>()</PRE>
  395. <DL>
  396. <DD><DL>
  397. </DL>
  398. </DD>
  399. </DL>
  400. <HR>
  401. <A NAME="getTargetFrame()"><!-- --></A><H3>
  402. getTargetFrame</H3>
  403. <PRE>
  404. public org.ros.namespace.GraphName <B>getTargetFrame</B>()</PRE>
  405. <DL>
  406. <DD><DL>
  407. </DL>
  408. </DD>
  409. </DL>
  410. <HR>
  411. <A NAME="getViewport()"><!-- --></A><H3>
  412. getViewport</H3>
  413. <PRE>
  414. public <A HREF="../../../../../org/ros/android/view/visualization/Viewport.html" title="class in org.ros.android.view.visualization">Viewport</A> <B>getViewport</B>()</PRE>
  415. <DL>
  416. <DD><DL>
  417. </DL>
  418. </DD>
  419. </DL>
  420. <HR>
  421. <A NAME="setViewport(org.ros.android.view.visualization.Viewport)"><!-- --></A><H3>
  422. setViewport</H3>
  423. <PRE>
  424. public void <B>setViewport</B>(<A HREF="../../../../../org/ros/android/view/visualization/Viewport.html" title="class in org.ros.android.view.visualization">Viewport</A>&nbsp;viewport)</PRE>
  425. <DL>
  426. <DD><DL>
  427. </DL>
  428. </DD>
  429. </DL>
  430. <HR>
  431. <A NAME="getZoom()"><!-- --></A><H3>
  432. getZoom</H3>
  433. <PRE>
  434. public float <B>getZoom</B>()</PRE>
  435. <DL>
  436. <DD><DL>
  437. </DL>
  438. </DD>
  439. </DL>
  440. <HR>
  441. <A NAME="setZoom(float)"><!-- --></A><H3>
  442. setZoom</H3>
  443. <PRE>
  444. public void <B>setZoom</B>(float&nbsp;zoom)</PRE>
  445. <DL>
  446. <DD><DL>
  447. </DL>
  448. </DD>
  449. </DL>
  450. <!-- ========= END OF CLASS DATA ========= -->
  451. <HR>
  452. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  453. <A NAME="navbar_bottom"><!-- --></A>
  454. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  455. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  456. <TR>
  457. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  458. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  459. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  460. <TR ALIGN="center" VALIGN="top">
  461. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  462. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  463. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  464. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  465. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  466. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  467. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  468. </TR>
  469. </TABLE>
  470. </TD>
  471. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  472. </EM>
  473. </TD>
  474. </TR>
  475. <TR>
  476. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  477. &nbsp;PREV CLASS&nbsp;
  478. &nbsp;<A HREF="../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization"><B>NEXT CLASS</B></A></FONT></TD>
  479. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  480. <A HREF="../../../../../index.html?org/ros/android/view/visualization/Camera.html" target="_top"><B>FRAMES</B></A> &nbsp;
  481. &nbsp;<A HREF="Camera.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  482. &nbsp;<SCRIPT type="text/javascript">
  483. <!--
  484. if(window==top) {
  485. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  486. }
  487. //-->
  488. </SCRIPT>
  489. <NOSCRIPT>
  490. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  491. </NOSCRIPT>
  492. </FONT></TD>
  493. </TR>
  494. <TR>
  495. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  496. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  497. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  498. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  499. </TR>
  500. </TABLE>
  501. <A NAME="skip-navbar_bottom"></A>
  502. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  503. <HR>
  504. </BODY>
  505. </HTML>