rp1.rossum
Class RsBodyPainter

java.lang.Object
  extended by rp1.rossum.RsComponent
      extended by rp1.rossum.RsBodyPart
          extended by rp1.rossum.RsBodyShape
              extended by 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

Constructor Summary
RsBodyPainter()
           
RsBodyPainter(double[] bodyPoints, int nPoints)
           
 
Method Summary
 void copyStateData(RsBodyPainter dataSource)
           
 boolean getPainterActivationStatus()
           
 void removePaintPattern()
           
 void removeTrailer()
           
 void setPaintColor(java.awt.Color color)
           
 void setPaintColor(java.awt.Color[] color)
           
 void setPainterActivationStatus(boolean status)
           
 void setPaintPattern(double[] points, int nPoints)
           
 void setTrailerMinimumSegmentLength(double minLength)
           
 void setTrailerPosition(double x, double y)
           
 void setTrailerWidth(double width)
           
 
Methods inherited from class rp1.rossum.RsBodyShape
checkForOverlap, getSegmentArray, paint
 
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 rp1.rossum.RsComponent
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RsBodyPainter

public RsBodyPainter()

RsBodyPainter

public RsBodyPainter(double[] bodyPoints,
                     int nPoints)
Method Detail

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)