You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

90 lines
1.7 KiB

#ifndef SSMPRESETVALUES_H
#define SSMPRESETVALUES_H
#include <QObject>
#include <QMetaType>
#include "model/databaseManager/dto/ProbeProperties/DbmPresetValue.h"
struct SsmPresetValues_t {
int angle;
int apcTxPower;
int criFilter;
int depth;
int dynContB;
int mla;
int stb;
int lineDensity;
float readZoom;
int rejectB;
int framFilter;
int lineFilter;
int criLineFilter;
int cri;
int enhanceB;
int gainB;
int focusNumber;
int persist;
int focus;
int tintMapB;
int grayMapB;
bool sriBypass;
int sri;
int oti;
bool xl;
int frequency;
bool hi;
bool ffc;
bool virtualConvex;
bool criBypass;
bool mirrorLR;
bool mirrorUD;
bool twoDSri;
int imageX;
int imageY;
int tgc;
void init(DbmDtoPresetValue temp)
{
angle = temp.angle;
apcTxPower = temp.apcTxPower;
criFilter = temp.criFilter;
depth = temp.depth;
dynContB = temp.dynContB;
mla = temp.mla;
stb = temp.stb;
lineDensity = temp.lineDensity;
readZoom = static_cast<float>(temp.readZoom);
rejectB = temp.rejectB;
framFilter = temp.framFilter;
lineFilter = temp.lineFilter;
criLineFilter = temp.criLineFilter;
cri = temp.cri;
enhanceB = temp.enhanceB;
gainB = temp.gainB;
focusNumber = temp.focusNumber;
persist = temp.persist;
focus = temp.focus;
tintMapB = temp.tintMapB;
grayMapB = temp.grayMapB;
sriBypass = temp.sriBypass;
sri = temp.sri;
oti = temp.oti;
xl = temp.xl;
frequency = temp.frequency;
hi = temp.hi;
ffc = temp.ffc;
virtualConvex = temp.virtualConvex;
criBypass = temp.criBypass;
mirrorLR = temp.mirrorLR;
mirrorUD = temp.mirrorUD;
twoDSri = temp.twoDSri;
imageX = temp.imageX;
imageY = temp.imageY;
tgc = temp.tgc;
}
};
Q_DECLARE_METATYPE(SsmPresetValues_t);
#endif //SSMPRESETVALUES_H