com.yobotics.simulationconstructionset.plotting
Class DynamicGraphicPositionArtifact

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

public class DynamicGraphicPositionArtifact
extends us.ihmc.plotting.Artifact

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface us.ihmc.plotting.Plottable
X_Y, X_Z, Y_Z
 
Constructor Summary
DynamicGraphicPositionArtifact(java.lang.String name, DynamicGraphicPosition dynamicGraphicPosition)
           
 
Method Summary
 void draw(java.awt.Graphics graphics, int Xcenter, int Ycenter, double headingOffset, double scaleFactor)
           
 void drawHistory(java.awt.Graphics graphics, 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

DynamicGraphicPositionArtifact

public DynamicGraphicPositionArtifact(java.lang.String name,
                                      DynamicGraphicPosition dynamicGraphicPosition)
Method Detail

takeHistorySnapshot

public void takeHistorySnapshot()
Specified by:
takeHistorySnapshot in class us.ihmc.plotting.Artifact

drawLegend

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

draw

public void draw(java.awt.Graphics graphics,
                 int Xcenter,
                 int Ycenter,
                 double headingOffset,
                 double scaleFactor)
Specified by:
draw in interface us.ihmc.plotting.Plottable
Specified by:
draw in class us.ihmc.plotting.Artifact

drawHistory

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