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.
45 lines
974 B
45 lines
974 B
4 years ago
|
#ifndef BMODESETTINGPROBEPROPERTES_H
|
||
|
#define BMODESETTINGPROBEPROPERTES_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QMetaType>
|
||
|
|
||
|
#include "model/ssm/dtoInternal/SsmProbeProperties.h"
|
||
|
|
||
|
struct BModeSettingProbeProperties_t {
|
||
|
bool linear;
|
||
|
QList<int> angleValues;
|
||
|
QList<QString> hiFrequencyNames;
|
||
|
QList<bool> piValues;
|
||
|
QList<float> depthData;
|
||
|
|
||
|
int hiFocusValuesLength;
|
||
|
int focusValuesLength;
|
||
|
int multiFocusStep;
|
||
|
int ffcValuesLength;
|
||
|
|
||
|
void init(SsmProbeProperties_t temp)
|
||
|
{
|
||
|
linear = temp.linear;
|
||
|
|
||
|
angleValues.clear();
|
||
|
angleValues.append(temp.angleValues);
|
||
|
|
||
|
hiFrequencyNames.clear();
|
||
|
hiFrequencyNames.append(temp.hiNames);
|
||
|
|
||
|
piValues.clear();
|
||
|
piValues.append(temp.piValues);
|
||
|
|
||
|
depthData.clear();
|
||
|
depthData.append(temp.depthData);
|
||
|
|
||
|
hiFocusValuesLength = temp.hiFocusValues.length();
|
||
|
focusValuesLength = temp.focusValues.length();
|
||
|
multiFocusStep = temp.multiFocusStep;
|
||
|
ffcValuesLength = temp.ffcValues[0].length();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
#endif //BMODESETTINGPROBEPROPERTES_H
|