NorMIT-nav
22.09
An IGT application
|
The virtual patient. More...
#include <cxPatientModelService.h>
Public Types | |
enum | DataFilter { HideUnavailable, AllData } |
Signals | |
void | operatingTableChanged () |
void | centerChanged () |
emitted when center is changed. More... | |
void | dataAddedOrRemoved () |
void | landmarkPropertiesChanged () |
emitted when global info about a landmark changed More... | |
void | clinicalApplicationChanged () |
void | rMprChanged () |
void | streamLoaded () |
void | patientChanged () |
void | videoAddedToTrackedStream () |
Public Member Functions | |
virtual | ~PatientModelService () |
virtual void | insertData (DataPtr data, bool overWrite=false)=0 |
virtual std::map< QString, DataPtr > | getDatas (DataFilter filter=HideUnavailable) const =0 |
virtual std::map< QString, DataPtr > | getChildren (QString parent_uid, QString of_type="") const =0 |
virtual DataPtr | createData (QString type, QString uid, QString name="")=0 |
virtual void | removeData (QString uid)=0 |
template<class DATA > | |
std::map< QString, boost::shared_ptr< DATA > > | getDataOfType () const |
DataPtr | getData (const QString &uid) const |
template<class DATA > | |
boost::shared_ptr< DATA > | getData (const QString &uid) const |
template<class DATA > | |
boost::shared_ptr< DATA > | createSpecificData (QString uid, QString name="") |
virtual std::map< QString, VideoSourcePtr > | getStreams () const =0 |
VideoSourcePtr | getStream (const QString &uid) const |
Convenience function getting a specified stream. More... | |
virtual Transform3D | get_rMpr () const |
virtual RegistrationHistoryPtr | get_rMpr_History () const =0 |
virtual ActiveDataPtr | getActiveData () const =0 |
virtual LandmarksPtr | getPatientLandmarks () const =0 |
landmark defined in patient space More... | |
virtual std::map< QString, LandmarkProperty > | getLandmarkProperties () const =0 |
virtual void | setLandmarkName (QString uid, QString name)=0 |
virtual void | setLandmarkActive (QString uid, bool active)=0 |
virtual QString | addLandmark ()=0 |
virtual void | deleteLandmarks ()=0 |
virtual void | updateRegistration_rMpr (const QDateTime &oldTime, const RegistrationTransform &newTransform) |
virtual QString | getActivePatientFolder () const =0 |
QString | generateFilePath (QString folderName, QString ending) |
virtual bool | isPatientValid () const =0 |
virtual DataPtr | importData (QString fileName, QString &infoText)=0 |
virtual void | exportPatient (PATIENT_COORDINATE_SYSTEM externalSpace)=0 |
virtual PresetTransferFunctions3DPtr | getPresetTransferFunctions3D () const =0 |
virtual void | setCenter (const Vector3D ¢er)=0 |
virtual Vector3D | getCenter () const =0 |
current common center point for user viewing. More... | |
virtual void | setOperatingTable (const OperatingTable &ot)=0 |
virtual OperatingTable | getOperatingTable () const =0 |
virtual CLINICAL_VIEW | getClinicalApplication () const =0 |
virtual void | setClinicalApplication (CLINICAL_VIEW application)=0 |
virtual void | autoSave ()=0 |
virtual bool | isNull ()=0 |
virtual void | makeAvailable (const QString &uid, bool available)=0 |
Exclude this data from getDatas() More... | |
Static Public Member Functions | |
static PatientModelServicePtr | getNullObject () |
The virtual patient.
PatientModelService provides access to the Patient Specific Model (PaSM).
Definition at line 85 of file cxPatientModelService.h.
Enumerator | |
---|---|
HideUnavailable | |
AllData |
Definition at line 91 of file cxPatientModelService.h.
|
inlinevirtual |
Definition at line 89 of file cxPatientModelService.h.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
signal |
emitted when center is changed.
|
signal |
|
pure virtual |
Create Data object of given type.
uid must be unique, or contain the string %1 that will be replaced with a running index that makes the uid unique. The same applies to name. An empty name will set name = uid.
Implemented in cx::PatientModelServiceProxy, cx::PatientModelServiceNull, and cx::PatientModelImplService.
boost::shared_ptr< DATA > cx::PatientModelService::createSpecificData | ( | QString | uid, |
QString | name = "" |
||
) |
Definition at line 202 of file cxPatientModelService.h.
|
signal |
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
QString cx::PatientModelService::generateFilePath | ( | QString | folderName, |
QString | ending | ||
) |
Definition at line 66 of file cxPatientModelService.cpp.
|
virtual |
Reimplemented in cx::PatientModelImplService.
Definition at line 45 of file cxPatientModelService.cpp.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
current common center point for user viewing.
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
DataPtr cx::PatientModelService::getData | ( | const QString & | uid | ) | const |
Definition at line 33 of file cxPatientModelService.cpp.
boost::shared_ptr< DATA > cx::PatientModelService::getData | ( | const QString & | uid | ) | const |
Definition at line 196 of file cxPatientModelService.h.
std::map< QString, boost::shared_ptr< DATA > > cx::PatientModelService::getDataOfType |
Definition at line 182 of file cxPatientModelService.h.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Get all defined landmarks. These landmarks are additionally defined in specific coordinate spaces, such as patient and for each Data.
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
static |
Definition at line 25 of file cxPatientModelService.cpp.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
landmark defined in patient space
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
VideoSourcePtr cx::PatientModelService::getStream | ( | const QString & | uid | ) | const |
Convenience function getting a specified stream.
Definition at line 58 of file cxPatientModelService.cpp.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
signal |
emitted when global info about a landmark changed
|
pure virtual |
Exclude this data from getDatas()
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
signal |
|
signal |
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
signal |
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelImplService, cx::PatientModelServiceProxy, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
pure virtual |
Implemented in cx::PatientModelServiceProxy, cx::PatientModelImplService, and cx::PatientModelServiceNull.
|
signal |
|
virtual |
Definition at line 50 of file cxPatientModelService.cpp.
|
signal |