Texture.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  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. Texture
  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="Texture";
  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/RenderRequestListener.html" title="interface in org.ros.android.view.visualization"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../../org/ros/android/view/visualization/TextureBitmapUtilities.html" title="class in org.ros.android.view.visualization"><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/Texture.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="Texture.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;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&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</FONT>
  80. <BR>
  81. Class Texture</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.view.visualization.Texture</B>
  85. </PRE>
  86. <HR>
  87. <DL>
  88. <DT><PRE>public class <B>Texture</B><DT>extends java.lang.Object</DL>
  89. </PRE>
  90. <P>
  91. <HR>
  92. <P>
  93. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  94. <A NAME="constructor_summary"><!-- --></A>
  95. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  96. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  97. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  98. <B>Constructor Summary</B></FONT></TH>
  99. </TR>
  100. <TR BGCOLOR="white" CLASS="TableRowColor">
  101. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Texture.html#Texture()">Texture</A></B>()</CODE>
  102. <BR>
  103. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  104. </TR>
  105. </TABLE>
  106. &nbsp;
  107. <!-- ========== METHOD SUMMARY =========== -->
  108. <A NAME="method_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Method Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  116. <CODE>&nbsp;int</CODE></FONT></TD>
  117. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Texture.html#getTextureHandle()">getTextureHandle</A></B>()</CODE>
  118. <BR>
  119. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  120. </TR>
  121. <TR BGCOLOR="white" CLASS="TableRowColor">
  122. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  123. <CODE>&nbsp;void</CODE></FONT></TD>
  124. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Texture.html#maybeInitTexture(GL10)">maybeInitTexture</A></B>(GL10&nbsp;gl)</CODE>
  125. <BR>
  126. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If necessary, initializes and/or reloads the texture from the previously
  127. specified occupancy grid.</TD>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>&nbsp;void</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../../../org/ros/android/view/visualization/Texture.html#updateTexture(Bitmap)">updateTexture</A></B>(Bitmap&nbsp;bitmap)</CODE>
  133. <BR>
  134. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  135. </TR>
  136. </TABLE>
  137. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  138. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  139. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  140. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  141. </TR>
  142. <TR BGCOLOR="white" CLASS="TableRowColor">
  143. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  144. </TR>
  145. </TABLE>
  146. &nbsp;
  147. <P>
  148. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  149. <A NAME="constructor_detail"><!-- --></A>
  150. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  151. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  152. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  153. <B>Constructor Detail</B></FONT></TH>
  154. </TR>
  155. </TABLE>
  156. <A NAME="Texture()"><!-- --></A><H3>
  157. Texture</H3>
  158. <PRE>
  159. public <B>Texture</B>()</PRE>
  160. <DL>
  161. </DL>
  162. <!-- ============ METHOD DETAIL ========== -->
  163. <A NAME="method_detail"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  166. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  167. <B>Method Detail</B></FONT></TH>
  168. </TR>
  169. </TABLE>
  170. <A NAME="updateTexture(Bitmap)"><!-- --></A><H3>
  171. updateTexture</H3>
  172. <PRE>
  173. public void <B>updateTexture</B>(Bitmap&nbsp;bitmap)</PRE>
  174. <DL>
  175. <DD><DL>
  176. </DL>
  177. </DD>
  178. </DL>
  179. <HR>
  180. <A NAME="getTextureHandle()"><!-- --></A><H3>
  181. getTextureHandle</H3>
  182. <PRE>
  183. public int <B>getTextureHandle</B>()
  184. throws <A HREF="../../../../../org/ros/android/view/visualization/TextureNotInitialized.html" title="class in org.ros.android.view.visualization">TextureNotInitialized</A></PRE>
  185. <DL>
  186. <DD><DL>
  187. <DT><B>Throws:</B>
  188. <DD><CODE><A HREF="../../../../../org/ros/android/view/visualization/TextureNotInitialized.html" title="class in org.ros.android.view.visualization">TextureNotInitialized</A></CODE></DL>
  189. </DD>
  190. </DL>
  191. <HR>
  192. <A NAME="maybeInitTexture(GL10)"><!-- --></A><H3>
  193. maybeInitTexture</H3>
  194. <PRE>
  195. public void <B>maybeInitTexture</B>(GL10&nbsp;gl)</PRE>
  196. <DL>
  197. <DD>If necessary, initializes and/or reloads the texture from the previously
  198. specified occupancy grid. This needs to be called at least once before
  199. calling getTextureHandle.
  200. <P>
  201. <DD><DL>
  202. <DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context</DL>
  203. </DD>
  204. </DL>
  205. <!-- ========= END OF CLASS DATA ========= -->
  206. <HR>
  207. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  208. <A NAME="navbar_bottom"><!-- --></A>
  209. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  210. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  211. <TR>
  212. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  213. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  214. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  215. <TR ALIGN="center" VALIGN="top">
  216. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  217. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  218. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  219. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  220. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  221. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  222. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  223. </TR>
  224. </TABLE>
  225. </TD>
  226. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  227. </EM>
  228. </TD>
  229. </TR>
  230. <TR>
  231. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  232. &nbsp;<A HREF="../../../../../org/ros/android/view/visualization/RenderRequestListener.html" title="interface in org.ros.android.view.visualization"><B>PREV CLASS</B></A>&nbsp;
  233. &nbsp;<A HREF="../../../../../org/ros/android/view/visualization/TextureBitmapUtilities.html" title="class in org.ros.android.view.visualization"><B>NEXT CLASS</B></A></FONT></TD>
  234. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  235. <A HREF="../../../../../index.html?org/ros/android/view/visualization/Texture.html" target="_top"><B>FRAMES</B></A> &nbsp;
  236. &nbsp;<A HREF="Texture.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  237. &nbsp;<SCRIPT type="text/javascript">
  238. <!--
  239. if(window==top) {
  240. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  241. }
  242. //-->
  243. </SCRIPT>
  244. <NOSCRIPT>
  245. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  246. </NOSCRIPT>
  247. </FONT></TD>
  248. </TR>
  249. <TR>
  250. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  251. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  252. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  253. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  254. </TR>
  255. </TABLE>
  256. <A NAME="skip-navbar_bottom"></A>
  257. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  258. <HR>
  259. </BODY>
  260. </HTML>