aboutsummaryrefslogtreecommitdiff
path: root/src/imagedisplay.h
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-11-30 17:53:27 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-11-30 17:53:27 +0000
commitcf7a9b848cfa0ec4b649f54100b6ff92e5553232 (patch)
tree6007c5f513fc8fa57a6c78690c3ed1bde927bb6c /src/imagedisplay.h
parent627e71291eb879b77a97e1c429cfb8c6181f7179 (diff)
Attempt to make itrans-stat quantitative
Size of ImageDisplayMark circles depend on intensity of reflection git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@216 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/imagedisplay.h')
-rw-r--r--src/imagedisplay.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imagedisplay.h b/src/imagedisplay.h
index 7b16dc2..681de79 100644
--- a/src/imagedisplay.h
+++ b/src/imagedisplay.h
@@ -44,6 +44,7 @@ typedef struct struct_imagedisplaymark {
double x2;
double y2;
ImageDisplayMarkType type;
+ double weight; /* The 'intensity' if this is a peak */
struct struct_imagedisplaymark *next;
@@ -81,7 +82,7 @@ typedef struct imagedisplay_struct {
extern ImageDisplay *imagedisplay_open(ImageRecord image, const char *title, ImageDisplayFlags flags);
extern ImageDisplay *imagedisplay_open_with_message(ImageRecord image, const char *title, const char *message,
ImageDisplayFlags flags, GCallback mouse_click_func, gpointer callback_data);
-extern void imagedisplay_add_mark(ImageDisplay *imagedisplay, double x, double y, ImageDisplayMarkType type);
+extern void imagedisplay_add_mark(ImageDisplay *imagedisplay, double x, double y, ImageDisplayMarkType type, double weight);
extern void imagedisplay_add_line(ImageDisplay *imagedisplay, double x1, double y1, double x2, double y2, ImageDisplayMarkType type);
extern void imagedisplay_force_redraw(ImageDisplay *imagedisplay);
extern void imagedisplay_put_data(ImageDisplay *imagedisplay, ImageRecord imagerecord);