CustusX
15.8
An IGT application
|
#include <cxPatientModelImplService.h>
Public Member Functions | |
PatientModelImplService (ctkPluginContext *context) | |
virtual | ~PatientModelImplService () |
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 Transform3D | get_rMpr () const |
get the patient registration transform More... | |
virtual RegistrationHistoryPtr | get_rMpr_History () const |
virtual ImagePtr | getActiveImage () const |
used for system state More... | |
virtual void | setActiveImage (ImagePtr activeImage) |
used for system state More... | |
virtual CLINICAL_VIEW | getClinicalApplication () const |
virtual void | setClinicalApplication (CLINICAL_VIEW application) |
virtual void | loadData (DataPtr data) |
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 (bool niftiFormat) |
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="") |
QString | getActiveImageUid () |
VideoSourcePtr | getStream (const QString &uid) const |
Convenience function getting a specified stream. More... | |
virtual void | updateRegistration_rMpr (const QDateTime &oldTime, const RegistrationTransform &newTransform) |
QString | generateFilePath (QString folderName, QString ending) |
Additional Inherited Members | |
Signals inherited from cx::PatientModelService | |
void | centerChanged () |
emitted when center is changed. More... | |
void | dataAddedOrRemoved () |
void | activeImageChanged (const QString &uId) |
void | landmarkPropertiesChanged () |
emitted when global info about a landmark changed More... | |
void | clinicalApplicationChanged () |
void | rMprChanged () |
void | streamLoaded () |
void | patientChanged () |
Static Public Member Functions inherited from cx::PatientModelService | |
static PatientModelServicePtr | getNullObject () |
Implementation of PatientModelService.
Definition at line 56 of file cxPatientModelImplService.h.
cx::PatientModelImplService::PatientModelImplService | ( | ctkPluginContext * | context | ) |
Definition at line 55 of file cxPatientModelImplService.cpp.
|
virtual |
Definition at line 115 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 259 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 178 of file cxPatientModelImplService.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 139 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 233 of file cxPatientModelImplService.cpp.
|
virtual |
get the patient registration transform
Reimplemented from cx::PatientModelService.
Definition at line 173 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 269 of file cxPatientModelImplService.cpp.
|
virtual |
used for system state
Implements cx::PatientModelService.
Definition at line 188 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 218 of file cxPatientModelImplService.cpp.
|
virtual |
current common center point for user viewing.
Implements cx::PatientModelService.
Definition at line 253 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 198 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 144 of file cxPatientModelImplService.cpp.
|
virtual |
Definition at line 149 of file cxPatientModelImplService.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 163 of file cxPatientModelImplService.cpp.
|
virtual |
landmark defined in patient space
Implements cx::PatientModelService.
Definition at line 158 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 243 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 213 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 228 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 131 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 183 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 223 of file cxPatientModelImplService.cpp.
|
virtual |
Definition at line 208 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 238 of file cxPatientModelImplService.cpp.
|
virtual |
used for system state
Implements cx::PatientModelService.
Definition at line 193 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 248 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 203 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 264 of file cxPatientModelImplService.cpp.
|
virtual |
Implements cx::PatientModelService.
Definition at line 168 of file cxPatientModelImplService.cpp.