com.yobotics.simulationconstructionset.plotting
Class DynamicGraphicYoCircleArtifact

java.lang.Object
  extended by us.ihmc.plotting.Artifact
      extended by com.yobotics.simulationconstructionset.plotting.DynamicGraphicYoCircleArtifact
All Implemented Interfaces:
java.io.Serializable, Plottable

public class DynamicGraphicYoCircleArtifact
extends Artifact

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface us.ihmc.plotting.Plottable
X_Y, X_Z, Y_Z
 
Constructor Summary
DynamicGraphicYoCircleArtifact(java.lang.String name, YoFramePoint2d center, DoubleYoVariable radius, java.awt.Color color)
           
DynamicGraphicYoCircleArtifact(java.lang.String name, YoFramePoint2d center, DoubleYoVariable radius, java.awt.Color color, java.lang.Boolean isFilledCircle)
           
 
Method Summary
 void draw(java.awt.Graphics graphics, int Xcenter, int Ycenter, double headingOffset, double scaleFactor)
          Must provide a draw method for plotter to render artifact
 void drawHistory(java.awt.Graphics g, int Xcenter, int Ycenter, double scaleFactor)
           
 void drawLegend(java.awt.Graphics graphics, int Xcenter, int Ycenter, double scaleFactor)
           
 void takeHistorySnapshot()
           
 
Methods inherited from class us.ihmc.plotting.Artifact
getColor, getDrawHistory, getID, getLevel, getRecordHistory, getShowID, getType, isVisible, setColor, setDrawHistory, setLevel, setRecordHistory, setShowID, setType, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicGraphicYoCircleArtifact

public DynamicGraphicYoCircleArtifact(java.lang.String name,
                                      YoFramePoint2d center,
                                      DoubleYoVariable radius,
                                      java.awt.Color color,
                                      java.lang.Boolean isFilledCircle)

DynamicGraphicYoCircleArtifact

public DynamicGraphicYoCircleArtifact(java.lang.String name,
                                      YoFramePoint2d center,
                                      DoubleYoVariable radius,
                                      java.awt.Color color)
Method Detail

drawLegend

public void drawLegend(java.awt.Graphics graphics,
                       int Xcenter,
                       int Ycenter,
                       double scaleFactor)
Specified by:
drawLegend in class Artifact

draw

public void draw(java.awt.Graphics graphics,
                 int Xcenter,
                 int Ycenter,
                 double headingOffset,
                 double scaleFactor)
Description copied from class: Artifact
Must provide a draw method for plotter to render artifact

Specified by:
draw in interface Plottable
Specified by:
draw in class Artifact

drawHistory

public void drawHistory(java.awt.Graphics g,
                        int Xcenter,
                        int Ycenter,
                        double scaleFactor)
Specified by:
drawHistory in class Artifact

takeHistorySnapshot

public void takeHistorySnapshot()
Specified by:
takeHistorySnapshot in class Artifact