public class RobotShape extends TriangleFanShape
Constructor and Description |
---|
RobotShape() |
Modifier and Type | Method and Description |
---|---|
Color |
getColor() |
org.ros.rosjava_geometry.Transform |
getTransform() |
protected void |
scale(GL10 gl)
Scales the coordinate system.
|
void |
setColor(Color color) |
void |
setTransform(org.ros.rosjava_geometry.Transform pose) |
draw
protected void scale(GL10 gl)
This is called after transforming the surface according to
transform
.
gl
- public Color getColor()
public void setColor(Color color)
public org.ros.rosjava_geometry.Transform getTransform()
getTransform
in interface Shape
Transform
that will be applied to this Shape
before it is drawnpublic void setTransform(org.ros.rosjava_geometry.Transform pose)
setTransform
in interface Shape
pose
- the Transform
that will be applied to this Shape
before it is drawn