jfjoch_viewer: improve performance of image rendering

This commit is contained in:
2026-04-15 09:22:18 +02:00
parent 7f3d28b11b
commit a1f24a03e8
6 changed files with 99 additions and 47 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ void JFJochAzIntImage::Clear() {
image_fp.clear();
if (scene())
scene()->clear();
resetScenePointers();
}
void JFJochAzIntImage::imageLoaded(std::shared_ptr<const JFJochReaderImage> in_image) {
@@ -111,4 +112,4 @@ void JFJochAzIntImage::mouseDoubleClickEvent(QMouseEvent *event) {
auto coord = geom.ResPhiToPxl(2 * M_PI / q, phi / 180.0 * M_PI);
emit zoomOnBin(QPointF(coord.first, coord.second));
}
}
}