rp1.simulator
Class SimPaintBox
java.lang.Object
rp1.rossum.RsComponent
rp1.simulator.SimPaintBox
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class SimPaintBox
- extends RsComponent
The main class for managing paint data generated by clients.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimPaintBox
public SimPaintBox(int bodyPartID)
SimPaintBox
public SimPaintBox(SimPaintBox source)
getBodyPartID
public int getBodyPartID()
getPaintBoxID
public int getPaintBoxID()
setTrailerProperties
public void setTrailerProperties(double xTrailer,
double yTrailer,
double wTrailer)
setColorProperties
public void setColorProperties(java.awt.Color[] color)
setActivationProperty
public void setActivationProperty(boolean status)
setTransitionIntervalProperty
public void setTransitionIntervalProperty(int interval)
setMinTrailerLengthProperty
public void setMinTrailerLengthProperty(double minLength)
setPaintPatternProperty
public void setPaintPatternProperty(RsPolygon p)
bufferTrailerPosition
public void bufferTrailerPosition(RsMotion motion)
paintAtTime
public RsRectangle paintAtTime(java.awt.Graphics g,
RsTransform graphicsTransform,
RsRectangle r,
double time)
repaint
public void repaint(java.awt.Graphics g,
RsTransform graphicsTransform)
clear
public void clear()
copyStateData
public void copyStateData(SimPaintBox source)