public class VisualizationView
extends GLSurfaceView
implements org.ros.node.NodeMain
Constructor and Description |
---|
VisualizationView(Context context) |
VisualizationView(Context context,
AttributeSet attrs) |
Modifier and Type | Method and Description |
---|---|
void |
addLayer(Layer layer)
Adds a new layer at the end of the layers collection.
|
Camera |
getCamera() |
org.ros.namespace.GraphName |
getDefaultNodeName() |
XYOrthographicRenderer |
getRenderer() |
void |
hideLayer(Layer layer) |
protected void |
onAttachedToWindow() |
void |
onError(org.ros.node.Node node,
java.lang.Throwable throwable) |
void |
onShutdown(org.ros.node.Node node) |
void |
onShutdownComplete(org.ros.node.Node node) |
void |
onStart(org.ros.node.ConnectedNode connectedNode) |
boolean |
onTouchEvent(MotionEvent event) |
void |
removeLayer(Layer layer) |
public VisualizationView(Context context)
public VisualizationView(Context context, AttributeSet attrs)
public org.ros.namespace.GraphName getDefaultNodeName()
getDefaultNodeName
in interface org.ros.node.NodeMain
public boolean onTouchEvent(MotionEvent event)
public XYOrthographicRenderer getRenderer()
public Camera getCamera()
public void addLayer(Layer layer)
layer
- layer to addpublic void removeLayer(Layer layer)
public void hideLayer(Layer layer)
public void onStart(org.ros.node.ConnectedNode connectedNode)
onStart
in interface org.ros.node.NodeListener
protected void onAttachedToWindow()
public void onShutdown(org.ros.node.Node node)
onShutdown
in interface org.ros.node.NodeListener
public void onShutdownComplete(org.ros.node.Node node)
onShutdownComplete
in interface org.ros.node.NodeListener
public void onError(org.ros.node.Node node, java.lang.Throwable throwable)
onError
in interface org.ros.node.NodeListener