public interface Shape extends OpenGlDrawable
Shape
is a OpenGlDrawable
that has a Color
and a
Transform
that is applied to the OpenGL matrix stack before drawing.Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
org.ros.rosjava_geometry.Transform |
getTransform() |
void |
setColor(Color color) |
void |
setTransform(org.ros.rosjava_geometry.Transform transform) |
draw
void setTransform(org.ros.rosjava_geometry.Transform transform)
transform
- the Transform
that will be applied to this Shape
before it is drawnorg.ros.rosjava_geometry.Transform getTransform()
Transform
that will be applied to this Shape
before it is drawn