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);
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();
92 virtual DataServicePtr dataService()
const;
93 PatientDataPtr patientData()
const;
95 ToolPtr getProbeTool(QString videoSourceUid);
98 DataManagerImplPtr mDataService;
99 PatientDataPtr mPatientData;
100 DataFactoryPtr mDataFactory;
105 std::map<QString, ToolPtr> mProbeTools;
109 std::vector<QString> mUnavailableData;
111 void disconnectProbes();
112 void connectProbes();
boost::shared_ptr< class VideoService > VideoServicePtr
boost::shared_ptr< class RegistrationHistory > RegistrationHistoryPtr
boost::shared_ptr< class TrackedStream > TrackedStreamPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class TrackingService > TrackingServicePtr
boost::shared_ptr< class TransferFunctions3DPresets > PresetTransferFunctions3DPtr
boost::shared_ptr< class DataManagerImpl > DataManagerImplPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
boost::shared_ptr< class DataManager > DataServicePtr
boost::shared_ptr< class Landmarks > LandmarksPtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< PatientModelImplService > PatientModelImplServicePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< PatientData > PatientDataPtr
The OperatingTable class.
boost::shared_ptr< class DataFactory > DataFactoryPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr