12 #ifndef CXPATIENTMODELIMPLSERVICE_H_
13 #define CXPATIENTMODELIMPLSERVICE_H_
15 #include "org_custusx_core_patientmodel_Export.h"
16 class ctkPluginContext;
42 virtual void insertData(
DataPtr data,
bool overWrite =
false);
43 virtual DataPtr createData(QString type, QString uid, QString name);
44 virtual std::map<QString, DataPtr> getDatas(
DataFilter filter)
const;
45 virtual DataPtr getData(
const QString& uid)
const;
46 virtual std::map<QString, DataPtr> getChildren(QString parent_uid, QString of_type=
"")
const;
49 virtual std::map<QString, LandmarkProperty> getLandmarkProperties()
const;
50 virtual void setLandmarkName(QString uid, QString name);
51 virtual void setLandmarkActive(QString uid,
bool active);
58 virtual CLINICAL_VIEW getClinicalApplication()
const;
59 virtual void setClinicalApplication(CLINICAL_VIEW application);
61 virtual std::map<QString, VideoSourcePtr> getStreams()
const;
63 virtual QString getActivePatientFolder()
const;
64 virtual bool isPatientValid()
const;
65 virtual DataPtr importData(QString fileName, QString &infoText);
66 virtual void exportPatient(PATIENT_COORDINATE_SYSTEM externalSpace);
67 virtual void removeData(QString uid);
70 virtual void setCenter(
const Vector3D& center);
75 virtual QString addLandmark();
76 virtual void deleteLandmarks();
78 virtual void autoSave();
79 virtual bool isNull();
81 virtual void makeAvailable(
const QString& uid,
bool available);
87 ctkPluginContext *mContext;
89 void createInterconnectedDataAndSpace();
90 void shutdownInterconnectedDataAndSpace();
95 ToolPtr getProbeTool(QString videoSourceUid);
106 std::map<QString, ToolPtr> mProbeTools;
110 std::vector<QString> mUnavailableData;
112 void disconnectProbes();
113 void connectProbes();