Fraxinus
16.5.0-fx-rc9
An IGT application
|
Always provides a PatientModelService. More...
#include <cxPatientModelServiceProxy.h>
Public Member Functions | |
PatientModelServiceProxy (ctkPluginContext *context) | |
virtual | ~PatientModelServiceProxy () |
virtual void | insertData (DataPtr data) |
virtual DataPtr | createData (QString type, QString uid, QString name="") |
virtual std::map< QString, DataPtr > | getData () const |
virtual DataPtr | getData (const QString &uid) const |
virtual LandmarksPtr | getPatientLandmarks () const |
landmark defined in patient space More... | |
virtual std::map< QString, LandmarkProperty > | getLandmarkProperties () const |
virtual void | setLandmarkName (QString uid, QString name) |
virtual void | setLandmarkActive (QString uid, bool active) |
virtual RegistrationHistoryPtr | get_rMpr_History () const |
virtual ActiveDataPtr | getActiveData () const |
virtual CLINICAL_VIEW | getClinicalApplication () const |
virtual void | setClinicalApplication (CLINICAL_VIEW application) |
virtual std::map< QString, VideoSourcePtr > | getStreams () const |
virtual QString | getActivePatientFolder () const |
virtual bool | isPatientValid () const |
virtual DataPtr | importData (QString fileName, QString &infoText) |
virtual void | exportPatient (PATIENT_COORDINATE_SYSTEM externalSpace) |
virtual void | removeData (QString uid) |
virtual PresetTransferFunctions3DPtr | getPresetTransferFunctions3D () const |
virtual void | setCenter (const Vector3D ¢er) |
virtual Vector3D | getCenter () const |
current common center point for user viewing. More... | |
virtual QString | addLandmark () |
virtual void | autoSave () |
virtual bool | isNull () |
Public Member Functions inherited from cx::PatientModelService | |
virtual | ~PatientModelService () |
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="") |
VideoSourcePtr | getStream (const QString &uid) const |
Convenience function getting a specified stream. More... | |
virtual Transform3D | get_rMpr () const |
virtual void | updateRegistration_rMpr (const QDateTime &oldTime, const RegistrationTransform &newTransform, bool continuous) |
QString | generateFilePath (QString folderName, QString ending) |
Static Public Member Functions | |
static PatientModelServicePtr | create (ctkPluginContext *pluginContext) |
Static Public Member Functions inherited from cx::PatientModelService | |
static PatientModelServicePtr | getNullObject () |
Additional Inherited Members | |
Signals inherited from cx::PatientModelService | |
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 () |
Always provides a PatientModelService.
Use the Proxy design pattern. Uses ServiceTrackerListener to either provide an implementation of PatientModelService or the null object (PatientModelServiceNull)
Definition at line 57 of file cxPatientModelServiceProxy.h.
cx::PatientModelServiceProxy::PatientModelServiceProxy | ( | ctkPluginContext * | context | ) |
Definition at line 50 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Definition at line 57 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 206 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 151 of file cxPatientModelServiceProxy.cpp.
|
static |
Definition at line 45 of file cxPatientModelServiceProxy.cpp.
|
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.
Implements cx::PatientModelService.
Definition at line 121 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 181 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 216 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 221 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 166 of file cxPatientModelServiceProxy.cpp.
|
virtual |
current common center point for user viewing.
Implements cx::PatientModelService.
Definition at line 201 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 226 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 126 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Definition at line 131 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Get all defined landmarks. These landmarks are additionally defined in specific coordinate spaces, such as patient and for each Data.
Implements cx::PatientModelService.
Definition at line 141 of file cxPatientModelServiceProxy.cpp.
|
virtual |
landmark defined in patient space
Implements cx::PatientModelService.
Definition at line 136 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 191 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 161 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 176 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 116 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 156 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 171 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 186 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 196 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 231 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 211 of file cxPatientModelServiceProxy.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 146 of file cxPatientModelServiceProxy.cpp.