Source
299
299
addCorner( xValues[cornerIndex], pixels[cornerIndex], plot );
300
300
}
301
301
302
302
303
303
}
304
304
305
305
}
306
306
307
307
void ImageSlice::updatePositionInformation(const QVector<String>& info ) {
308
308
int segmentCount = segments.size();
309
-
int infoCount = info.size();
309
+
// int infoCount = info.size();
310
310
Assert( segmentCount = infoCount - 1 );
311
311
for ( int i = 0; i< segmentCount; i++ ) {
312
312
segments[i]->updateEnds( info[i], info[i+1]);
313
313
}
314
314
}
315
315
316
316
void ImageSlice::updatePolyLine( const QList<int>& pixelX,
317
317
const QList<int>& pixelY, const QList<double>& worldX,
318
318
const QList<double>& worldY) {
319
319
sliceWorker->setVertices( pixelX, pixelY, worldX, worldY );