39 lines
747 B
C
39 lines
747 B
C
|
|
//
|
||
|
|
// Created by Krad on 2022/9/23.
|
||
|
|
//
|
||
|
|
|
||
|
|
#ifndef OMEGAV_DICOMPROPERTIESSTORE_H
|
||
|
|
#define OMEGAV_DICOMPROPERTIESSTORE_H
|
||
|
|
|
||
|
|
#include <vector>
|
||
|
|
#include <map>
|
||
|
|
#include <string>
|
||
|
|
#include <vtkObject.h>
|
||
|
|
|
||
|
|
#include "IO/Common/DICOMTypes.h"
|
||
|
|
|
||
|
|
class ExtendMedicalImageProperties;
|
||
|
|
|
||
|
|
class DICOMPropertiesStore {
|
||
|
|
public:
|
||
|
|
static DICOMPropertiesStore *GetInstance() {
|
||
|
|
static DICOMPropertiesStore store;
|
||
|
|
return &store;
|
||
|
|
}
|
||
|
|
|
||
|
|
PatientsMapType* getPatientsList() {
|
||
|
|
return &m_patients;
|
||
|
|
}
|
||
|
|
|
||
|
|
void addProperty(ExtendMedicalImageProperties *property);
|
||
|
|
|
||
|
|
void reset();
|
||
|
|
|
||
|
|
private:
|
||
|
|
DICOMPropertiesStore();
|
||
|
|
~DICOMPropertiesStore();
|
||
|
|
PatientsMapType m_patients;
|
||
|
|
vtkObject *m_Holder;
|
||
|
|
};
|
||
|
|
#endif //OMEGAV_DICOMPROPERTIESSTORE_H
|