|
@@ -15,7 +15,6 @@ boostJsonObject::boostJsonObject()
|
|
|
sd_struct = NULL;
|
|
|
sm_struct = NULL;
|
|
|
ci_struct = NULL;
|
|
|
- ag_struct = NULL;
|
|
|
da_struct = NULL;
|
|
|
usrId.clear();
|
|
|
solverConfigid.clear();
|
|
@@ -66,10 +65,6 @@ boostJsonObject::~boostJsonObject()
|
|
|
}
|
|
|
qDeleteAll(vec_sd_struct);
|
|
|
|
|
|
- if(ag_struct){
|
|
|
- delete ag_struct;
|
|
|
- ag_struct = NULL;
|
|
|
- }
|
|
|
if(da_struct){
|
|
|
delete da_struct;
|
|
|
da_struct = NULL;
|
|
@@ -150,7 +145,6 @@ boostJsonObject *boostJsonObject::operator=(boostJsonObject *object)
|
|
|
this->vec_sd_struct = object->vec_sd_struct;
|
|
|
this->sm_struct = object->sm_struct;
|
|
|
this->ci_struct = object->ci_struct;
|
|
|
- this->ag_struct = object->ag_struct;
|
|
|
this->da_struct = object->da_struct;
|
|
|
this->da_struct->clrParam = object->da_struct->clrParam;
|
|
|
this->da_struct->hexaParam = object->da_struct->hexaParam;
|
|
@@ -393,12 +387,9 @@ void boostJsonObject::FromParamJson(string param)
|
|
|
}
|
|
|
ci_struct->hideZones = root.get<std::string>("hideZones");
|
|
|
ci_struct->isVolume = root.get<std::string>("isVolume");
|
|
|
- }else if(this->action == "readIgs")
|
|
|
- {
|
|
|
- ag_struct = new acis_geo_struct();
|
|
|
- ag_struct->geoPath = root.get<std::string>("geometryFile");
|
|
|
}else if(this->action == "meshSplit"){
|
|
|
da_struct = new DPM_ADIParam_struct();
|
|
|
+ da_struct->geoPath = root.get<std::string>("geometryFile");
|
|
|
da_struct->clrParam = new CleanerParam_struct();
|
|
|
da_struct->hexaParam = new HexaParam_struct();
|
|
|
da_struct->hybridParam = new HybridParam_struct();
|