CustusX
22.04-rc5
An IGT application
|
#include <cxDataManager.h>
Public Types | |
typedef std::map< QString, DataPtr > | DataMap |
typedef std::map< QString, ImagePtr > | ImagesMap |
typedef std::map< QString, MeshPtr > | MeshMap |
typedef std::map< QString, VideoSourcePtr > | StreamMap |
Signals | |
void | centerChanged () |
emitted when center is changed. More... | |
void | operatingTableChanged () |
void | dataAddedOrRemoved () |
void | landmarkPropertiesChanged () |
emitted when global info about a landmark changed More... | |
void | clinicalApplicationChanged () |
void | streamLoaded () |
void | rMprChanged () |
emitted when the transformation between patient reference and (data) reference is set More... | |
Public Member Functions | |
virtual VideoSourcePtr | getStream (const QString &uid) const =0 |
virtual StreamMap | getStreams () const =0 |
virtual void | loadStream (VideoSourcePtr stream)=0 |
virtual std::map< QString, ImagePtr > | getImages () const =0 |
virtual std::map< QString, MeshPtr > | getMeshes () const =0 |
virtual void | loadData (DataPtr data, bool overWrite=false)=0 |
virtual DataPtr | loadData (const QString &uid, const QString &path)=0 |
virtual std::map< QString, DataPtr > | getData () const =0 |
virtual DataPtr | getData (const QString &uid) const =0 |
virtual SpaceProviderPtr | getSpaceProvider ()=0 |
virtual DataFactoryPtr | getDataFactory ()=0 |
virtual Vector3D | getCenter () const =0 |
current common center point for user viewing. More... | |
virtual void | setCenter (const Vector3D ¢er)=0 |
virtual void | setOperatingTable (const OperatingTable &ot)=0 |
virtual OperatingTable | getOperatingTable () const =0 |
virtual PresetTransferFunctions3DPtr | getPresetTransferFunctions3D () const |
virtual QString | addLandmark ()=0 |
virtual void | deleteLandmarks ()=0 |
virtual void | setLandmarkNames (std::vector< QString > names)=0 |
virtual void | setLandmarkName (QString uid, QString name)=0 |
virtual void | setLandmarkActive (QString uid, bool active)=0 |
virtual LandmarkPropertyMap | getLandmarkProperties () const =0 |
virtual CLINICAL_VIEW | getClinicalApplication () const =0 |
virtual void | setClinicalApplication (CLINICAL_VIEW application)=0 |
virtual void | clear ()=0 |
remove all stuff from manager More... | |
virtual void | removeData (const QString &uid, QString basePath)=0 |
remove data from datamanger, emit signal More... | |
virtual void | addXml (QDomNode &parentNode)=0 |
adds xml information about the datamanger and its variabels More... | |
virtual void | parseXml (QDomNode &datamangerNode, QString absolutePath=QString())=0 |
Use a XML node to load data. More... | |
virtual Transform3D | get_rMpr () const =0 |
get the patient registration transform More... | |
virtual void | set_rMpr (const Transform3D &val)=0 |
set the transform from patient to reference space More... | |
virtual RegistrationHistoryPtr | get_rMpr_History () const =0 |
virtual LandmarksPtr | getPatientLandmarks ()=0 |
virtual void | generateUidAndName (QString *_uid, QString *_name)=0 |
virtual ImagePtr | getImage (const QString &uid) const |
virtual MeshPtr | getMesh (const QString &uid) const |
virtual TrackedStreamPtr | getTrackedStream (const QString &uid) const |
Protected Member Functions | |
DataManager () | |
virtual | ~DataManager () |
Interface for a manager of data objects.
Simply calling instance() will instantiate the default manager DataManagerImpl. It is also possible to subclass and use setInstance() to set another type.
Definition at line 48 of file cxDataManager.h.
typedef std::map<QString, DataPtr> cx::DataManager::DataMap |
Definition at line 52 of file cxDataManager.h.
typedef std::map<QString, ImagePtr> cx::DataManager::ImagesMap |
Definition at line 53 of file cxDataManager.h.
typedef std::map<QString, MeshPtr> cx::DataManager::MeshMap |
Definition at line 54 of file cxDataManager.h.
typedef std::map<QString, VideoSourcePtr> cx::DataManager::StreamMap |
Definition at line 55 of file cxDataManager.h.
|
protected |
Definition at line 22 of file cxDataManager.cpp.
|
protectedvirtual |
Definition at line 26 of file cxDataManager.cpp.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
adds xml information about the datamanger and its variabels
Implemented in cx::DataManagerImpl.
|
signal |
emitted when center is changed.
|
pure virtual |
remove all stuff from manager
Implemented in cx::DataManagerImpl.
|
signal |
|
signal |
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
get the patient registration transform
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
current common center point for user viewing.
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
virtual |
Definition at line 35 of file cxDataManager.cpp.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
virtual |
Definition at line 40 of file cxDataManager.cpp.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
virtual |
Reimplemented in cx::DataManagerImpl.
Definition at line 30 of file cxDataManager.cpp.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
virtual |
Definition at line 45 of file cxDataManager.cpp.
|
signal |
emitted when global info about a landmark changed
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
signal |
|
pure virtual |
Use a XML node to load data.
datamangerNode | A XML data representation of the DataManager. |
absolutePath | Absolute path to the data elements. Used together with the relative paths stored in the filePath elements. |
Implemented in cx::DataManagerImpl.
|
pure virtual |
remove data from datamanger, emit signal
Implemented in cx::DataManagerImpl.
|
signal |
emitted when the transformation between patient reference and (data) reference is set
|
pure virtual |
set the transform from patient to reference space
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
pure virtual |
Implemented in cx::DataManagerImpl.
|
signal |