Add UI for DIDKIT.
This commit is contained in:
38
DIDKit/App/DICOMPropertiesStore.h
Normal file
38
DIDKit/App/DICOMPropertiesStore.h
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user