FEDRA emulsion software from the OPERA Collaboration
vscan_ds.h
Go to the documentation of this file.
1 #ifndef _VERTIGOSCAN_DATA_STRUCTURES_
2 #define _VERTIGOSCAN_DATA_STRUCTURES_
3 
4 #include "Config.h"
5 #include "Connection.h"
6 
7 #pragma pack(push)
8 #pragma pack(1)
9 
10 #include "id.h"
11 #include "TVectors.h"
12 #include "VSRawData.h"
13 #include "Config.h"
14 
15 #define VS_CATALOG_SECTION 1
16 #define VS_VIEW_SECTION 2
17 #define VS_TRACK_SECTION 3
18 #define VS_GRAIN_SECTION 4
19 #define VS_CONFIG_SECTION 5
20 #define VS_FRAGMENT_SECTION 6
21 
22 #define VS_DATA_BYTES 0x30
23 #define VS_HEADER_BYTES 0x60
24 
25 #define VS_OLD_HEADER_TYPE 0x701
26 #define VS_HEADER_TYPE 0x702
27 
28 #define VS_COMPRESSION_NULL 0
29 #define VS_COMPRESSION_METHOD 0x100
30 
31 #define VS_COMPRESSION_GRAIN_SUPPRESSION (VS_COMPRESSION_METHOD + 2)
32 
33 typedef struct
34 {
35  char ClassName[SYSAL_MAX_CONN_NAME_LEN];
37  } VS_Config;
38 
39 typedef struct
40 {
41  int Index;
42  int StartView;
47  } VS_Fragment;
48 
49 typedef struct
50 {
51  int Index;
52  int StartView;
57  } VS_Fragment2;
58 
59 typedef struct
60 {
61  struct
62 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
63  t_Hdr
64 #endif
65  {
68  } Hdr;
69  struct
70 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
71  t_Area
72 #endif
73  {
74  float XMin, XMax, YMin, YMax;
75  float XStep, YStep;
76  int XViews, YViews;
77  int Fragments;
78  } Area;
79  struct
80 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
81  t_Config
82 #endif
83  {
86  } Config;
88  unsigned char Reserved[256];
89  } IO_VS_Catalog;
90 
91 typedef struct
92 {
93  struct
94 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
95  t_Hdr
96 #endif
97  {
100  } Hdr;
102  unsigned char Reserved[256];
103  } IO_VS_Fragment;
104 
105 typedef struct
106 {
107  struct
108 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
109  t_Hdr
110 #endif
111  {
114  } Hdr;
116  unsigned char Reserved[256];
117  } IO_VS_Fragment2;
118 
119 #pragma pack(pop)
120 
121 #endif
#define SYSAL_MAX_CONN_NAME_LEN
Definition: Connection.h:4
Definition: Struct.h:41
Definition: id.h:13
Definition: vscan_ds.h:60
int CountOfConfigs
Definition: vscan_ds.h:84
float XStep
Definition: vscan_ds.h:75
IO_Header Type
Definition: vscan_ds.h:66
VS_Config * pConfigs
Definition: vscan_ds.h:85
Identifier ID
Definition: vscan_ds.h:67
int XViews
Definition: vscan_ds.h:76
int Fragments
Definition: vscan_ds.h:77
float XMax
Definition: vscan_ds.h:74
int * pFragmentIndices
Definition: vscan_ds.h:87
Definition: vscan_ds.h:106
Identifier ID
Definition: vscan_ds.h:113
IO_Header Type
Definition: vscan_ds.h:112
VS_Fragment2 Fragment
Definition: vscan_ds.h:115
Definition: vscan_ds.h:92
Identifier ID
Definition: vscan_ds.h:99
VS_Fragment Fragment
Definition: vscan_ds.h:101
IO_Header Type
Definition: vscan_ds.h:98
Definition: AcqPlateChanger.h:31
Definition: Config.h:9
Definition: vscan_ds.h:34
SySalConfig Config
Definition: vscan_ds.h:36
Definition: vscan_ds.h:50
int FitCorrectionDataSize
Definition: vscan_ds.h:54
int StartView
Definition: vscan_ds.h:52
VS_View2 * pViews
Definition: vscan_ds.h:56
int Index
Definition: vscan_ds.h:51
int CountOfViews
Definition: vscan_ds.h:53
int CodingMode
Definition: vscan_ds.h:55
Definition: vscan_ds.h:40
VS_View * pViews
Definition: vscan_ds.h:46
int CodingMode
Definition: vscan_ds.h:45
int Index
Definition: vscan_ds.h:41
int FitCorrectionDataSize
Definition: vscan_ds.h:44
int CountOfViews
Definition: vscan_ds.h:43
int StartView
Definition: vscan_ds.h:42
Definition: VSRawData.h:35
Definition: VSRawData.h:12