aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-04 16:30:34 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commitd3e89c668852f82b14ac4e4f618628e0d58f9ebb (patch)
treec98a411a4bf25299b5b1114a3dae747fe5c23caf /src
parentfb1a14fdca970955b02720dd3b038262e8ef6848 (diff)
Add new functions to CrystFELImageView
Diffstat (limited to 'src')
-rw-r--r--src/crystfelimageview.c12
-rw-r--r--src/crystfelimageview.h5
2 files changed, 17 insertions, 0 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index 3bfd7ce4..3b56dbca 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -534,3 +534,15 @@ int crystfel_image_view_set_image(CrystFELImageView *iv,
iv->event = safe_strdup(event);
return reload_image(iv);
}
+
+
+struct image *crystfel_image_view_get_image_struct(CrystFELImageView *iv)
+{
+ return iv->image;
+}
+
+
+void crystfel_image_view_set_peaks(CrystFELImageView *iv,
+ ImageFeatureList *peaks)
+{
+}
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h
index ca2d116f..3e2c35e2 100644
--- a/src/crystfelimageview.h
+++ b/src/crystfelimageview.h
@@ -106,4 +106,9 @@ extern int crystfel_image_view_set_image(CrystFELImageView *iv,
const char *filename,
const char *event);
+extern struct image *crystfel_image_view_get_image_struct(CrystFELImageView *iv);
+
+extern void crystfel_image_view_set_peaks(CrystFELImageView *iv,
+ ImageFeatureList *peaks);
+
#endif /* CRYSTFELIMAGEVIEW_H */