These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

## Image : MatrixImage

This class is included as part of the file Matrix.tz.
To use this class in a simulation, include the line "@use Matrix."

### Class description:

> The MatrixImage allows three 2D matrices to be copied into the red, green and blue channels of an image for efficient display. The image is automatically updated with new matrix values at each iteration.

### Class methods:

> - init-with
> - set-blue
> - set-green
> - set-red
> - set-scale-to-max-value

`init-with the-matrix theMatrix (object) scale theScale = 1.0 (float)`

> Initializes the MatrixImage with sizes taken from theMatrix.

`set-blue to m (Matrix2D object)`

> Sets the green channel to the Matrix m.

`set-green to m (Matrix2D object)`

> Sets the green channel to the Matrix m.

`set-red to m (Matrix2D object)`

> Sets the red channel to the matrix m.

`set-scale-to-max-value of theMatrix (object)`

> Sets the scale of this matrix image object to the maximum value in the specified matrix.

Documentation created Fri Aug 8 15:16:49 2008