5 #ifndef ImageStruct_hpp
6 #define ImageStruct_hpp
8 #include <ImageStreamIO/ImageStruct.h>
11 #define ULONGLONG_IMG (80)
14 #define IMAGESTRUCT_UINT8 1
15 #define IMAGESTRUCT_INT8 2
16 #define IMAGESTRUCT_UINT16 3
17 #define IMAGESTRUCT_INT16 4
18 #define IMAGESTRUCT_UINT32 5
19 #define IMAGESTRUCT_INT32 6
20 #define IMAGESTRUCT_UINT64 7
21 #define IMAGESTRUCT_INT64 8
22 #define IMAGESTRUCT_FLOAT 9
23 #define IMAGESTRUCT_DOUBLE 10
24 #define IMAGESTRUCT_COMPLEX_FLOAT 11
25 #define IMAGESTRUCT_COMPLEX_DOUBLE 12
26 #define IMAGESTRUCT_EVENT_UI8_UI8_UI16_UI8 20
35 constexpr
static size_t size =
sizeof(
type);
36 constexpr
static type max = std::numeric_limits<type>::max();
38 static void setPointer( IMAGE & im,
void * mapv) { im.array.UI8 =
static_cast<type*
>(mapv);}
45 constexpr
static size_t size =
sizeof(
type);
46 constexpr
static type max = std::numeric_limits<type>::max();
48 static void setPointer( IMAGE & im,
void * mapv) { im.array.SI8 =
static_cast<type*
>(mapv);}
55 constexpr
static size_t size =
sizeof(
type);
56 constexpr
static type max = std::numeric_limits<type>::max();
58 static void setPointer( IMAGE & im,
void * mapv) { im.array.UI16 =
static_cast<type*
>(mapv);}
65 constexpr
static size_t size =
sizeof(
type);
66 constexpr
static type max = std::numeric_limits<type>::max();
68 static void setPointer( IMAGE & im,
void * mapv) { im.array.SI16 =
static_cast<type*
>(mapv);}
75 constexpr
static size_t size =
sizeof(
type);
76 constexpr
static type max = std::numeric_limits<type>::max();
78 static void setPointer( IMAGE & im,
void * mapv) { im.array.UI32 =
static_cast<type*
>(mapv);}
85 constexpr
static size_t size =
sizeof(
type);
86 constexpr
static type max = std::numeric_limits<type>::max();
88 static void setPointer( IMAGE & im,
void * mapv) { im.array.SI32 =
static_cast<type*
>(mapv);}
95 constexpr
static size_t size =
sizeof(
type);
96 constexpr
static type max = std::numeric_limits<type>::max();
98 static void setPointer( IMAGE & im,
void * mapv) { im.array.UI64 =
static_cast<type*
>(mapv);}
105 constexpr
static size_t size =
sizeof(
type);
106 constexpr
static type max = std::numeric_limits<type>::max();
108 static void setPointer( IMAGE & im,
void * mapv) { im.array.SI64 =
static_cast<type*
>(mapv);}
115 constexpr
static size_t size =
sizeof(
type);
116 constexpr
static type max = std::numeric_limits<type>::max();
118 static void setPointer( IMAGE & im,
void * mapv) { im.array.F =
static_cast<type*
>(mapv);}
125 constexpr
static size_t size =
sizeof(
type);
126 constexpr
static type max = std::numeric_limits<type>::max();
128 static void setPointer( IMAGE & im,
void * mapv) { im.array.D =
static_cast<type*
>(mapv);}
135 constexpr
static size_t size =
sizeof(
type);
136 constexpr
static type max = std::numeric_limits<type>::max();
138 static void setPointer( IMAGE & im,
void * mapv) { im.array.CF =
static_cast<type*
>(mapv);}
145 constexpr
static size_t size =
sizeof(
type);
147 static void setPointer( IMAGE & im,
void * mapv) { im.array.CD =
static_cast<type*
>(mapv);}
#define IMAGESTRUCT_UINT16
#define IMAGESTRUCT_INT64
#define IMAGESTRUCT_FLOAT
#define IMAGESTRUCT_INT32
#define IMAGESTRUCT_UINT32
#define IMAGESTRUCT_COMPLEX_DOUBLE
#define IMAGESTRUCT_COMPLEX_FLOAT
#define IMAGESTRUCT_DOUBLE
#define IMAGESTRUCT_UINT8
#define IMAGESTRUCT_INT16
#define IMAGESTRUCT_UINT64
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)
static void setPointer(IMAGE &im, void *mapv)