Shape.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. Shape
  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="Shape";
  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;<A HREF="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape"><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/shape/Shape.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="Shape.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;CONSTR&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;CONSTR&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.shape</FONT>
  80. <BR>
  81. Interface Shape</H2>
  82. <DL>
  83. <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</A></DD>
  84. </DL>
  85. <DL>
  86. <DT><B>All Known Implementing Classes:</B> <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>
  87. </DL>
  88. <HR>
  89. <DL>
  90. <DT><PRE>public interface <B>Shape</B><DT>extends <A HREF="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</A></DL>
  91. </PRE>
  92. <P>
  93. 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/shape/Color.html" title="class in org.ros.android.view.visualization.shape"><CODE>Color</CODE></A> and a
  94. <CODE>Transform</CODE> that is applied to the OpenGL matrix stack before drawing.
  95. <P>
  96. <P>
  97. <HR>
  98. <P>
  99. <!-- ========== METHOD SUMMARY =========== -->
  100. <A NAME="method_summary"><!-- --></A>
  101. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  102. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  103. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  104. <B>Method Summary</B></FONT></TH>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  108. <CODE>&nbsp;<A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape">Color</A></CODE></FONT></TD>
  109. <TD><CODE><B><A HREF="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getColor()">getColor</A></B>()</CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  112. </TR>
  113. <TR BGCOLOR="white" CLASS="TableRowColor">
  114. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  115. <CODE>&nbsp;org.ros.rosjava_geometry.Transform</CODE></FONT></TD>
  116. <TD><CODE><B><A HREF="../../../../../../org/ros/android/view/visualization/shape/Shape.html#getTransform()">getTransform</A></B>()</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  119. </TR>
  120. <TR BGCOLOR="white" CLASS="TableRowColor">
  121. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  122. <CODE>&nbsp;void</CODE></FONT></TD>
  123. <TD><CODE><B><A HREF="../../../../../../org/ros/android/view/visualization/shape/Shape.html#setColor(org.ros.android.view.visualization.shape.Color)">setColor</A></B>(<A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape">Color</A>&nbsp;color)</CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  129. <CODE>&nbsp;void</CODE></FONT></TD>
  130. <TD><CODE><B><A HREF="../../../../../../org/ros/android/view/visualization/shape/Shape.html#setTransform(org.ros.rosjava_geometry.Transform)">setTransform</A></B>(org.ros.rosjava_geometry.Transform&nbsp;transform)</CODE>
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  133. </TR>
  134. </TABLE>
  135. &nbsp;<A NAME="methods_inherited_from_class_org.ros.android.view.visualization.OpenGlDrawable"><!-- --></A>
  136. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  137. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  138. <TH ALIGN="left"><B>Methods inherited from interface org.ros.android.view.visualization.<A HREF="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html" title="interface in org.ros.android.view.visualization">OpenGlDrawable</A></B></TH>
  139. </TR>
  140. <TR BGCOLOR="white" CLASS="TableRowColor">
  141. <TD><CODE><A HREF="../../../../../../org/ros/android/view/visualization/OpenGlDrawable.html#draw(GL10)">draw</A></CODE></TD>
  142. </TR>
  143. </TABLE>
  144. &nbsp;
  145. <P>
  146. <!-- ============ METHOD DETAIL ========== -->
  147. <A NAME="method_detail"><!-- --></A>
  148. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  149. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  150. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  151. <B>Method Detail</B></FONT></TH>
  152. </TR>
  153. </TABLE>
  154. <A NAME="setColor(org.ros.android.view.visualization.shape.Color)"><!-- --></A><H3>
  155. setColor</H3>
  156. <PRE>
  157. void <B>setColor</B>(<A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape">Color</A>&nbsp;color)</PRE>
  158. <DL>
  159. <DD><DL>
  160. </DL>
  161. </DD>
  162. <DD><DL>
  163. <DT><B>Parameters:</B><DD><CODE>color</CODE> - the <A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape"><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></DL>
  164. </DD>
  165. </DL>
  166. <HR>
  167. <A NAME="getColor()"><!-- --></A><H3>
  168. getColor</H3>
  169. <PRE>
  170. <A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape">Color</A> <B>getColor</B>()</PRE>
  171. <DL>
  172. <DD><DL>
  173. </DL>
  174. </DD>
  175. <DD><DL>
  176. <DT><B>Returns:</B><DD>the <A HREF="../../../../../../org/ros/android/view/visualization/shape/Color.html" title="class in org.ros.android.view.visualization.shape"><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></DL>
  177. </DD>
  178. </DL>
  179. <HR>
  180. <A NAME="setTransform(org.ros.rosjava_geometry.Transform)"><!-- --></A><H3>
  181. setTransform</H3>
  182. <PRE>
  183. void <B>setTransform</B>(org.ros.rosjava_geometry.Transform&nbsp;transform)</PRE>
  184. <DL>
  185. <DD><DL>
  186. </DL>
  187. </DD>
  188. <DD><DL>
  189. <DT><B>Parameters:</B><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>
  190. before it is drawn</DL>
  191. </DD>
  192. </DL>
  193. <HR>
  194. <A NAME="getTransform()"><!-- --></A><H3>
  195. getTransform</H3>
  196. <PRE>
  197. org.ros.rosjava_geometry.Transform <B>getTransform</B>()</PRE>
  198. <DL>
  199. <DD><DL>
  200. </DL>
  201. </DD>
  202. <DD><DL>
  203. <DT><B>Returns:</B><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>
  204. before it is drawn</DL>
  205. </DD>
  206. </DL>
  207. <!-- ========= END OF CLASS DATA ========= -->
  208. <HR>
  209. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  210. <A NAME="navbar_bottom"><!-- --></A>
  211. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  212. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  213. <TR>
  214. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  215. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  216. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  217. <TR ALIGN="center" VALIGN="top">
  218. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  219. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  220. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  221. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  222. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  223. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  224. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  225. </TR>
  226. </TABLE>
  227. </TD>
  228. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  229. </EM>
  230. </TD>
  231. </TR>
  232. <TR>
  233. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  234. &nbsp;<A HREF="../../../../../../org/ros/android/view/visualization/shape/RobotShape.html" title="class in org.ros.android.view.visualization.shape"><B>PREV CLASS</B></A>&nbsp;
  235. &nbsp;<A HREF="../../../../../../org/ros/android/view/visualization/shape/TriangleFanShape.html" title="class in org.ros.android.view.visualization.shape"><B>NEXT CLASS</B></A></FONT></TD>
  236. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  237. <A HREF="../../../../../../index.html?org/ros/android/view/visualization/shape/Shape.html" target="_top"><B>FRAMES</B></A> &nbsp;
  238. &nbsp;<A HREF="Shape.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  239. &nbsp;<SCRIPT type="text/javascript">
  240. <!--
  241. if(window==top) {
  242. document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  243. }
  244. //-->
  245. </SCRIPT>
  246. <NOSCRIPT>
  247. <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  248. </NOSCRIPT>
  249. </FONT></TD>
  250. </TR>
  251. <TR>
  252. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  253. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  254. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  255. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  256. </TR>
  257. </TABLE>
  258. <A NAME="skip-navbar_bottom"></A>
  259. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  260. <HR>
  261. </BODY>
  262. </HTML>