Files
DCMV/DIDKit/App/DICOMPropertiesStore.h
2025-04-27 14:42:05 +08:00

36 lines
708 B
C++

#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