VisualizationView.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  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>VisualizationView</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="VisualizationView";
  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/Viewport.html" title="class in org.ros.android.view.visualization"><span class="strong">Prev Class</span></a></li>
  39. <li><a href="../../../../../org/ros/android/view/visualization/XYOrthographicRenderer.html" title="class in org.ros.android.view.visualization"><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/VisualizationView.html" target="_top">Frames</a></li>
  43. <li><a href="VisualizationView.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</div>
  82. <h2 title="Class VisualizationView" class="title">Class VisualizationView</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>GLSurfaceView</li>
  90. <li>
  91. <ul class="inheritance">
  92. <li>org.ros.android.view.visualization.VisualizationView</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>org.ros.node.NodeListener, org.ros.node.NodeMain</dd>
  104. </dl>
  105. <hr>
  106. <br>
  107. <pre>public class <span class="strong">VisualizationView</span>
  108. extends GLSurfaceView
  109. implements org.ros.node.NodeMain</pre>
  110. </li>
  111. </ul>
  112. </div>
  113. <div class="summary">
  114. <ul class="blockList">
  115. <li class="blockList">
  116. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  117. <ul class="blockList">
  118. <li class="blockList"><a name="constructor_summary">
  119. <!-- -->
  120. </a>
  121. <h3>Constructor Summary</h3>
  122. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  123. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  124. <tr>
  125. <th class="colOne" scope="col">Constructor and Description</th>
  126. </tr>
  127. <tr class="altColor">
  128. <td class="colOne"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#VisualizationView(Context)">VisualizationView</a></strong>(Context&nbsp;context)</code>&nbsp;</td>
  129. </tr>
  130. <tr class="rowColor">
  131. <td class="colOne"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#VisualizationView(Context, AttributeSet)">VisualizationView</a></strong>(Context&nbsp;context,
  132. AttributeSet&nbsp;attrs)</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>void</code></td>
  151. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#addLayer(org.ros.android.view.visualization.layer.Layer)">addLayer</a></strong>(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</code>
  152. <div class="block">Adds a new layer at the end of the layers collection.</div>
  153. </td>
  154. </tr>
  155. <tr class="rowColor">
  156. <td class="colFirst"><code><a href="../../../../../org/ros/android/view/visualization/Camera.html" title="class in org.ros.android.view.visualization">Camera</a></code></td>
  157. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#getCamera()">getCamera</a></strong>()</code>&nbsp;</td>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colFirst"><code>org.ros.namespace.GraphName</code></td>
  161. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#getDefaultNodeName()">getDefaultNodeName</a></strong>()</code>&nbsp;</td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colFirst"><code><a href="../../../../../org/ros/android/view/visualization/XYOrthographicRenderer.html" title="class in org.ros.android.view.visualization">XYOrthographicRenderer</a></code></td>
  165. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#getRenderer()">getRenderer</a></strong>()</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/VisualizationView.html#hideLayer(org.ros.android.view.visualization.layer.Layer)">hideLayer</a></strong>(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</code>&nbsp;</td>
  170. </tr>
  171. <tr class="rowColor">
  172. <td class="colFirst"><code>protected void</code></td>
  173. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onAttachedToWindow()">onAttachedToWindow</a></strong>()</code>&nbsp;</td>
  174. </tr>
  175. <tr class="altColor">
  176. <td class="colFirst"><code>void</code></td>
  177. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onError(org.ros.node.Node, java.lang.Throwable)">onError</a></strong>(org.ros.node.Node&nbsp;node,
  178. java.lang.Throwable&nbsp;throwable)</code>&nbsp;</td>
  179. </tr>
  180. <tr class="rowColor">
  181. <td class="colFirst"><code>void</code></td>
  182. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onShutdown(org.ros.node.Node)">onShutdown</a></strong>(org.ros.node.Node&nbsp;node)</code>&nbsp;</td>
  183. </tr>
  184. <tr class="altColor">
  185. <td class="colFirst"><code>void</code></td>
  186. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onShutdownComplete(org.ros.node.Node)">onShutdownComplete</a></strong>(org.ros.node.Node&nbsp;node)</code>&nbsp;</td>
  187. </tr>
  188. <tr class="rowColor">
  189. <td class="colFirst"><code>void</code></td>
  190. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onStart(org.ros.node.ConnectedNode)">onStart</a></strong>(org.ros.node.ConnectedNode&nbsp;connectedNode)</code>&nbsp;</td>
  191. </tr>
  192. <tr class="altColor">
  193. <td class="colFirst"><code>boolean</code></td>
  194. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#onTouchEvent(MotionEvent)">onTouchEvent</a></strong>(MotionEvent&nbsp;event)</code>&nbsp;</td>
  195. </tr>
  196. <tr class="rowColor">
  197. <td class="colFirst"><code>void</code></td>
  198. <td class="colLast"><code><strong><a href="../../../../../org/ros/android/view/visualization/VisualizationView.html#removeLayer(org.ros.android.view.visualization.layer.Layer)">removeLayer</a></strong>(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</code>&nbsp;</td>
  199. </tr>
  200. </table>
  201. <ul class="blockList">
  202. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  203. <!-- -->
  204. </a>
  205. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  206. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  207. </ul>
  208. </li>
  209. </ul>
  210. </li>
  211. </ul>
  212. </div>
  213. <div class="details">
  214. <ul class="blockList">
  215. <li class="blockList">
  216. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  217. <ul class="blockList">
  218. <li class="blockList"><a name="constructor_detail">
  219. <!-- -->
  220. </a>
  221. <h3>Constructor Detail</h3>
  222. <a name="VisualizationView(Context)">
  223. <!-- -->
  224. </a>
  225. <ul class="blockList">
  226. <li class="blockList">
  227. <h4>VisualizationView</h4>
  228. <pre>public&nbsp;VisualizationView(Context&nbsp;context)</pre>
  229. </li>
  230. </ul>
  231. <a name="VisualizationView(Context, AttributeSet)">
  232. <!-- -->
  233. </a>
  234. <ul class="blockListLast">
  235. <li class="blockList">
  236. <h4>VisualizationView</h4>
  237. <pre>public&nbsp;VisualizationView(Context&nbsp;context,
  238. AttributeSet&nbsp;attrs)</pre>
  239. </li>
  240. </ul>
  241. </li>
  242. </ul>
  243. <!-- ============ METHOD DETAIL ========== -->
  244. <ul class="blockList">
  245. <li class="blockList"><a name="method_detail">
  246. <!-- -->
  247. </a>
  248. <h3>Method Detail</h3>
  249. <a name="getDefaultNodeName()">
  250. <!-- -->
  251. </a>
  252. <ul class="blockList">
  253. <li class="blockList">
  254. <h4>getDefaultNodeName</h4>
  255. <pre>public&nbsp;org.ros.namespace.GraphName&nbsp;getDefaultNodeName()</pre>
  256. <dl>
  257. <dt><strong>Specified by:</strong></dt>
  258. <dd><code>getDefaultNodeName</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeMain</code></dd>
  259. </dl>
  260. </li>
  261. </ul>
  262. <a name="onTouchEvent(MotionEvent)">
  263. <!-- -->
  264. </a>
  265. <ul class="blockList">
  266. <li class="blockList">
  267. <h4>onTouchEvent</h4>
  268. <pre>public&nbsp;boolean&nbsp;onTouchEvent(MotionEvent&nbsp;event)</pre>
  269. </li>
  270. </ul>
  271. <a name="getRenderer()">
  272. <!-- -->
  273. </a>
  274. <ul class="blockList">
  275. <li class="blockList">
  276. <h4>getRenderer</h4>
  277. <pre>public&nbsp;<a href="../../../../../org/ros/android/view/visualization/XYOrthographicRenderer.html" title="class in org.ros.android.view.visualization">XYOrthographicRenderer</a>&nbsp;getRenderer()</pre>
  278. </li>
  279. </ul>
  280. <a name="getCamera()">
  281. <!-- -->
  282. </a>
  283. <ul class="blockList">
  284. <li class="blockList">
  285. <h4>getCamera</h4>
  286. <pre>public&nbsp;<a href="../../../../../org/ros/android/view/visualization/Camera.html" title="class in org.ros.android.view.visualization">Camera</a>&nbsp;getCamera()</pre>
  287. </li>
  288. </ul>
  289. <a name="addLayer(org.ros.android.view.visualization.layer.Layer)">
  290. <!-- -->
  291. </a>
  292. <ul class="blockList">
  293. <li class="blockList">
  294. <h4>addLayer</h4>
  295. <pre>public&nbsp;void&nbsp;addLayer(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</pre>
  296. <div class="block">Adds a new layer at the end of the layers collection. The new layer will be
  297. drawn last, i.e. on top of all other layers.</div>
  298. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>layer</code> - layer to add</dd></dl>
  299. </li>
  300. </ul>
  301. <a name="removeLayer(org.ros.android.view.visualization.layer.Layer)">
  302. <!-- -->
  303. </a>
  304. <ul class="blockList">
  305. <li class="blockList">
  306. <h4>removeLayer</h4>
  307. <pre>public&nbsp;void&nbsp;removeLayer(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</pre>
  308. </li>
  309. </ul>
  310. <a name="hideLayer(org.ros.android.view.visualization.layer.Layer)">
  311. <!-- -->
  312. </a>
  313. <ul class="blockList">
  314. <li class="blockList">
  315. <h4>hideLayer</h4>
  316. <pre>public&nbsp;void&nbsp;hideLayer(<a href="../../../../../org/ros/android/view/visualization/layer/Layer.html" title="interface in org.ros.android.view.visualization.layer">Layer</a>&nbsp;layer)</pre>
  317. </li>
  318. </ul>
  319. <a name="onStart(org.ros.node.ConnectedNode)">
  320. <!-- -->
  321. </a>
  322. <ul class="blockList">
  323. <li class="blockList">
  324. <h4>onStart</h4>
  325. <pre>public&nbsp;void&nbsp;onStart(org.ros.node.ConnectedNode&nbsp;connectedNode)</pre>
  326. <dl>
  327. <dt><strong>Specified by:</strong></dt>
  328. <dd><code>onStart</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeListener</code></dd>
  329. </dl>
  330. </li>
  331. </ul>
  332. <a name="onAttachedToWindow()">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>onAttachedToWindow</h4>
  338. <pre>protected&nbsp;void&nbsp;onAttachedToWindow()</pre>
  339. </li>
  340. </ul>
  341. <a name="onShutdown(org.ros.node.Node)">
  342. <!-- -->
  343. </a>
  344. <ul class="blockList">
  345. <li class="blockList">
  346. <h4>onShutdown</h4>
  347. <pre>public&nbsp;void&nbsp;onShutdown(org.ros.node.Node&nbsp;node)</pre>
  348. <dl>
  349. <dt><strong>Specified by:</strong></dt>
  350. <dd><code>onShutdown</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeListener</code></dd>
  351. </dl>
  352. </li>
  353. </ul>
  354. <a name="onShutdownComplete(org.ros.node.Node)">
  355. <!-- -->
  356. </a>
  357. <ul class="blockList">
  358. <li class="blockList">
  359. <h4>onShutdownComplete</h4>
  360. <pre>public&nbsp;void&nbsp;onShutdownComplete(org.ros.node.Node&nbsp;node)</pre>
  361. <dl>
  362. <dt><strong>Specified by:</strong></dt>
  363. <dd><code>onShutdownComplete</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeListener</code></dd>
  364. </dl>
  365. </li>
  366. </ul>
  367. <a name="onError(org.ros.node.Node, java.lang.Throwable)">
  368. <!-- -->
  369. </a>
  370. <ul class="blockListLast">
  371. <li class="blockList">
  372. <h4>onError</h4>
  373. <pre>public&nbsp;void&nbsp;onError(org.ros.node.Node&nbsp;node,
  374. java.lang.Throwable&nbsp;throwable)</pre>
  375. <dl>
  376. <dt><strong>Specified by:</strong></dt>
  377. <dd><code>onError</code>&nbsp;in interface&nbsp;<code>org.ros.node.NodeListener</code></dd>
  378. </dl>
  379. </li>
  380. </ul>
  381. </li>
  382. </ul>
  383. </li>
  384. </ul>
  385. </div>
  386. </div>
  387. <!-- ========= END OF CLASS DATA ========= -->
  388. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  389. <div class="bottomNav"><a name="navbar_bottom">
  390. <!-- -->
  391. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  392. <!-- -->
  393. </a>
  394. <ul class="navList" title="Navigation">
  395. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  396. <li><a href="package-summary.html">Package</a></li>
  397. <li class="navBarCell1Rev">Class</li>
  398. <li><a href="package-tree.html">Tree</a></li>
  399. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  400. <li><a href="../../../../../index-all.html">Index</a></li>
  401. <li><a href="../../../../../help-doc.html">Help</a></li>
  402. </ul>
  403. </div>
  404. <div class="subNav">
  405. <ul class="navList">
  406. <li><a href="../../../../../org/ros/android/view/visualization/Viewport.html" title="class in org.ros.android.view.visualization"><span class="strong">Prev Class</span></a></li>
  407. <li><a href="../../../../../org/ros/android/view/visualization/XYOrthographicRenderer.html" title="class in org.ros.android.view.visualization"><span class="strong">Next Class</span></a></li>
  408. </ul>
  409. <ul class="navList">
  410. <li><a href="../../../../../index.html?org/ros/android/view/visualization/VisualizationView.html" target="_top">Frames</a></li>
  411. <li><a href="VisualizationView.html" target="_top">No Frames</a></li>
  412. </ul>
  413. <ul class="navList" id="allclasses_navbar_bottom">
  414. <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
  415. </ul>
  416. <div>
  417. <script type="text/javascript"><!--
  418. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  419. if(window==top) {
  420. allClassesLink.style.display = "block";
  421. }
  422. else {
  423. allClassesLink.style.display = "none";
  424. }
  425. //-->
  426. </script>
  427. </div>
  428. <div>
  429. <ul class="subNavList">
  430. <li>Summary:&nbsp;</li>
  431. <li>Nested&nbsp;|&nbsp;</li>
  432. <li>Field&nbsp;|&nbsp;</li>
  433. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  434. <li><a href="#method_summary">Method</a></li>
  435. </ul>
  436. <ul class="subNavList">
  437. <li>Detail:&nbsp;</li>
  438. <li>Field&nbsp;|&nbsp;</li>
  439. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  440. <li><a href="#method_detail">Method</a></li>
  441. </ul>
  442. </div>
  443. <a name="skip-navbar_bottom">
  444. <!-- -->
  445. </a></div>
  446. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  447. </body>
  448. </html>