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