aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-08-23 15:56:57 +0200
committerThomas White <taw@physics.org>2022-08-23 16:07:44 +0200
commit4464b2fc8d2840d489a839e4973fab1e71144efc (patch)
tree40efb8a10f7ed0e0ba5cb2b11a257ef6bd08b3b7 /src/crystfelimageview.h
parent1179bed2ebc892dc918aae09dae586c516d0e36e (diff)
GUI: Add resolution rings
It will refuse to draw the rings if the detector is too far from being flat (as judged by detgeom_mean_camera_length). Otherwise, the drawing is exactly the same as was done by hdfsee.
Diffstat (limited to 'src/crystfelimageview.h')
-rw-r--r--src/crystfelimageview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h
index c53e4980..aa7d61d2 100644
--- a/src/crystfelimageview.h
+++ b/src/crystfelimageview.h
@@ -94,6 +94,7 @@ struct _crystfelimageview
int label_refls;
float peak_box_size;
float refl_box_size;
+ int resolution_rings;
};
struct _crystfelimageviewclass
@@ -133,4 +134,7 @@ extern void crystfel_image_view_set_peak_box_size(CrystFELImageView *iv,
extern void crystfel_image_view_set_refl_box_size(CrystFELImageView *iv,
float box_size);
+extern void crystfel_image_view_set_resolution_rings(CrystFELImageView *iv,
+ int rings);
+
#endif /* CRYSTFELIMAGEVIEW_H */