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.
 
 

111 lines
3.1 KiB

#ifndef PROBEPROPERTIES_H
#define PROBEPROPERTIES_H
#include <QObject>
#include <QVector>
#include "model/ssm/dtoInternal/SsmProbeProperties.h"
typedef struct ScenGenProbeProperties_t {
bool linear;
float pitch;
float radius;
int subAzimuthNo;
int subElevationNo;
int elementNo;
float elementWidth;
float elementHeight;
float fieldOfView;
QVector<float> impulseResponse;
QList<int> angleValues;
QList<float> focusValues;
QList<float> hiFocusValues;
int multiFocusStep;
QList<int> otiC0Values;
QList<QList<float> > ffcValues;
QList<float> depthData;
QList<int> frequencyValues;
QList<int> hiFrequencyValues;
QList<int> dFrequencyValues;
QList<int> pwFrequencyValues;
QList<QList<float> > criSteeringAngles;
float rxGain;
float txGain;
QList<float> lineDensityValues;
QList<float> dLineDensityValues;
int halfCycleNoValues;
int ffcHalfCycleNoValues;
QList<int> hiHalfCycleNoValues;
QList<int> dopplerHalfCycleNoValues;
QList<float> priExtensionValue;
float dPriExtensionValue;
float txResolution;
float rxResolution;
float mLinesPri;
int simultPwFrameRate;
QVector<float> virtualConvexLineDensityValues;
float vcMaxTheta;
QList<bool> piValues;
QList<QString> hiNames;
QList<float> AtgcB;
QList<float> AtgcD;
QList<float> AtgcPW;
QList<float> AtgcReserve;
ScenGenProbeProperties_t()
{
}
ScenGenProbeProperties_t(SsmProbeProperties_t temp)
{
linear = temp.linear;
pitch = temp.pitch;
radius = temp.radius;
subAzimuthNo = temp.subAzimuthNo;
subElevationNo = temp.subElevationNo;
elementNo = temp.elementNo;
elementWidth = temp.elementWidth;
elementHeight = temp.elementHeight;
fieldOfView = temp.fieldOfView;
impulseResponse = QVector<float>::fromList(temp.impulseResponse);
angleValues = temp.angleValues;
focusValues = temp.focusValues;
hiFocusValues = temp.hiFocusValues;
multiFocusStep = temp.multiFocusStep;
otiC0Values = temp.otiC0Values;
ffcValues = temp.ffcValues;
depthData = temp.depthData;
frequencyValues = temp.frequencyValues;
hiFrequencyValues = temp.hiFrequencyValues;
dFrequencyValues = temp.dFrequencyValues;
pwFrequencyValues = temp.pwFrequencyValues;
criSteeringAngles = temp.criSteeringAngles;
rxGain = temp.rxGain;
txGain = temp.txGain;
lineDensityValues = temp.lineDensityValues;
dLineDensityValues = temp.dLineDensityValues;
halfCycleNoValues = temp.halfCycleNoValues;
ffcHalfCycleNoValues = temp.ffcHalfCycleNoValues;
hiHalfCycleNoValues = temp.hiHalfCycleNoValues;
dopplerHalfCycleNoValues = temp.dopplerHalfCycleNoValues;
priExtensionValue = temp.priExtensionValue;
dPriExtensionValue = temp.dPriExtensionValue;
txResolution = temp.txResolution;
rxResolution = temp.rxResolution;
mLinesPri = temp.mLinesPri;
simultPwFrameRate = temp.simultPwFrameRate;
virtualConvexLineDensityValues = QVector<float>::fromList(
temp.virtualConvexLineDensityValues);
vcMaxTheta = temp.vcMaxTheta;
piValues = temp.piValues;
hiNames = temp.hiNames;
AtgcB = temp.AtgcB;
AtgcD = temp.AtgcD;
AtgcPW = temp.AtgcPW;
AtgcReserve = temp.AtgcReserve;
}
}ScenGenProbeProperties_t;
Q_DECLARE_METATYPE(ScenGenProbeProperties_t)
#endif //PROBEPROPERTIES_H