ScanImageImpl

A mixin for scanning matrices with interpolation. Assumes that the UGen provides inputs for width/height and interpolation parameters (zero-crossings for sinc etc.)

class Object
trait Matchable
class Any

Value members

Abstract methods

protected def bufHeightIn: I
protected def bufKaiserBeta: D
protected def bufRollOff: D
protected def bufWidthIn: I
protected def bufWrap: I
protected def bufZeroCrossings: I

Concrete methods

final protected def calcValue(x: Double, y: Double): Double
final protected def freeImageBuffer(): Unit
final protected def pullInterpParams(off: Int): Unit

Pulls interpolation parameters from bufWrap, bufRollOff, bufKaiserBeta and butZeroCrossings.

Pulls interpolation parameters from bufWrap, bufRollOff, bufKaiserBeta and butZeroCrossings.

final protected def pullWindowParams(off: Int): Int

Pulls image size parameters from bufWidthIn and bufHeightIn. Returns the resulting image or matrix size.

Pulls image size parameters from bufWidthIn and bufHeightIn. Returns the resulting image or matrix size.

final protected def setScale(sx: Double, sy: Double): Unit

Changes the scaling factor affecting the sinc interpolation. It is not necessary to call this if the scaling is never changed from the default of 1.0.

Changes the scaling factor affecting the sinc interpolation. It is not necessary to call this if the scaling is never changed from the default of 1.0.

Concrete fields

final protected var winBuf: Array[Double]