us.ihmc.plotting.shapes
Class MarkerArtifact
java.lang.Object
us.ihmc.plotting.Artifact
us.ihmc.plotting.shapes.MarkerArtifact
- All Implemented Interfaces:
- java.io.Serializable, Plottable
public class MarkerArtifact
- extends Artifact
Last updated by: mjohnson
On: 6/10/11 9:46 AM
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
describe()
|
void |
draw(java.awt.Graphics g,
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 g,
int Xcenter,
int Ycenter,
double scaleFactor)
|
void |
setBearing(double bearing)
|
void |
setLocation(javax.vecmath.Point2d location)
|
void |
setOffset(javax.vecmath.Point2d offset)
|
void |
setRange(double range)
|
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 |
MarkerArtifact
public MarkerArtifact(java.lang.String id)
setLocation
public void setLocation(javax.vecmath.Point2d location)
setOffset
public void setOffset(javax.vecmath.Point2d offset)
setRange
public void setRange(double range)
setBearing
public void setBearing(double bearing)
describe
public java.lang.String describe()
draw
public void draw(java.awt.Graphics g,
int Xcenter,
int Ycenter,
double headingOffset,
double scaleFactor)
- Must provide a draw method for plotter to render artifact
- Specified by:
draw
in interface Plottable
- Specified by:
draw
in class Artifact
drawLegend
public void drawLegend(java.awt.Graphics g,
int Xcenter,
int Ycenter,
double scaleFactor)
- Specified by:
drawLegend
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