-struct phmelem_st {
- int type; /* phmelem type (box, ellipse, etc) */
- double atten; /* X-ray attenuation coefficient */
- double cx,cy; /* center of phmelem */
- double u,v; /* size of phmelem */
- double rot; /* phmelem rotation angle (in radians) */
- double *x, *y; /* ptr to array of points in obj world coord */
- int pts; /* number of points in outline arrays */
- double xmin, xmax, ymin, ymax; /* phmelem limits */
- double radius; /* " */
- struct { /* transform matrices */
- GRFMTX_2D p_to_o; /* map from phantom to standard phmelem coords */
- GRFMTX_2D o_to_p; /* map from std phmelem coords to phantom coords */
+struct pelm_st {
+ int type; /* pelm type (box, ellipse, etc) */
+ double atten; /* X-ray attenuation coefficient */
+ double cx,cy; /* center of pelm */
+ double u,v; /* size of pelm */
+ double rot; /* pelm rotation angle (in radians) */
+ double *x, *y; /* ptr to array of points in obj world coord */
+ int pts; /* number of points in outline arrays */
+ double xmin, xmax, ymin, ymax; /* pelm limits */
+ double radius; /* " */
+ struct { /* transform matrices */
+ GRFMTX_2D p_to_o; /* map from phantom to standard pelm coords */
+ GRFMTX_2D o_to_p; /* map from std pelm coords to phantom coords */