RobotShape.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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>RobotShape</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="RobotShape";
  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/PoseShape.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/Shape.html" title="interface 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/RobotShape.html" target="_top">Frames</a></li>
  43. <li><a href="RobotShape.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 RobotShape" class="title">Class RobotShape</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>org.ros.android.view.visualization.shape.RobotShape</li>
  93. </ul>
  94. </li>
  95. </ul>
  96. </li>
  97. </ul>
  98. <div class="description">
  99. <ul class="blockList">
  100. <li class="blockList">
  101. <dl>
  102. <dt>All Implemented Interfaces:</dt>
  103. <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>
  104. </dl>
  105. <dl>
  106. <dt>Direct Known Subclasses:</dt>
  107. <dd><a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape">GoalShape</a></dd>
  108. </dl>
  109. <hr>
  110. <br>
  111. <pre>public class <span class="strong">RobotShape</span>
  112. extends <a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape">TriangleFanShape</a></pre>
  113. <div class="block">Represents the robot.</div>
  114. </li>
  115. </ul>
  116. </div>
  117. <div class="summary">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  121. <ul class="blockList">
  122. <li class="blockList"><a name="constructor_summary">
  123. <!-- -->
  124. </a>
  125. <h3>Constructor Summary</h3>
  126. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  127. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  128. <tr>
  129. <th class="colOne" scope="col">Constructor and Description</th>
  130. </tr>
  131. <tr class="altColor">
  132. <td class="colOne"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#RobotShape()">RobotShape</a></strong>()</code>&nbsp;</td>
  133. </tr>
  134. </table>
  135. </li>
  136. </ul>
  137. <!-- ========== METHOD SUMMARY =========== -->
  138. <ul class="blockList">
  139. <li class="blockList"><a name="method_summary">
  140. <!-- -->
  141. </a>
  142. <h3>Method Summary</h3>
  143. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  144. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  145. <tr>
  146. <th class="colFirst" scope="col">Modifier and Type</th>
  147. <th class="colLast" scope="col">Method and Description</th>
  148. </tr>
  149. <tr class="altColor">
  150. <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>
  151. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#getColor()">getColor</a></strong>()</code>&nbsp;</td>
  152. </tr>
  153. <tr class="rowColor">
  154. <td class="colFirst"><code>org.ros.rosjava_geometry.Transform</code></td>
  155. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#getTransform()">getTransform</a></strong>()</code>&nbsp;</td>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><code>protected void</code></td>
  159. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#scale(GL10)">scale</a></strong>(GL10&nbsp;gl)</code>
  160. <div class="block">Scales the coordinate system.</div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colFirst"><code>void</code></td>
  165. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.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>
  166. </tr>
  167. <tr class="altColor">
  168. <td class="colFirst"><code>void</code></td>
  169. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#setTransform(org.ros.rosjava_geometry.Transform)">setTransform</a></strong>(org.ros.rosjava_geometry.Transform&nbsp;pose)</code>&nbsp;</td>
  170. </tr>
  171. </table>
  172. <ul class="blockList">
  173. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.view.visualization.shape.TriangleFanShape">
  174. <!-- -->
  175. </a>
  176. <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>
  177. <code><a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html#draw(GL10)">draw</a></code></li>
  178. </ul>
  179. <ul class="blockList">
  180. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  181. <!-- -->
  182. </a>
  183. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  184. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  185. </ul>
  186. </li>
  187. </ul>
  188. </li>
  189. </ul>
  190. </div>
  191. <div class="details">
  192. <ul class="blockList">
  193. <li class="blockList">
  194. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  195. <ul class="blockList">
  196. <li class="blockList"><a name="constructor_detail">
  197. <!-- -->
  198. </a>
  199. <h3>Constructor Detail</h3>
  200. <a name="RobotShape()">
  201. <!-- -->
  202. </a>
  203. <ul class="blockListLast">
  204. <li class="blockList">
  205. <h4>RobotShape</h4>
  206. <pre>public&nbsp;RobotShape()</pre>
  207. </li>
  208. </ul>
  209. </li>
  210. </ul>
  211. <!-- ============ METHOD DETAIL ========== -->
  212. <ul class="blockList">
  213. <li class="blockList"><a name="method_detail">
  214. <!-- -->
  215. </a>
  216. <h3>Method Detail</h3>
  217. <a name="scale(GL10)">
  218. <!-- -->
  219. </a>
  220. <ul class="blockList">
  221. <li class="blockList">
  222. <h4>scale</h4>
  223. <pre>protected&nbsp;void&nbsp;scale(GL10&nbsp;gl)</pre>
  224. <div class="block">Scales the coordinate system.
  225. <p>
  226. This is called after transforming the surface according to
  227. <a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html#transform"><code>transform</code></a>.</div>
  228. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>gl</code> - </dd></dl>
  229. </li>
  230. </ul>
  231. <a name="getColor()">
  232. <!-- -->
  233. </a>
  234. <ul class="blockList">
  235. <li class="blockList">
  236. <h4>getColor</h4>
  237. <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>
  238. <dl>
  239. <dt><strong>Specified by:</strong></dt>
  240. <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>
  241. <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>
  242. </li>
  243. </ul>
  244. <a name="setColor(org.ros.android.view.visualization.Color)">
  245. <!-- -->
  246. </a>
  247. <ul class="blockList">
  248. <li class="blockList">
  249. <h4>setColor</h4>
  250. <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>
  251. <dl>
  252. <dt><strong>Specified by:</strong></dt>
  253. <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>
  254. <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>
  255. </li>
  256. </ul>
  257. <a name="getTransform()">
  258. <!-- -->
  259. </a>
  260. <ul class="blockList">
  261. <li class="blockList">
  262. <h4>getTransform</h4>
  263. <pre>public&nbsp;org.ros.rosjava_geometry.Transform&nbsp;getTransform()</pre>
  264. <dl>
  265. <dt><strong>Specified by:</strong></dt>
  266. <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>
  267. <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>
  268. before it is drawn</dd></dl>
  269. </li>
  270. </ul>
  271. <a name="setTransform(org.ros.rosjava_geometry.Transform)">
  272. <!-- -->
  273. </a>
  274. <ul class="blockListLast">
  275. <li class="blockList">
  276. <h4>setTransform</h4>
  277. <pre>public&nbsp;void&nbsp;setTransform(org.ros.rosjava_geometry.Transform&nbsp;pose)</pre>
  278. <dl>
  279. <dt><strong>Specified by:</strong></dt>
  280. <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>
  281. <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>
  282. before it is drawn</dd></dl>
  283. </li>
  284. </ul>
  285. </li>
  286. </ul>
  287. </li>
  288. </ul>
  289. </div>
  290. </div>
  291. <!-- ========= END OF CLASS DATA ========= -->
  292. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  293. <div class="bottomNav"><a name="navbar_bottom">
  294. <!-- -->
  295. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  296. <!-- -->
  297. </a>
  298. <ul class="navList" title="Navigation">
  299. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  300. <li><a href="package-summary.html">Package</a></li>
  301. <li class="navBarCell1Rev">Class</li>
  302. <li><a href="package-tree.html">Tree</a></li>
  303. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  304. <li><a href="../../../../../../index-all.html">Index</a></li>
  305. <li><a href="../../../../../../help-doc.html">Help</a></li>
  306. </ul>
  307. </div>
  308. <div class="subNav">
  309. <ul class="navList">
  310. <li><a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Prev Class</span></a></li>
  311. <li><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><span class="strong">Next Class</span></a></li>
  312. </ul>
  313. <ul class="navList">
  314. <li><a href="../../../../../../index.html?org/ros/android/view/visualization/shape/RobotShape.html" target="_top">Frames</a></li>
  315. <li><a href="RobotShape.html" target="_top">No Frames</a></li>
  316. </ul>
  317. <ul class="navList" id="allclasses_navbar_bottom">
  318. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  319. </ul>
  320. <div>
  321. <script type="text/javascript"><!--
  322. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  323. if(window==top) {
  324. allClassesLink.style.display = "block";
  325. }
  326. else {
  327. allClassesLink.style.display = "none";
  328. }
  329. //-->
  330. </script>
  331. </div>
  332. <div>
  333. <ul class="subNavList">
  334. <li>Summary:&nbsp;</li>
  335. <li>Nested&nbsp;|&nbsp;</li>
  336. <li>Field&nbsp;|&nbsp;</li>
  337. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  338. <li><a href="#method_summary">Method</a></li>
  339. </ul>
  340. <ul class="subNavList">
  341. <li>Detail:&nbsp;</li>
  342. <li>Field&nbsp;|&nbsp;</li>
  343. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  344. <li><a href="#method_detail">Method</a></li>
  345. </ul>
  346. </div>
  347. <a name="skip-navbar_bottom">
  348. <!-- -->
  349. </a></div>
  350. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  351. </body>
  352. </html>