|
|
|
|
@ -453,6 +453,7 @@ struct BasicConfig
|
|
|
|
|
float fImage_Scale_y; // 成像精度
|
|
|
|
|
float fProduct_Off_X_mm; // 产品偏移量
|
|
|
|
|
std::string strCamName; //
|
|
|
|
|
std::string strConfigVersion; // 配置版本
|
|
|
|
|
|
|
|
|
|
float density_R_mm; // 密度计算半径 像素
|
|
|
|
|
BasicConfig()
|
|
|
|
|
@ -475,6 +476,7 @@ struct BasicConfig
|
|
|
|
|
density_R_mm = 5;
|
|
|
|
|
strCamName = "";
|
|
|
|
|
fProduct_Off_X_mm = 0;
|
|
|
|
|
strConfigVersion = "1.0";
|
|
|
|
|
strCamearName = EMPTY_CONFIG_NAME;
|
|
|
|
|
}
|
|
|
|
|
void copy(BasicConfig tem)
|
|
|
|
|
@ -499,6 +501,7 @@ struct BasicConfig
|
|
|
|
|
this->fImage_Scale_y = tem.fImage_Scale_y;
|
|
|
|
|
this->density_R_mm = tem.density_R_mm;
|
|
|
|
|
this->strCamearName = tem.strCamearName;
|
|
|
|
|
this->strConfigVersion = tem.strConfigVersion;
|
|
|
|
|
}
|
|
|
|
|
void print(std::string str = "")
|
|
|
|
|
{
|
|
|
|
|
|