org.ros.android.view.visualization
Class VisualizationView
java.lang.Object
GLSurfaceView
org.ros.android.view.visualization.VisualizationView
- All Implemented Interfaces:
- org.ros.node.NodeListener, org.ros.node.NodeMain
public class VisualizationView
- extends GLSurfaceView
- implements org.ros.node.NodeMain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualizationView
public VisualizationView(Context context)
VisualizationView
public VisualizationView(Context context,
AttributeSet attrs)
getDefaultNodeName
public org.ros.namespace.GraphName getDefaultNodeName()
- Specified by:
getDefaultNodeName
in interface org.ros.node.NodeMain
onTouchEvent
public boolean onTouchEvent(MotionEvent event)
getRenderer
public XYOrthographicRenderer getRenderer()
addLayer
public void addLayer(Layer layer)
- Adds a new layer at the end of the layers collection. The new layer will be
drawn last, i.e. on top of all other layers.
- Parameters:
layer
- layer to add
removeLayer
public void removeLayer(Layer layer)
onStart
public void onStart(org.ros.node.ConnectedNode connectedNode)
- Specified by:
onStart
in interface org.ros.node.NodeListener
onShutdown
public void onShutdown(org.ros.node.Node node)
- Specified by:
onShutdown
in interface org.ros.node.NodeListener
onShutdownComplete
public void onShutdownComplete(org.ros.node.Node node)
- Specified by:
onShutdownComplete
in interface org.ros.node.NodeListener
onError
public void onError(org.ros.node.Node node,
java.lang.Throwable throwable)
- Specified by:
onError
in interface org.ros.node.NodeListener