rp1.rossum
Class RsBodyPaintSensor
java.lang.Object
rp1.rossum.RsComponent
rp1.rossum.RsBodyPart
rp1.rossum.RsBodyShape
rp1.rossum.RsBodySensor
rp1.rossum.RsBodyPaintSensor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class RsBodyPaintSensor
- extends RsBodySensor
A sensor for detecting paint features in the simulated floor plan.
- See Also:
- Serialized Form
Constructor Summary |
RsBodyPaintSensor(double[] point,
int nPoint,
double _xDetector,
double _yDetector)
|
Methods inherited from class rp1.rossum.RsBodyPart |
copyStateData, getFillColor, getHot, getID, getLineColor, getName, resetStateData, searchForCollisions, setFillColor, setHot, setHotFillColor, setHotLineColor, setLineColor, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RsBodyPaintSensor
public RsBodyPaintSensor(double[] point,
int nPoint,
double _xDetector,
double _yDetector)
computeAndSetState
public boolean computeAndSetState(double simTime,
RsPlan plan,
RsTransform transform)
- Specified by:
computeAndSetState
in class RsBodySensor
getSensorEvent
public RsSensorEvent getSensorEvent(double simTime)
- Overrides:
getSensorEvent
in class RsBodySensor
setRegionSensitivity
public void setRegionSensitivity(int region)
setRegionSensitivity
public void setRegionSensitivity(int[] region)