PoseShape.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (version 1.7.0_21) on Wed Sep 25 23:19:36 KST 2013 -->
  6. <title>PoseShape</title>
  7. <meta name="date" content="2013-09-25">
  8. <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
  9. </head>
  10. <body>
  11. <script type="text/javascript"><!--
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="PoseShape";
  14. }
  15. //-->
  16. </script>
  17. <noscript>
  18. <div>JavaScript is disabled on your browser.</div>
  19. </noscript>
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <div class="topNav"><a name="navbar_top">
  22. <!-- -->
  23. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  24. <!-- -->
  25. </a>
  26. <ul class="navList" title="Navigation">
  27. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  28. <li><a href="package-summary.html">Package</a></li>
  29. <li class="navBarCell1Rev">Class</li>
  30. <li><a href="package-tree.html">Tree</a></li>
  31. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  32. <li><a href="../../../../../../index-all.html">Index</a></li>
  33. <li><a href="../../../../../../help-doc.html">Help</a></li>
  34. </ul>
  35. </div>
  36. <div class="subNav">
  37. <ul class="navList">
  38. <li><a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Prev Class</span></a></li>
  39. <li><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Next Class</span></a></li>
  40. </ul>
  41. <ul class="navList">
  42. <li><a href="../../../../../../index.html?org/ros/android/view/visualization/shape/PoseShape.html" target="_top">Frames</a></li>
  43. <li><a href="PoseShape.html" target="_top">No Frames</a></li>
  44. </ul>
  45. <ul class="navList" id="allclasses_navbar_top">
  46. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  47. </ul>
  48. <div>
  49. <script type="text/javascript"><!--
  50. allClassesLink = document.getElementById("allclasses_navbar_top");
  51. if(window==top) {
  52. allClassesLink.style.display = "block";
  53. }
  54. else {
  55. allClassesLink.style.display = "none";
  56. }
  57. //-->
  58. </script>
  59. </div>
  60. <div>
  61. <ul class="subNavList">
  62. <li>Summary:&nbsp;</li>
  63. <li>Nested&nbsp;|&nbsp;</li>
  64. <li>Field&nbsp;|&nbsp;</li>
  65. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#method_summary">Method</a></li>
  67. </ul>
  68. <ul class="subNavList">
  69. <li>Detail:&nbsp;</li>
  70. <li>Field&nbsp;|&nbsp;</li>
  71. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#method_detail">Method</a></li>
  73. </ul>
  74. </div>
  75. <a name="skip-navbar_top">
  76. <!-- -->
  77. </a></div>
  78. <!-- ========= END OF TOP NAVBAR ========= -->
  79. <!-- ======== START OF CLASS DATA ======== -->
  80. <div class="header">
  81. <div class="subTitle">org.ros.android.view.visualization.shape</div>
  82. <h2 title="Class PoseShape" class="title">Class PoseShape</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <ul class="inheritance">
  86. <li>java.lang.Object</li>
  87. <li>
  88. <ul class="inheritance">
  89. <li><a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape">org.ros.android.view.visualization.shape.TriangleFanShape</a></li>
  90. <li>
  91. <ul class="inheritance">
  92. <li><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape">org.ros.android.view.visualization.shape.RobotShape</a></li>
  93. <li>
  94. <ul class="inheritance">
  95. <li><a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape">org.ros.android.view.visualization.shape.GoalShape</a></li>
  96. <li>
  97. <ul class="inheritance">
  98. <li>org.ros.android.view.visualization.shape.PoseShape</li>
  99. </ul>
  100. </li>
  101. </ul>
  102. </li>
  103. </ul>
  104. </li>
  105. </ul>
  106. </li>
  107. </ul>
  108. <div class="description">
  109. <ul class="blockList">
  110. <li class="blockList">
  111. <dl>
  112. <dt>All Implemented Interfaces:</dt>
  113. <dd><a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</a>, <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape">Shape</a></dd>
  114. </dl>
  115. <hr>
  116. <br>
  117. <pre>public class <span class="strong">PoseShape</span>
  118. extends <a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape">GoalShape</a></pre>
  119. <div class="block">Represents the pose that will be published.
  120. <p>
  121. This shape is defined in pixel space and will not be affected by the zoom
  122. level of the camera.</div>
  123. </li>
  124. </ul>
  125. </div>
  126. <div class="summary">
  127. <ul class="blockList">
  128. <li class="blockList">
  129. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  130. <ul class="blockList">
  131. <li class="blockList"><a name="constructor_summary">
  132. <!-- -->
  133. </a>
  134. <h3>Constructor Summary</h3>
  135. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  136. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  137. <tr>
  138. <th class="colOne" scope="col">Constructor and Description</th>
  139. </tr>
  140. <tr class="altColor">
  141. <td class="colOne"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#PoseShape(org.ros.android.view.visualization.Camera)">PoseShape</a></strong>(<a href="../../../../../../org/ros/android/view/visualization/Camera.html" title="class in org.ros.android.view.visualization">Camera</a>&nbsp;camera)</code>&nbsp;</td>
  142. </tr>
  143. </table>
  144. </li>
  145. </ul>
  146. <!-- ========== METHOD SUMMARY =========== -->
  147. <ul class="blockList">
  148. <li class="blockList"><a name="method_summary">
  149. <!-- -->
  150. </a>
  151. <h3>Method Summary</h3>
  152. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  153. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  154. <tr>
  155. <th class="colFirst" scope="col">Modifier and Type</th>
  156. <th class="colLast" scope="col">Method and Description</th>
  157. </tr>
  158. <tr class="altColor">
  159. <td class="colFirst"><code><a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization">Color</a></code></td>
  160. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#getColor()">getColor</a></strong>()</code>&nbsp;</td>
  161. </tr>
  162. <tr class="rowColor">
  163. <td class="colFirst"><code>org.ros.rosjava_geometry.Transform</code></td>
  164. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#getTransform()">getTransform</a></strong>()</code>&nbsp;</td>
  165. </tr>
  166. <tr class="altColor">
  167. <td class="colFirst"><code>protected void</code></td>
  168. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#scale(GL10)">scale</a></strong>(GL10&nbsp;gl)</code>
  169. <div class="block">Scales the coordinate system.</div>
  170. </td>
  171. </tr>
  172. <tr class="rowColor">
  173. <td class="colFirst"><code>void</code></td>
  174. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#setColor(org.ros.android.view.visualization.Color)">setColor</a></strong>(<a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization">Color</a>&nbsp;color)</code>&nbsp;</td>
  175. </tr>
  176. <tr class="altColor">
  177. <td class="colFirst"><code>void</code></td>
  178. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#setTransform(org.ros.rosjava_geometry.Transform)">setTransform</a></strong>(org.ros.rosjava_geometry.Transform&nbsp;pose)</code>&nbsp;</td>
  179. </tr>
  180. </table>
  181. <ul class="blockList">
  182. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.view.visualization.shape.TriangleFanShape">
  183. <!-- -->
  184. </a>
  185. <h3>Methods inherited from class&nbsp;org.ros.android.view.visualization.shape.<a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape">TriangleFanShape</a></h3>
  186. <code><a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html#draw(GL10)">draw</a></code></li>
  187. </ul>
  188. <ul class="blockList">
  189. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  190. <!-- -->
  191. </a>
  192. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  193. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  194. </ul>
  195. </li>
  196. </ul>
  197. </li>
  198. </ul>
  199. </div>
  200. <div class="details">
  201. <ul class="blockList">
  202. <li class="blockList">
  203. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  204. <ul class="blockList">
  205. <li class="blockList"><a name="constructor_detail">
  206. <!-- -->
  207. </a>
  208. <h3>Constructor Detail</h3>
  209. <a name="PoseShape(org.ros.android.view.visualization.Camera)">
  210. <!-- -->
  211. </a>
  212. <ul class="blockListLast">
  213. <li class="blockList">
  214. <h4>PoseShape</h4>
  215. <pre>public&nbsp;PoseShape(<a href="../../../../../../org/ros/android/view/visualization/Camera.html" title="class in org.ros.android.view.visualization">Camera</a>&nbsp;camera)</pre>
  216. </li>
  217. </ul>
  218. </li>
  219. </ul>
  220. <!-- ============ METHOD DETAIL ========== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="method_detail">
  223. <!-- -->
  224. </a>
  225. <h3>Method Detail</h3>
  226. <a name="scale(GL10)">
  227. <!-- -->
  228. </a>
  229. <ul class="blockList">
  230. <li class="blockList">
  231. <h4>scale</h4>
  232. <pre>protected&nbsp;void&nbsp;scale(GL10&nbsp;gl)</pre>
  233. <div class="block">Scales the coordinate system.
  234. <p>
  235. This is called after transforming the surface according to
  236. <a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html#transform"><code>transform</code></a>.</div>
  237. </li>
  238. </ul>
  239. <a name="getColor()">
  240. <!-- -->
  241. </a>
  242. <ul class="blockList">
  243. <li class="blockList">
  244. <h4>getColor</h4>
  245. <pre>public&nbsp;<a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization">Color</a>&nbsp;getColor()</pre>
  246. <dl>
  247. <dt><strong>Specified by:</strong></dt>
  248. <dd><code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getColor()">getColor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape">Shape</a></code></dd>
  249. <dt><span class="strong">Returns:</span></dt><dd>the <a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization"><code>Color</code></a> of this <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><code>Shape</code></a></dd></dl>
  250. </li>
  251. </ul>
  252. <a name="setColor(org.ros.android.view.visualization.Color)">
  253. <!-- -->
  254. </a>
  255. <ul class="blockList">
  256. <li class="blockList">
  257. <h4>setColor</h4>
  258. <pre>public&nbsp;void&nbsp;setColor(<a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization">Color</a>&nbsp;color)</pre>
  259. <dl>
  260. <dt><strong>Specified by:</strong></dt>
  261. <dd><code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#setColor(org.ros.android.view.visualization.Color)">setColor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape">Shape</a></code></dd>
  262. <dt><span class="strong">Parameters:</span></dt><dd><code>color</code> - the <a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization"><code>Color</code></a> of this <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><code>Shape</code></a></dd></dl>
  263. </li>
  264. </ul>
  265. <a name="getTransform()">
  266. <!-- -->
  267. </a>
  268. <ul class="blockList">
  269. <li class="blockList">
  270. <h4>getTransform</h4>
  271. <pre>public&nbsp;org.ros.rosjava_geometry.Transform&nbsp;getTransform()</pre>
  272. <dl>
  273. <dt><strong>Specified by:</strong></dt>
  274. <dd><code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getTransform()">getTransform</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape">Shape</a></code></dd>
  275. <dt><span class="strong">Returns:</span></dt><dd>the <code>Transform</code> that will be applied to this <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><code>Shape</code></a>
  276. before it is drawn</dd></dl>
  277. </li>
  278. </ul>
  279. <a name="setTransform(org.ros.rosjava_geometry.Transform)">
  280. <!-- -->
  281. </a>
  282. <ul class="blockListLast">
  283. <li class="blockList">
  284. <h4>setTransform</h4>
  285. <pre>public&nbsp;void&nbsp;setTransform(org.ros.rosjava_geometry.Transform&nbsp;pose)</pre>
  286. <dl>
  287. <dt><strong>Specified by:</strong></dt>
  288. <dd><code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#setTransform(org.ros.rosjava_geometry.Transform)">setTransform</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape">Shape</a></code></dd>
  289. <dt><span class="strong">Parameters:</span></dt><dd><code>pose</code> - the <code>Transform</code> that will be applied to this <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><code>Shape</code></a>
  290. before it is drawn</dd></dl>
  291. </li>
  292. </ul>
  293. </li>
  294. </ul>
  295. </li>
  296. </ul>
  297. </div>
  298. </div>
  299. <!-- ========= END OF CLASS DATA ========= -->
  300. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  301. <div class="bottomNav"><a name="navbar_bottom">
  302. <!-- -->
  303. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  304. <!-- -->
  305. </a>
  306. <ul class="navList" title="Navigation">
  307. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  308. <li><a href="package-summary.html">Package</a></li>
  309. <li class="navBarCell1Rev">Class</li>
  310. <li><a href="package-tree.html">Tree</a></li>
  311. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  312. <li><a href="../../../../../../index-all.html">Index</a></li>
  313. <li><a href="../../../../../../help-doc.html">Help</a></li>
  314. </ul>
  315. </div>
  316. <div class="subNav">
  317. <ul class="navList">
  318. <li><a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Prev Class</span></a></li>
  319. <li><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Next Class</span></a></li>
  320. </ul>
  321. <ul class="navList">
  322. <li><a href="../../../../../../index.html?org/ros/android/view/visualization/shape/PoseShape.html" target="_top">Frames</a></li>
  323. <li><a href="PoseShape.html" target="_top">No Frames</a></li>
  324. </ul>
  325. <ul class="navList" id="allclasses_navbar_bottom">
  326. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  327. </ul>
  328. <div>
  329. <script type="text/javascript"><!--
  330. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  331. if(window==top) {
  332. allClassesLink.style.display = "block";
  333. }
  334. else {
  335. allClassesLink.style.display = "none";
  336. }
  337. //-->
  338. </script>
  339. </div>
  340. <div>
  341. <ul class="subNavList">
  342. <li>Summary:&nbsp;</li>
  343. <li>Nested&nbsp;|&nbsp;</li>
  344. <li>Field&nbsp;|&nbsp;</li>
  345. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  346. <li><a href="#method_summary">Method</a></li>
  347. </ul>
  348. <ul class="subNavList">
  349. <li>Detail:&nbsp;</li>
  350. <li>Field&nbsp;|&nbsp;</li>
  351. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  352. <li><a href="#method_detail">Method</a></li>
  353. </ul>
  354. </div>
  355. <a name="skip-navbar_bottom">
  356. <!-- -->
  357. </a></div>
  358. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  359. </body>
  360. </html>