Add UI for DIDKIT.
This commit is contained in:
@@ -82,11 +82,13 @@ void ImageSetStore::addImageSet(ExtendMedicalImageProperties* property) {
|
||||
if (study->series->count(series_uid)>0){
|
||||
study->series->at(series_uid)->insert({property->GetUniqueID(),property});
|
||||
imageProperties.push_back(property);
|
||||
property->Register(placeHolder);
|
||||
}
|
||||
else {
|
||||
ImageSetMapType* v = new ImageSetMapType;
|
||||
v->insert({property->GetUniqueID(),property});
|
||||
study->series->insert({series_uid,v});
|
||||
imageProperties.push_back(property);
|
||||
property->Register(placeHolder);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,14 +86,10 @@ bool ExtendMedicalImageProperties::RescaledImageDataIsSigned()
|
||||
|
||||
void ExtendMedicalImageProperties::GenerateUniqueID() {
|
||||
std::string uniqueID;
|
||||
uniqueID.append(PatientName);
|
||||
uniqueID.append("_");
|
||||
uniqueID.append(StudyUID);
|
||||
uniqueID.append("_");
|
||||
uniqueID.append(SeriesUID);
|
||||
uniqueID.append("_");
|
||||
char img[200]={0};
|
||||
sprintf(img,"%ld", ImageSetNumber);
|
||||
sprintf(img,"_%ld", ImageSetNumber);
|
||||
uniqueID.append(img);
|
||||
this->SetUniqueID(uniqueID.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user