rp1.simulator
Class SimPaintBox

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

Constructor Summary
SimPaintBox(int bodyPartID)
           
SimPaintBox(SimPaintBox source)
           
 
Method Summary
 void bufferTrailerPosition(RsMotion motion)
           
 void clear()
           
 void copyStateData(SimPaintBox source)
           
 int getBodyPartID()
           
 int getPaintBoxID()
           
 RsRectangle paintAtTime(java.awt.Graphics g, RsTransform graphicsTransform, RsRectangle r, double time)
           
 void repaint(java.awt.Graphics g, RsTransform graphicsTransform)
           
 void setActivationProperty(boolean status)
           
 void setColorProperties(java.awt.Color[] color)
           
 void setMinTrailerLengthProperty(double minLength)
           
 void setPaintPatternProperty(RsPolygon p)
           
 void setTrailerProperties(double xTrailer, double yTrailer, double wTrailer)
           
 void setTransitionIntervalProperty(int interval)
           
 
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

SimPaintBox

public SimPaintBox(int bodyPartID)

SimPaintBox

public SimPaintBox(SimPaintBox source)
Method Detail

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)