diff options
author | Tom White <weiss@jade.(none)> | 2008-09-29 18:23:46 +0100 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2008-10-02 17:56:45 +0100 |
commit | f6a8e7ef02e6f449c2c3aa6186bf10d81c127dd3 (patch) | |
tree | 80bce3620f8823e15a00db4b1165101a2a933c86 /src/mapping.h | |
parent | d200349cad19fa80947b441711cc36685a974aa2 (diff) |
Add a scale bar to the diffraction patterns
Diffstat (limited to 'src/mapping.h')
-rw-r--r-- | src/mapping.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mapping.h b/src/mapping.h index 6724499..82d2f04 100644 --- a/src/mapping.h +++ b/src/mapping.h @@ -18,11 +18,13 @@ #include "reflections.h" #include "control.h" +#include "image.h" extern void mapping_rotate(double x, double y, double z, double *ddx, double *ddy, double *ddz, double omega, double tilt); extern int mapping_map_to_space(ImageFeature *refl, double *ddx, double *ddy, double *ddz, double *twotheta); extern int mapping_scale(ImageFeature *refl, double *ddx, double *ddy); +extern double mapping_scale_bar_length(ImageRecord *image); extern void mapping_adjust_axis(ControlContext *ctx, double offset); extern void mapping_map_features(ControlContext *ctx); |