From 4464b2fc8d2840d489a839e4973fab1e71144efc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 23 Aug 2022 15:56:57 +0200 Subject: 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. --- src/crystfelimageview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/crystfelimageview.h') 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 */ -- cgit v1.2.3