TriangleFanShape.html 16 KB

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