org.ros.android.view.visualization.shape
Interface Shape

All Superinterfaces:
OpenGlDrawable
All Known Implementing Classes:
GoalShape, PoseShape, RobotShape, TriangleFanShape

public interface Shape
extends OpenGlDrawable

A Shape is a OpenGlDrawable that has a Color and a Transform that is applied to the OpenGL matrix stack before drawing.


Method Summary
 Color getColor()
           
 org.ros.rosjava_geometry.Transform getTransform()
           
 void setColor(Color color)
           
 void setTransform(org.ros.rosjava_geometry.Transform transform)
           
 
Methods inherited from interface org.ros.android.view.visualization.OpenGlDrawable
draw
 

Method Detail

setColor

void setColor(Color color)
Parameters:
color - the Color of this Shape

getColor

Color getColor()
Returns:
the Color of this Shape

setTransform

void setTransform(org.ros.rosjava_geometry.Transform transform)
Parameters:
transform - the Transform that will be applied to this Shape before it is drawn

getTransform

org.ros.rosjava_geometry.Transform getTransform()
Returns:
the Transform that will be applied to this Shape before it is drawn