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.
79 lines
2.0 KiB
79 lines
2.0 KiB
#ifndef BIPSCANCONVERSIONCONFIG_H
|
|
#define BIPSCANCONVERSIONCONFIG_H
|
|
|
|
#include "model/scenarioGenerator/dto/software/SoftwareOutput.h"
|
|
|
|
struct BipScanConversionConfig_t {
|
|
bool linear;
|
|
float probeRadius;
|
|
float fieldOfView;
|
|
float probeFieldOfView;
|
|
float virtualOriginalZ;
|
|
float bMinScanAx;
|
|
float bMinScanAz;
|
|
float bMaxScanAx;
|
|
float bMaxScanAz;
|
|
float minScanAx;
|
|
float minScanAz;
|
|
float maxScanAx;
|
|
float steering;
|
|
quint32 rxLineNo;
|
|
quint32 rxFocusPointNo;
|
|
float rxLineDaz;
|
|
float rxPointDax;
|
|
bool virtualConvex;
|
|
float vcMaxTheta;
|
|
float angle;
|
|
Pixel_t pixel;
|
|
|
|
BipScanConversionConfig_t(ScenGenScanConversionConfig_t config)
|
|
{
|
|
this->linear = config.linear;
|
|
this->probeRadius = config.probeRadius;
|
|
this->fieldOfView = config.fieldOfView;
|
|
this->probeFieldOfView = config.probeFieldOfView;
|
|
this->virtualOriginalZ = config.virtualOriginalZ;
|
|
this->bMinScanAx = config.bMinScanAx;
|
|
this->bMinScanAz = config.bMinScanAz;
|
|
this->bMaxScanAx = config.bMaxScanAx;
|
|
this->bMaxScanAz = config.bMaxScanAz;
|
|
this->minScanAx = config.minScanAx;
|
|
this->minScanAz = config.minScanAz;
|
|
this->maxScanAx = config.maxScanAx;
|
|
this->steering = config.steering;
|
|
this->rxLineNo = config.rxLineNo;
|
|
this->rxFocusPointNo = config.rxFocusPointNo;
|
|
this->rxLineDaz = config.rxLineDaz;
|
|
this->rxPointDax = config.rxPointDax;
|
|
this->virtualConvex = config.virtualConvex;
|
|
this->vcMaxTheta = config.vcMaxTheta;
|
|
this->angle = config.angle;
|
|
this->pixel = config.pixel;
|
|
}
|
|
|
|
BipScanConversionConfig_t()
|
|
{
|
|
this->linear = 0;
|
|
this->probeRadius = 0;
|
|
this->fieldOfView = 0;
|
|
this->probeFieldOfView = 0;
|
|
this->virtualOriginalZ = 0;
|
|
this->bMinScanAx = 0;
|
|
this->bMinScanAz = 0;
|
|
this->bMaxScanAx = 0;
|
|
this->bMaxScanAz = 0;
|
|
this->minScanAx = 0;
|
|
this->minScanAz = 0;
|
|
this->maxScanAx = 0;
|
|
this->steering = 0;
|
|
this->rxLineNo = 0;
|
|
this->rxFocusPointNo = 0;
|
|
this->rxLineDaz = 0;
|
|
this->rxPointDax = 0;
|
|
this->virtualConvex = 0;
|
|
this->vcMaxTheta = 0;
|
|
this->angle = 0;
|
|
}
|
|
};
|
|
|
|
#endif //BIPSCANCONVERSIONCONFIG_H
|
|
|