|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.android.view.visualization.shape.TriangleFanShape org.ros.android.view.visualization.shape.RobotShape
public class RobotShape
Represents the robot.
Constructor Summary | |
---|---|
RobotShape()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.ros.android.view.visualization.shape.TriangleFanShape |
---|
draw |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RobotShape()
Method Detail |
---|
protected void scale(GL10 gl)
This is called after transforming the surface according to transform
.
gl
- public Color getColor()
getColor
in interface Shape
Color
of this Shape
public void setColor(Color color)
setColor
in interface Shape
color
- the Color
of this Shape
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |