Public Member Functions
org.ros.android.view.visualization.layer.DefaultLayer Class Reference
Inheritance diagram for org.ros.android.view.visualization.layer.DefaultLayer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void draw (VisualizationView view, GL10 gl)
void init (NodeMainExecutor nodeMainExecutor)
void onShutdown (VisualizationView view, Node node)
void onStart (VisualizationView view, ConnectedNode connectedNode)
void onSurfaceChanged (VisualizationView view, GL10 gl, int width, int height)
void onSurfaceCreated (VisualizationView view, GL10 gl, EGLConfig config)
boolean onTouchEvent (VisualizationView view, MotionEvent event)

Detailed Description

Base class for visualization layers.

Author:
moesenle@google.com (Lorenz Moesenlechner)

Definition at line 33 of file DefaultLayer.java.


Member Function Documentation

void org.ros.android.view.visualization.layer.DefaultLayer.init ( NodeMainExecutor  nodeMainExecutor) [inline]
void org.ros.android.view.visualization.layer.DefaultLayer.onStart ( VisualizationView  view,
ConnectedNode  connectedNode 
) [inline]
void org.ros.android.view.visualization.layer.DefaultLayer.onSurfaceChanged ( VisualizationView  view,
GL10  gl,
int  width,
int  height 
) [inline]
Parameters:
viewthe VisualizationView associated with the GLSurfaceView.Renderer
See also:
GLSurfaceView.Renderer::onSurfaceChanged(GL10, int, int)

Implements org.ros.android.view.visualization.layer.Layer.

Definition at line 57 of file DefaultLayer.java.

void org.ros.android.view.visualization.layer.DefaultLayer.onSurfaceCreated ( VisualizationView  view,
GL10  gl,
EGLConfig  config 
) [inline]
Parameters:
viewthe VisualizationView associated with the GLSurfaceView.Renderer
See also:
GLSurfaceView.Renderer::onSurfaceCreated(GL10, EGLConfig)

Implements org.ros.android.view.visualization.layer.Layer.

Definition at line 61 of file DefaultLayer.java.

Event handler for touch events.

Parameters:
viewthe view generating the event
eventthe touch event
Returns:
true if the event has been handled

Implements org.ros.android.view.visualization.layer.Layer.

Reimplemented in org.ros.android.view.visualization.layer.PosePublisherLayer, and org.ros.android.view.visualization.layer.CameraControlLayer.

Definition at line 44 of file DefaultLayer.java.


The documentation for this class was generated from the following file:


android_core
Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07