HOME | PROJECTS | REALITY | EMAIL

Class ReOSImageSetRenderer

java.lang.Object
  |
  +--ReOSTrackable
        |
        +--ReOSRenderer
              |
              +--ReOSImageSetRenderer
Direct Known Subclasses:
ReOSSpriteSet

public abstract class ReOSImageSetRenderer
extends ReOSRenderer

Name: class ReImageSetRenderer Desc: base class for image set renderers

Version:
1.000 - 1997, 1998, 2000 ?? Gary - created and implemented
Author:
Ge (Gary) Wang (www.gewang.com), George Stetten (stetten@duke.edu), Visnu Pitiyanuvath (vtp1@duke.edu)

Constructor Summary
ReOSImageSetRenderer()
          constructor
 
Method Summary
 boolean add(java.lang.Object img)
          adds an image
 void addCycle(java.util.Vector cycle)
          add a cycle of images to the set
abstract  void draw(int x, int y, double scale_x, double scale_y, java.util.Vector images, int index, java.awt.Graphics g)
          draw image
 void render(ReOSRenderable entity, ReOSDC hdc)
          rendering method
 
Methods inherited from class ReOSTrackable
equals, getReOSID, getReOSName, setReOSID, setReOSName, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReOSImageSetRenderer

public ReOSImageSetRenderer()
constructor
Method Detail

render

public void render(ReOSRenderable entity,
                   ReOSDC hdc)
rendering method
Overrides:
render in class ReOSRenderer

draw

public abstract void draw(int x,
                          int y,
                          double scale_x,
                          double scale_y,
                          java.util.Vector images,
                          int index,
                          java.awt.Graphics g)
draw image

addCycle

public void addCycle(java.util.Vector cycle)
add a cycle of images to the set

add

public boolean add(java.lang.Object img)
adds an image
Parameters:
cycle_num - the cycle to add
img - a 'Image'
Returns:
'true' if good


HOME | PROJECTS | REALITY | EMAIL