/* Bruker.API.Common-Structures.h Header File for common used structures (esprit and dataimport) Microsoft Visual Studio 2015 */ namespace BrukerDll { #ifndef BRUKERAPICOMMONSTRUCTURESH #define BRUKERAPICOMMONSTRUCTURESH #include #pragma pack(push, 1) struct TMultiPoints { uint32_t X; uint32_t Y; }; #pragma pack(pop) // typedef TSegment TSegmentList[8192/*# range 0..8191*/]; typedef TMultiPoints TMultiPointList[65536]; typedef TMultiPoints* PMultiPointList; #pragma pack(push, 1) struct TSegment { uint32_t Y; uint32_t XStart; int32_t XCount; }; #pragma pack(pop) // typedef TSegment TSegmentList[8192/*# range 0..8191*/]; typedef TSegment TSegmentList[65536]; typedef TSegment* PSegmentList; #pragma pack(push, 1) struct TRTElementRegion { int32_t Element; unsigned __int8 IdentifierLength; char Line[10]; // can be ‘K? ‘KA? ‘LA?? double Energy; // set element=0 if you want to use a specific energy, if you use element and line it can be ?? double Width; // this is factor to enlarge/shrink the region unsigned char R, G, B; // }; #pragma pack(pop) #pragma pack(push, 1) struct TRTHyMapProfileSettings { int32_t Version; // Version of structure, useful for later extensions, =1 at the moment //Element settings int32_t ElementCount; TRTElementRegion ElementRegions[51/*# range 0..50*/]; // Map-Options int32_t ImageFilter; // 0=none, 1=smooth, 2=sharpen int32_t MapFilter; // 0=none, 1=average, 2=smooth, 3=automatic int32_t MapFilterWidth; // filter with in pixel 3?9 int32_t ColorMixMethod; // 0=standard, 1=enhanced double Brightness; // -1..1 double Gamma; // 0..2 double ColorSaturation; // 0..2, default should be ?? bool AbsoluteScaling; bool Normalization; bool Deconvolution; }; #pragma pack(pop) //typedef TPoint * PPointArray; #pragma pack(push, 1) struct TEBSDIndexingResult { int32_t MapX, MapY; int32_t RadonBandCount; int32_t nIndexedBands; int32_t phase; double phi1; double phi; double phi2; double RadonQuality; double MAD; }; #pragma pack(pop) typedef TEBSDIndexingResult* PEBSDIndexingResultArray; #endif // BRUKERAPICOMMONSTRUCTURESH }