Shape.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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>Shape</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="Shape";
  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/RobotShape.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/TriangleFanShape.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/Shape.html" target="_top">Frames</a></li>
  43. <li><a href="Shape.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>Constr&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>Constr&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="Interface Shape" class="title">Interface Shape</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <div class="description">
  86. <ul class="blockList">
  87. <li class="blockList">
  88. <dl>
  89. <dt>All Superinterfaces:</dt>
  90. <dd><a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</a></dd>
  91. </dl>
  92. <dl>
  93. <dt>All Known Implementing Classes:</dt>
  94. <dd><a href="../../../../../../org/ros/android/view/visualization/shape/GoalShape.html" title="class in org.ros.android.view.visualization.shape">GoalShape</a>, <a href="../../../../../../org/ros/android/view/visualization/shape/PoseShape.html" title="class in org.ros.android.view.visualization.shape">PoseShape</a>, <a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape">RobotShape</a>, <a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape">TriangleFanShape</a></dd>
  95. </dl>
  96. <hr>
  97. <br>
  98. <pre>public interface <span class="strong">Shape</span>
  99. extends <a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</a></pre>
  100. <div class="block">A <a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html" title="interface in org.ros.android.view.visualization.shape"><code>Shape</code></a> is a <a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization"><code>OpenGlDrawable</code></a> that has a <a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization"><code>Color</code></a> and a
  101. <code>Transform</code> that is applied to the OpenGL matrix stack before drawing.</div>
  102. </li>
  103. </ul>
  104. </div>
  105. <div class="summary">
  106. <ul class="blockList">
  107. <li class="blockList">
  108. <!-- ========== METHOD SUMMARY =========== -->
  109. <ul class="blockList">
  110. <li class="blockList"><a name="method_summary">
  111. <!-- -->
  112. </a>
  113. <h3>Method Summary</h3>
  114. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  115. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  116. <tr>
  117. <th class="colFirst" scope="col">Modifier and Type</th>
  118. <th class="colLast" scope="col">Method and Description</th>
  119. </tr>
  120. <tr class="altColor">
  121. <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>
  122. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getColor()">getColor</a></strong>()</code>&nbsp;</td>
  123. </tr>
  124. <tr class="rowColor">
  125. <td class="colFirst"><code>org.ros.rosjava_geometry.Transform</code></td>
  126. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getTransform()">getTransform</a></strong>()</code>&nbsp;</td>
  127. </tr>
  128. <tr class="altColor">
  129. <td class="colFirst"><code>void</code></td>
  130. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.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>
  131. </tr>
  132. <tr class="rowColor">
  133. <td class="colFirst"><code>void</code></td>
  134. <td class="colLast"><code><strong><a href="../../../../../../org/ros/android/view/visualization/shape/Shape.html#setTransform(org.ros.rosjava_geometry.Transform)">setTransform</a></strong>(org.ros.rosjava_geometry.Transform&nbsp;transform)</code>&nbsp;</td>
  135. </tr>
  136. </table>
  137. <ul class="blockList">
  138. <li class="blockList"><a name="methods_inherited_from_class_org.ros.android.view.visualization.OpenGlDrawable">
  139. <!-- -->
  140. </a>
  141. <h3>Methods inherited from interface&nbsp;org.ros.android.view.visualization.<a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</a></h3>
  142. <code><a href="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html#draw(GL10)">draw</a></code></li>
  143. </ul>
  144. </li>
  145. </ul>
  146. </li>
  147. </ul>
  148. </div>
  149. <div class="details">
  150. <ul class="blockList">
  151. <li class="blockList">
  152. <!-- ============ METHOD DETAIL ========== -->
  153. <ul class="blockList">
  154. <li class="blockList"><a name="method_detail">
  155. <!-- -->
  156. </a>
  157. <h3>Method Detail</h3>
  158. <a name="setColor(org.ros.android.view.visualization.Color)">
  159. <!-- -->
  160. </a>
  161. <ul class="blockList">
  162. <li class="blockList">
  163. <h4>setColor</h4>
  164. <pre>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>
  165. <dl><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>
  166. </li>
  167. </ul>
  168. <a name="getColor()">
  169. <!-- -->
  170. </a>
  171. <ul class="blockList">
  172. <li class="blockList">
  173. <h4>getColor</h4>
  174. <pre><a href="../../../../../../org/ros/android/view/visualization/Color.html" title="class in org.ros.android.view.visualization">Color</a>&nbsp;getColor()</pre>
  175. <dl><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>
  176. </li>
  177. </ul>
  178. <a name="setTransform(org.ros.rosjava_geometry.Transform)">
  179. <!-- -->
  180. </a>
  181. <ul class="blockList">
  182. <li class="blockList">
  183. <h4>setTransform</h4>
  184. <pre>void&nbsp;setTransform(org.ros.rosjava_geometry.Transform&nbsp;transform)</pre>
  185. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>transform</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>
  186. before it is drawn</dd></dl>
  187. </li>
  188. </ul>
  189. <a name="getTransform()">
  190. <!-- -->
  191. </a>
  192. <ul class="blockListLast">
  193. <li class="blockList">
  194. <h4>getTransform</h4>
  195. <pre>org.ros.rosjava_geometry.Transform&nbsp;getTransform()</pre>
  196. <dl><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>
  197. before it is drawn</dd></dl>
  198. </li>
  199. </ul>
  200. </li>
  201. </ul>
  202. </li>
  203. </ul>
  204. </div>
  205. </div>
  206. <!-- ========= END OF CLASS DATA ========= -->
  207. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  208. <div class="bottomNav"><a name="navbar_bottom">
  209. <!-- -->
  210. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  211. <!-- -->
  212. </a>
  213. <ul class="navList" title="Navigation">
  214. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  215. <li><a href="package-summary.html">Package</a></li>
  216. <li class="navBarCell1Rev">Class</li>
  217. <li><a href="package-tree.html">Tree</a></li>
  218. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  219. <li><a href="../../../../../../index-all.html">Index</a></li>
  220. <li><a href="../../../../../../help-doc.html">Help</a></li>
  221. </ul>
  222. </div>
  223. <div class="subNav">
  224. <ul class="navList">
  225. <li><a href="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Prev Class</span></a></li>
  226. <li><a href="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape"><span class="strong">Next Class</span></a></li>
  227. </ul>
  228. <ul class="navList">
  229. <li><a href="../../../../../../index.html?org/ros/android/view/visualization/shape/Shape.html" target="_top">Frames</a></li>
  230. <li><a href="Shape.html" target="_top">No Frames</a></li>
  231. </ul>
  232. <ul class="navList" id="allclasses_navbar_bottom">
  233. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  234. </ul>
  235. <div>
  236. <script type="text/javascript"><!--
  237. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  238. if(window==top) {
  239. allClassesLink.style.display = "block";
  240. }
  241. else {
  242. allClassesLink.style.display = "none";
  243. }
  244. //-->
  245. </script>
  246. </div>
  247. <div>
  248. <ul class="subNavList">
  249. <li>Summary:&nbsp;</li>
  250. <li>Nested&nbsp;|&nbsp;</li>
  251. <li>Field&nbsp;|&nbsp;</li>
  252. <li>Constr&nbsp;|&nbsp;</li>
  253. <li><a href="#method_summary">Method</a></li>
  254. </ul>
  255. <ul class="subNavList">
  256. <li>Detail:&nbsp;</li>
  257. <li>Field&nbsp;|&nbsp;</li>
  258. <li>Constr&nbsp;|&nbsp;</li>
  259. <li><a href="#method_detail">Method</a></li>
  260. </ul>
  261. </div>
  262. <a name="skip-navbar_bottom">
  263. <!-- -->
  264. </a></div>
  265. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  266. </body>
  267. </html>