5 typedef short Dsn6IntegerType;
\r
6 typedef unsigned char Dsn6ImageType;
\r
8 #define Dsn6Header Header.DSN6HeaderCont
\r
10 typedef struct Dsn6Coord {
\r
16 typedef struct Dsn6HeaderContent {
\r
19 Dsn6Coord SamplingRate;
\r
20 Dsn6IntegerType ACellEdge;
\r
21 Dsn6IntegerType BCellEdge;
\r
22 Dsn6IntegerType CCellEdge;
\r
23 Dsn6IntegerType CosAlpha;
\r
24 Dsn6IntegerType CosBeta;
\r
25 Dsn6IntegerType CosGamma;
\r
26 Dsn6IntegerType DensScaling;
\r
27 Dsn6IntegerType DensOffset;
\r
28 Dsn6IntegerType CellConstantScalingFactor;
\r
29 Dsn6IntegerType Weight;
\r
30 Dsn6IntegerType dummy[256-19];
\r
31 } Dsn6HeaderContent;
\r
33 typedef union DSN6Header {
\r
35 Dsn6IntegerType data[256];
\r
36 Dsn6HeaderContent DSN6HeaderCont;
\r
39 typedef struct Dsn6 {
\r
41 Dsn6ImageType* Image;
\r
45 extern void dsn6Init(Dsn6* map, int mode);
\r
46 extern void dsn6ImageAllocate(Dsn6* map, int mode);
\r
48 extern void dsn6FileWrite(Dsn6* map, FILE* fpt, int mode);
\r