CustusX
18.04-rc6
An IGT application
|
#include <cxDataManagerImpl.h>
Public Member Functions | |
virtual | ~DataManagerImpl () |
void | setSpaceProvider (SpaceProviderPtr spaceProvider) |
void | setDataFactory (DataFactoryPtr dataFactory) |
virtual VideoSourcePtr | getStream (const QString &uid) const |
virtual StreamMap | getStreams () const |
virtual void | loadStream (VideoSourcePtr stream) |
virtual std::map< QString, ImagePtr > | getImages () const |
void | loadData (DataPtr data) |
DataPtr | loadData (const QString &uid, const QString &path) |
std::map< QString, DataPtr > | getData () const |
DataPtr | getData (const QString &uid) const |
virtual SpaceProviderPtr | getSpaceProvider () |
virtual DataFactoryPtr | getDataFactory () |
virtual std::map< QString, MeshPtr > | getMeshes () const |
virtual Vector3D | getCenter () const |
current common center point for user viewing. More... | |
virtual void | setCenter (const Vector3D ¢er) |
void | setOperatingTable (const OperatingTable &ot) |
OperatingTable | getOperatingTable () const |
virtual QString | addLandmark () |
virtual void | deleteLandmarks () |
virtual void | setLandmarkNames (std::vector< QString > names) |
virtual void | setLandmarkName (QString uid, QString name) |
virtual void | setLandmarkActive (QString uid, bool active) |
virtual std::map< QString, LandmarkProperty > | getLandmarkProperties () const |
virtual void | clear () |
remove all stuff from manager More... | |
virtual void | removeData (const QString &uid, QString basePath) |
remove data from datamanger, emit signal More... | |
virtual void | addXml (QDomNode &parentNode) |
adds xml information about the datamanger and its variabels More... | |
virtual void | parseXml (QDomNode &datamangerNode, QString absolutePath=QString()) |
Use a XML node to load data. More... | |
virtual CLINICAL_VIEW | getClinicalApplication () const |
virtual void | setClinicalApplication (CLINICAL_VIEW application) |
virtual Transform3D | get_rMpr () const |
get the patient registration transform More... | |
virtual void | set_rMpr (const Transform3D &val) |
set the transform from patient to reference space More... | |
virtual RegistrationHistoryPtr | get_rMpr_History () const |
virtual LandmarksPtr | getPatientLandmarks () |
virtual PresetTransferFunctions3DPtr | getPresetTransferFunctions3D () const |
virtual void | generateUidAndName (QString *_uid, QString *_name) |
Public Member Functions inherited from cx::DataManager | |
virtual ImagePtr | getImage (const QString &uid) const |
virtual MeshPtr | getMesh (const QString &uid) const |
virtual TrackedStreamPtr | getTrackedStream (const QString &uid) const |
Static Public Member Functions | |
static DataManagerImplPtr | create (ActiveDataPtr activeData) |
Protected Member Functions | |
DataManagerImpl (ActiveDataPtr activeData) | |
void | deleteFiles (DataPtr data, QString basePath) |
DataPtr | loadData (QDomElement node, QString rootPath) |
int | findUniqueUidNumber (QString uidBase) const |
void | readClinicalView () |
Protected Member Functions inherited from cx::DataManager | |
DataManager () | |
virtual | ~DataManager () |
Protected Attributes | |
std::map< QString, VideoSourcePtr > | mStreams |
DataMap | mData |
Vector3D | mCenter |
OperatingTable | mOperatingTable |
CLINICAL_VIEW | mClinicalApplication |
LandmarkPropertyMap | mLandmarkProperties |
uid and name More... | |
RegistrationHistoryPtr | m_rMpr_History |
transform from the patient reference to the reference, along with historical data. More... | |
LandmarksPtr | mPatientLandmarks |
in space patient reference. More... | |
PresetTransferFunctions3DPtr | mPresetTransferFunctions3D |
SpaceProviderPtr | mSpaceProvider |
DataFactoryPtr | mDataFactory |
ActiveDataPtr | mActiveData |
Additional Inherited Members | |
Public Types inherited from cx::DataManager | |
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 inherited from cx::DataManager | |
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... | |
Default implementation of DataManager.
Used by CustusX.
Definition at line 47 of file cxDataManagerImpl.h.
|
virtual |
Definition at line 69 of file cxDataManagerImpl.cpp.
|
protected |
Definition at line 55 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 170 of file cxDataManagerImpl.cpp.
|
virtual |
adds xml information about the datamanger and its variabels
Implements cx::DataManager.
Definition at line 297 of file cxDataManagerImpl.cpp.
|
virtual |
remove all stuff from manager
Implements cx::DataManager.
Definition at line 93 of file cxDataManagerImpl.cpp.
|
static |
Definition at line 48 of file cxDataManagerImpl.cpp.
|
protected |
Definition at line 578 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 186 of file cxDataManagerImpl.cpp.
|
protected |
Definition at line 521 of file cxDataManagerImpl.cpp.
|
virtual |
Insert uid and name containing %1 placeholders for insertion of unique integers. Return unique values. If input does not contain %1, nothing happens.
Implements cx::DataManager.
Definition at line 544 of file cxDataManagerImpl.cpp.
|
virtual |
get the patient registration transform
Implements cx::DataManager.
Definition at line 600 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 610 of file cxDataManagerImpl.cpp.
|
virtual |
current common center point for user viewing.
Implements cx::DataManager.
Definition at line 135 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 486 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 266 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 258 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 88 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 271 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 198 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 284 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 153 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 107 of file cxDataManagerImpl.cpp.
|
virtual |
< create from filename, create trivial document of type name and root node if no file exists.
Reimplemented from cx::DataManager.
Definition at line 615 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 83 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 113 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 120 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 237 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 209 of file cxDataManagerImpl.cpp.
|
protected |
Definition at line 411 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 125 of file cxDataManagerImpl.cpp.
|
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. |
Implements cx::DataManager.
Definition at line 335 of file cxDataManagerImpl.cpp.
|
protected |
Definition at line 511 of file cxDataManagerImpl.cpp.
|
virtual |
remove data from datamanger, emit signal
Implements cx::DataManager.
Definition at line 565 of file cxDataManagerImpl.cpp.
|
virtual |
set the transform from patient to reference space
Implements cx::DataManager.
Definition at line 605 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 139 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 491 of file cxDataManagerImpl.cpp.
void cx::DataManagerImpl::setDataFactory | ( | DataFactoryPtr | dataFactory | ) |
Definition at line 78 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 203 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 192 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 159 of file cxDataManagerImpl.cpp.
|
virtual |
Implements cx::DataManager.
Definition at line 147 of file cxDataManagerImpl.cpp.
void cx::DataManagerImpl::setSpaceProvider | ( | SpaceProviderPtr | spaceProvider | ) |
Definition at line 73 of file cxDataManagerImpl.cpp.
|
protected |
transform from the patient reference to the reference, along with historical data.
Definition at line 121 of file cxDataManagerImpl.h.
|
protected |
Definition at line 127 of file cxDataManagerImpl.h.
|
protected |
Definition at line 110 of file cxDataManagerImpl.h.
|
protected |
Definition at line 112 of file cxDataManagerImpl.h.
|
protected |
Definition at line 109 of file cxDataManagerImpl.h.
|
protected |
Definition at line 126 of file cxDataManagerImpl.h.
|
protected |
uid and name
Definition at line 120 of file cxDataManagerImpl.h.
|
protected |
Definition at line 111 of file cxDataManagerImpl.h.
|
protected |
in space patient reference.
Definition at line 122 of file cxDataManagerImpl.h.
|
mutableprotected |
Definition at line 123 of file cxDataManagerImpl.h.
|
protected |
Definition at line 125 of file cxDataManagerImpl.h.
|
protected |
Definition at line 108 of file cxDataManagerImpl.h.