|
@@ -291,7 +291,8 @@ void handlePool::judgeLoaddata(boostJsonObject *object, QVTKRenderer *render_)
|
|
bool handlePool::resultImport(boostJsonObject *object_, QVTKRenderer *renderer_)
|
|
bool handlePool::resultImport(boostJsonObject *object_, QVTKRenderer *renderer_)
|
|
{
|
|
{
|
|
string type_;
|
|
string type_;
|
|
- //object_->fileName = "hcfd_part1_tec_volume_timestep100.dat,hcfd_part2_tec_volume_timestep100.dat";
|
|
|
|
|
|
+ //object_->fileName = "test1.dat";
|
|
|
|
+ //object_->fileName = "hcfd_tec_boundary_timestep100.dat";
|
|
//object_->fileName = "whole_part1.plt,whole_part2.plt";
|
|
//object_->fileName = "whole_part1.plt,whole_part2.plt";
|
|
size_t found = object_->fileName.find_first_of(',');
|
|
size_t found = object_->fileName.find_first_of(',');
|
|
if(found==string::npos){//单个文件
|
|
if(found==string::npos){//单个文件
|
|
@@ -349,6 +350,7 @@ bool handlePool::resultImport(boostJsonObject *object_, QVTKRenderer *renderer_)
|
|
renderer_->RemoveAllActors();
|
|
renderer_->RemoveAllActors();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ //object_->filePath = "F:\\czm\\vtkfile";
|
|
//object_->filePath = "C:\\Users\\Administrator\\Desktop\\Postprocess_Binary";//测试路径
|
|
//object_->filePath = "C:\\Users\\Administrator\\Desktop\\Postprocess_Binary";//测试路径
|
|
//object_->filePath = "C:\\Users\\Administrator\\Documents\\WeChat Files\\wxid_18qjhi0tq90d22\\FileStorage\\File\\2023-06";//测试路径
|
|
//object_->filePath = "C:\\Users\\Administrator\\Documents\\WeChat Files\\wxid_18qjhi0tq90d22\\FileStorage\\File\\2023-06";//测试路径
|
|
QDir dir(QString::fromStdString(object_->filePath));
|
|
QDir dir(QString::fromStdString(object_->filePath));
|