org.ros.android.view.visualization.shape
Class GoalShape

java.lang.Object
  extended by org.ros.android.view.visualization.shape.TriangleFanShape
      extended by org.ros.android.view.visualization.shape.RobotShape
          extended by org.ros.android.view.visualization.shape.GoalShape
All Implemented Interfaces:
OpenGlDrawable, Shape
Direct Known Subclasses:
PoseShape

public class GoalShape
extends RobotShape

Represents the robot's current goal pose.


Constructor Summary
GoalShape()
           
 
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

GoalShape

public GoalShape()
Method Detail

scale

protected void scale(GL10 gl)
Scales the coordinate system.

This is called after transforming the surface according to transform.

Parameters:
gl -

getColor

public Color getColor()
Specified by:
getColor in interface Shape
Returns:
the Color of this Shape

setColor

public void setColor(Color color)
Specified by:
setColor in interface Shape
Parameters:
color - the Color of this Shape

getTransform

public org.ros.rosjava_geometry.Transform getTransform()
Specified by:
getTransform in interface Shape
Returns:
the Transform that will be applied to this Shape before it is drawn

setTransform

public void setTransform(org.ros.rosjava_geometry.Transform pose)
Specified by:
setTransform in interface Shape
Parameters:
pose - the Transform that will be applied to this Shape before it is drawn