org.ros.android.view.visualization.layer
Class CompressedBitmapLayer
java.lang.Object
org.ros.android.view.visualization.layer.DefaultLayer
org.ros.android.view.visualization.layer.SubscriberLayer<compressed_visualization_transport_msgs.CompressedBitmap>
org.ros.android.view.visualization.layer.CompressedBitmapLayer
- All Implemented Interfaces:
- Layer, TfLayer, OpenGlDrawable
public class CompressedBitmapLayer
- extends SubscriberLayer<compressed_visualization_transport_msgs.CompressedBitmap>
- implements TfLayer
Method Summary |
void |
draw(GL10 gl)
|
org.ros.namespace.GraphName |
getFrame()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedBitmapLayer
public CompressedBitmapLayer(java.lang.String topic)
CompressedBitmapLayer
public CompressedBitmapLayer(org.ros.namespace.GraphName topic)
draw
public void draw(GL10 gl)
- Specified by:
draw
in interface OpenGlDrawable
- Overrides:
draw
in class DefaultLayer
onStart
public void onStart(org.ros.node.ConnectedNode connectedNode,
Handler handler,
org.ros.rosjava_geometry.FrameTransformTree frameTransformTree,
Camera camera)
- Description copied from interface:
Layer
- Called when the layer is registered at the navigation view.
- Specified by:
onStart
in interface Layer
- Overrides:
onStart
in class SubscriberLayer<compressed_visualization_transport_msgs.CompressedBitmap>
getFrame
public org.ros.namespace.GraphName getFrame()
- Specified by:
getFrame
in interface TfLayer
- Returns:
- the
Layer
's reference frame