public class PoseShape extends GoalShape
This shape is defined in pixel space and will not be affected by the zoom level of the camera.
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
public PoseShape(Camera camera)
protected void scale(GL10 gl)
This is called after transforming the surface according to
transform
.
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