13 #ifndef CXDATAMANAGERIMPL_H_ 14 #define CXDATAMANAGERIMPL_H_ 16 #include "org_custusx_core_patientmodel_Export.h" 28 #include "boost/scoped_ptr.hpp" 62 virtual std::map<QString, ImagePtr> getImages()
const;
65 DataPtr loadData(
const QString& uid,
const QString& path);
66 std::map<QString, DataPtr> getData()
const;
67 DataPtr getData(
const QString& uid)
const;
72 virtual std::map<QString, MeshPtr> getMeshes()
const;
76 virtual void setCenter(
const Vector3D& center);
80 virtual QString addLandmark();
81 virtual void deleteLandmarks();
82 virtual void setLandmarkNames(std::vector<QString> names);
83 virtual void setLandmarkName(QString uid, QString name);
84 virtual void setLandmarkActive(QString uid,
bool active);
85 virtual std::map<QString, LandmarkProperty> getLandmarkProperties()
const;
87 virtual void removeData(
const QString& uid, QString basePath);
90 virtual void addXml(QDomNode& parentNode);
91 virtual void parseXml(QDomNode& datamangerNode, QString absolutePath = QString());
93 virtual CLINICAL_VIEW getClinicalApplication()
const;
94 virtual void setClinicalApplication(CLINICAL_VIEW application);
103 virtual void generateUidAndName(QString* _uid, QString* _name);
113 void deleteFiles(
DataPtr data, QString basePath);
115 DataPtr loadData(QDomElement node, QString rootPath);
116 int findUniqueUidNumber(QString uidBase)
const;
118 void readClinicalView();
131 QDir findRelativePath(QDomElement node, QString rootPath);
132 QString findPath(QDomElement node);
133 QString findAbsolutePath(QDir relativePath, QString rootPath);
135 void settingsChangedSlot(QString key);
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
DataFactoryPtr mDataFactory
boost::shared_ptr< class FileManagerService > FileManagerServicePtr
FileManagerServicePtr mFileManagerService
boost::shared_ptr< class RegistrationHistory > RegistrationHistoryPtr
std::map< QString, VideoSourcePtr > mStreams
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
OperatingTable mOperatingTable
boost::shared_ptr< class TransferFunctions3DPresets > PresetTransferFunctions3DPtr
boost::shared_ptr< class DataManagerImpl > DataManagerImplPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
ActiveDataPtr mActiveData
boost::shared_ptr< class DataManager > DataServicePtr
boost::shared_ptr< class Landmarks > LandmarksPtr
PresetTransferFunctions3DPtr mPresetTransferFunctions3D
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
RegistrationHistoryPtr m_rMpr_History
transform from the patient reference to the reference, along with historical data.
LandmarksPtr mPatientLandmarks
in space patient reference.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::map< QString, LandmarkProperty > LandmarkPropertyMap
CLINICAL_VIEW mClinicalApplication
The OperatingTable class.
LandmarkPropertyMap mLandmarkProperties
uid and name
SpaceProviderPtr mSpaceProvider
boost::shared_ptr< class DataFactory > DataFactoryPtr
Namespace for all CustusX production code.
std::map< QString, VideoSourcePtr > StreamMap