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.
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