aboutsummaryrefslogtreecommitdiff
path: root/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-28 17:11:00 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:16 +0100
commitc080e2c362628da1a68ad17c117f303945724006 (patch)
treeb24e0c013e34dc2d339d91371ce0c3655a037831 /src/detector.h
parent0d2fd58266f87fb20aceb017c68b0e455ab4baee (diff)
First round of fallout from new geometry format
Diffstat (limited to 'src/detector.h')
-rw-r--r--src/detector.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/detector.h b/src/detector.h
index e9b2112f..a232b712 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -29,8 +29,8 @@ struct panel
int max_fs; /* Largest FS value considered to be in this panel */
int min_ss; /* ... and so on */
int max_ss;
- double cx; /* Location of corner (min_fs,min_ss) in pixels */
- double cy;
+ double cnx; /* Location of corner (min_fs,min_ss) in pixels */
+ double cny;
double clen; /* Camera length in metres */
char *clen_from;
double res; /* Resolution in pixels per metre */
@@ -42,6 +42,11 @@ struct panel
signed int fsy;
signed int ssx;
signed int ssy;
+
+ double xfs;
+ double yfs;
+ double xss;
+ double yss;
};
struct detector