|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.android.view.visualization.layer.DefaultLayer
public abstract class DefaultLayer
Base class for visualization layers.
Constructor Summary | |
---|---|
DefaultLayer()
|
Method Summary | |
---|---|
void |
addRenderListener(RenderRequestListener listener)
|
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. |
void |
removeRenderListener(RenderRequestListener listener)
|
protected void |
requestRender()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLayer()
Method Detail |
---|
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 event
public void onStart(org.ros.node.ConnectedNode connectedNode, Handler handler, org.ros.rosjava_geometry.FrameTransformTree frameTransformTree, Camera camera)
Layer
onStart
in interface Layer
public void onShutdown(VisualizationView view, org.ros.node.Node node)
Layer
onShutdown
in interface Layer
public void addRenderListener(RenderRequestListener listener)
addRenderListener
in interface Layer
listener
- the RenderRequestListener
to addpublic void removeRenderListener(RenderRequestListener listener)
removeRenderListener
in interface Layer
listener
- the RenderRequestListener
to removeprotected void requestRender()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |