- // get details of this alignment row
- boolean hidden = rows.isHidden(alignmentRow);
- SequenceI seq = rows.getSequence(alignmentRow);
+ private void init()
+ {
+ rowIterator = rows.iterator();
+ seqIndex = 0;
+ pixelRow = 0;
+ lastRowUpdate = 0;
+ lastUpdate = 0;
+ totalPixels = w * alignmentHeight;
+
+ if (showProgress)
+ {
+ changeSupport.firePropertyChange(UPDATE, -1, 0);
+ }
+
+ miniMe = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
+ WritableRaster raster = miniMe.getRaster();
+ DataBufferInt db = (DataBufferInt) raster.getDataBuffer();
+ pixels = db.getBankData()[0];
+ bscol = cols.getOverviewBitSet();
+ Platform.timeCheck(null, Platform.TIME_MARK);
+ }
+
+ private void nextRow()
+ {
+ row = rowIterator.next();
+ // get details of this alignment row
+ SequenceI seq = rows.getSequence(row);