Package samer.maths
Class IteratorImageSource
- java.lang.Object
-
- samer.tools.ImageSourceBase
-
- samer.maths.IteratorImageSource
-
public class IteratorImageSource extends ImageSourceBase
This is an image source that gets its values from a Vec (vector) via its Vec.Iterator - ie, it does not need access to an array of value
-
-
Constructor Summary
Constructors Constructor and Description IteratorImageSource(Vec v)
IteratorImageSource(Vec v, int w, int h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected int
getHints()
protected void
sendPixels(java.awt.image.ImageConsumer ic)
-
Methods inherited from class samer.tools.ImageSourceBase
addConsumer, getHeight, getMap, getWidth, isConsumer, removeConsumer, requestTopDownLeftRightResend, sendPixels, setColorModel, setMap, startProduction
-
-
-
-
Constructor Detail
-
IteratorImageSource
public IteratorImageSource(Vec v)
-
IteratorImageSource
public IteratorImageSource(Vec v, int w, int h)
-
-
Method Detail
-
getHints
protected int getHints()
- Specified by:
getHints
in classImageSourceBase
-
sendPixels
protected void sendPixels(java.awt.image.ImageConsumer ic)
- Specified by:
sendPixels
in classImageSourceBase
-
-