============================================================= PEG 1017: Reading depth parameter for BFRaster.read() ============================================================= :Author: Asko Soukka :Date: $Date: 2002/10/15 13:32:52 $ :Revision: $Revision: 1.1 $ :Status: Incomplete The reading depth in gzz.view.BFRaster is currently a public attribute, which is only used within BFRaster.read(). We could get rid of it by making it parameter for BFRaster.read(). Since it no longer has default value, BFRaster's reading depth can't be negligently ignored by view designer. Of course we can leave public depth attribute as it is and make new BFRaster.read() simple to give it a new value and call the old read(). Changes ------- gzz/view/BFRaster.java - /** The depth to which read() will create the raster. - */ - public int depth = 5; - public void read(Cell center, Dim[] dims) { + public void read(Cell center, Dim[] dims, int depth) {