public interface Layer extends OpenGlDrawable
Modifier and Type | Method and Description |
---|---|
void |
onShutdown(VisualizationView view,
org.ros.node.Node node)
Called when the view is removed from the view.
|
void |
onStart(org.ros.node.ConnectedNode connectedNode,
Handler handler,
org.ros.rosjava_geometry.FrameTransformTree frameTransformTree,
Camera camera)
Called when the layer is registered at the navigation view.
|
boolean |
onTouchEvent(VisualizationView view,
MotionEvent event)
Event handler for touch events.
|
draw
boolean onTouchEvent(VisualizationView view, MotionEvent event)
view
- the view generating the eventevent
- the touch eventvoid onStart(org.ros.node.ConnectedNode connectedNode, Handler handler, org.ros.rosjava_geometry.FrameTransformTree frameTransformTree, Camera camera)
void onShutdown(VisualizationView view, org.ros.node.Node node)