Remove InstancesVecType
This commit is contained in:
@@ -363,7 +363,7 @@ private:
|
||||
};
|
||||
|
||||
|
||||
typedef std::vector <SeriesImageSet*> InstancesVecType;
|
||||
//typedef std::vector <SeriesImageSet*> InstancesVecType;
|
||||
|
||||
typedef struct SeriesInfo
|
||||
{
|
||||
@@ -374,8 +374,12 @@ typedef struct SeriesInfo
|
||||
std::string unique_id;
|
||||
DicomTagInfo_t* tag_info;
|
||||
thumbnailImage* thumb_nail;
|
||||
InstancesVecType* instances;
|
||||
SeriesInfo() : pixmap_valid(false), unique_id(""), tag_info(nullptr), thumb_nail(nullptr), instances(nullptr) {}
|
||||
// InstancesVecType* instances;
|
||||
SeriesInfo() : pixmap_valid(false), unique_id(""), tag_info(nullptr), thumb_nail(nullptr) {}
|
||||
~SeriesInfo(){
|
||||
delete tag_info;
|
||||
//delete thumb_nail;
|
||||
}
|
||||
}SeriesInfo_t;
|
||||
typedef std::map<std::string, SeriesInfo_t*> SeriesMapType;
|
||||
|
||||
|
||||
@@ -79,16 +79,17 @@ void ExportDialog::onBtnExportClicked()
|
||||
}
|
||||
else if (ui->rbAllOpendSeries->isChecked())// all opened series
|
||||
{
|
||||
InstancesVecType instanceVec;
|
||||
DicomLoader::GetInstance()->getOpenedInstancesVec(instanceVec);
|
||||
for (int i = 0; i < instanceVec.size(); i++)
|
||||
{
|
||||
SeriesImageSet *instance = instanceVec.at(i);
|
||||
if (instance != nullptr)
|
||||
{
|
||||
options.inputData.push_back(instance->getCurSeriesName());
|
||||
}
|
||||
}
|
||||
//disable this function
|
||||
// InstancesVecType instanceVec;
|
||||
// DicomLoader::GetInstance()->getOpenedInstancesVec(instanceVec);
|
||||
// for (int i = 0; i < instanceVec.size(); i++)
|
||||
// {
|
||||
// SeriesImageSet *instance = instanceVec.at(i);
|
||||
// if (instance != nullptr)
|
||||
// {
|
||||
// options.inputData.push_back(instance->getCurSeriesName());
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
if (ui->rbJPEG->isChecked())
|
||||
|
||||
Reference in New Issue
Block a user