rp1.rossum
Class RsBodyPainter
java.lang.Object
rp1.rossum.RsComponent
rp1.rossum.RsBodyPart
rp1.rossum.RsBodyShape
rp1.rossum.RsBodyPainter
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RsBodyPainter
- extends RsBodyShape
The class that enables the robot to deposit paint trails
in the simulation environment; a robot may have more than one
of these.
- See Also:
- Serialized Form
Methods inherited from class rp1.rossum.RsBodyPart |
copyStateData, getFillColor, getHot, getID, getLineColor, getName, isASensor, resetStateData, searchForCollisions, setFillColor, setHot, setHotFillColor, setHotLineColor, setLineColor, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RsBodyPainter
public RsBodyPainter()
RsBodyPainter
public RsBodyPainter(double[] bodyPoints,
int nPoints)
removePaintPattern
public void removePaintPattern()
removeTrailer
public void removeTrailer()
getPainterActivationStatus
public boolean getPainterActivationStatus()
setPainterActivationStatus
public void setPainterActivationStatus(boolean status)
setPaintPattern
public void setPaintPattern(double[] points,
int nPoints)
setTrailerPosition
public void setTrailerPosition(double x,
double y)
setTrailerWidth
public void setTrailerWidth(double width)
setTrailerMinimumSegmentLength
public void setTrailerMinimumSegmentLength(double minLength)
setPaintColor
public void setPaintColor(java.awt.Color color)
setPaintColor
public void setPaintColor(java.awt.Color[] color)
copyStateData
public void copyStateData(RsBodyPainter dataSource)