Files
DCMV/DIDKit/App/DICOMPropertiesStore.h

39 lines
747 B
C
Raw Permalink Normal View History

2022-09-23 13:13:41 +08:00
//
// 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