aboutsummaryrefslogtreecommitdiff
path: root/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-27 21:34:20 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:15 +0100
commit58db0aef18fe71d501d7712c7718e4e55324ee87 (patch)
treec12a7f3f3adf0cd53ef3fb77399ead0742b1849b /src/detector.h
parent7dd5cd690e3c61df638aaacad5d23617f72ff0da (diff)
hdfsee: Fit window to detector geometry
Diffstat (limited to 'src/detector.h')
-rw-r--r--src/detector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/detector.h b/src/detector.h
index f5ae25ca..703c79ae 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -61,5 +61,8 @@ extern struct detector *get_detector_geometry(const char *filename);
extern void free_detector_geometry(struct detector *det);
extern struct detector *simple_geometry(const struct image *image);
+extern void get_pixel_extents(struct detector *det,
+ double *min_x, double *min_y,
+ double *max_x, double *max_y);
#endif /* DETECTOR_H */