12 #ifndef CXPATIENTMODELSERVICEPROXY_H
13 #define CXPATIENTMODELSERVICEPROXY_H
15 #include "cxResourceExport.h"
18 #include <boost/shared_ptr.hpp>
20 class ctkPluginContext;
43 virtual void insertData(
DataPtr data,
bool overWrite =
false);
44 virtual DataPtr createData(QString type, QString uid, QString name=
"");
45 virtual std::map<QString, DataPtr> getDatas(
DataFilter filter)
const;
46 virtual std::map<QString, DataPtr> getChildren(QString parent_uid, QString of_type=
"")
const;
47 virtual DataPtr getData(
const QString& uid)
const;
50 virtual std::map<QString, LandmarkProperty> getLandmarkProperties()
const;
51 virtual void setLandmarkName(QString uid, QString name);
52 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);
71 virtual void setCenter(
const Vector3D& center);
77 virtual QString addLandmark();
78 virtual void deleteLandmarks();
80 virtual void autoSave();
81 virtual bool isNull();
83 virtual void makeAvailable(
const QString& uid,
bool available);
86 void initServiceListener();
90 ctkPluginContext *mPluginContext;
92 boost::shared_ptr<ServiceTrackerListener<PatientModelService> > mServiceListener;
96 #endif // CXPATIENTMODELSERVICEPROXY_H