33 #ifndef CXPATIENTMODELIMPLSERVICE_H_ 34 #define CXPATIENTMODELIMPLSERVICE_H_ 36 #include "org_custusx_core_patientmodel_Export.h" 37 class ctkPluginContext;
63 virtual void insertData(
DataPtr data);
64 virtual DataPtr createData(QString type, QString uid, QString name);
65 virtual std::map<QString, DataPtr> getDatas(
DataFilter filter)
const;
66 virtual DataPtr getData(
const QString& uid)
const;
67 virtual std::map<QString, DataPtr> getChildren(QString parent_uid, QString of_type=
"")
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);
79 virtual CLINICAL_VIEW getClinicalApplication()
const;
80 virtual void setClinicalApplication(CLINICAL_VIEW application);
82 virtual std::map<QString, VideoSourcePtr> getStreams()
const;
84 virtual QString getActivePatientFolder()
const;
85 virtual bool isPatientValid()
const;
86 virtual DataPtr importData(QString fileName, QString &infoText);
87 virtual void exportPatient(PATIENT_COORDINATE_SYSTEM externalSpace);
88 virtual void removeData(QString uid);
91 virtual void setCenter(
const Vector3D& center);
96 virtual QString addLandmark();
97 virtual void deleteLandmarks();
99 virtual void autoSave();
100 virtual bool isNull();
102 virtual void makeAvailable(
const QString& uid,
bool available);
105 void probesChanged();
108 ctkPluginContext *mContext;
110 void createInterconnectedDataAndSpace();
111 void shutdownInterconnectedDataAndSpace();
113 virtual DataServicePtr dataService()
const;
114 PatientDataPtr patientData()
const;
116 ToolPtr getProbeTool(QString videoSourceUid);
119 DataManagerImplPtr mDataService;
120 PatientDataPtr mPatientData;
121 DataFactoryPtr mDataFactory;
126 std::map<QString, ToolPtr> mProbeTools;
130 std::vector<QString> mUnavailableData;
132 void disconnectProbes();
133 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