public abstract class DefaultLayer extends java.lang.Object implements Layer
Constructor and Description |
---|
DefaultLayer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(GL10 gl) |
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.
|
public void draw(GL10 gl)
draw
in interface OpenGlDrawable
public boolean onTouchEvent(VisualizationView view, MotionEvent event)
Layer
onTouchEvent
in interface Layer
view
- the view generating the eventevent
- the touch eventpublic void onStart(org.ros.node.ConnectedNode connectedNode, Handler handler, org.ros.rosjava_geometry.FrameTransformTree frameTransformTree, Camera camera)
Layer
public void onShutdown(VisualizationView view, org.ros.node.Node node)
Layer
onShutdown
in interface Layer