33 #ifndef CXPATIENTMODELSERVICEPROXY_H
34 #define CXPATIENTMODELSERVICEPROXY_H
36 #include "cxResourceExport.h"
39 #include <boost/shared_ptr.hpp>
41 class ctkPluginContext;
64 virtual void insertData(
DataPtr data);
65 virtual DataPtr createData(QString type, QString uid, QString name=
"");
66 virtual std::map<QString, DataPtr> getData()
const;
67 virtual DataPtr getData(
const QString& uid)
const;
70 virtual std::map<QString, LandmarkProperty> getLandmarkProperties()
const;
71 virtual void setLandmarkName(QString uid, QString name);
72 virtual void setLandmarkActive(QString uid,
bool active);
78 virtual CLINICAL_VIEW getClinicalApplication()
const;
79 virtual void setClinicalApplication(CLINICAL_VIEW application);
81 virtual std::map<QString, VideoSourcePtr> getStreams()
const;
83 virtual QString getActivePatientFolder()
const;
84 virtual bool isPatientValid()
const;
85 virtual DataPtr importData(QString fileName, QString &infoText);
86 virtual void exportPatient(PATIENT_COORDINATE_SYSTEM externalSpace);
87 virtual void removeData(QString uid);
91 virtual void setCenter(
const Vector3D& center);
94 virtual QString addLandmark();
96 virtual void autoSave();
97 virtual bool isNull();
100 void initServiceListener();
104 ctkPluginContext *mPluginContext;
106 boost::shared_ptr<ServiceTrackerListener<PatientModelService> > mServiceListener;
110 #endif // CXPATIENTMODELSERVICEPROXY_H
boost::shared_ptr< class RegistrationHistory > RegistrationHistoryPtr
boost::shared_ptr< class TransferFunctions3DPresets > PresetTransferFunctions3DPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
boost::shared_ptr< class Landmarks > LandmarksPtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Always provides a PatientModelService.