34 #ifndef CXDATAMANAGERIMPL_H_
35 #define CXDATAMANAGERIMPL_H_
37 #include "org_custusx_core_patientmodel_Export.h"
49 #include "boost/scoped_ptr.hpp"
82 virtual std::map<QString, ImagePtr> getImages()
const;
85 DataPtr loadData(
const QString& uid,
const QString& path);
86 std::map<QString, DataPtr> getData()
const;
87 DataPtr getData(
const QString& uid)
const;
92 virtual std::map<QString, MeshPtr> getMeshes()
const;
96 virtual void setCenter(
const Vector3D& center);
98 virtual QString addLandmark();
99 virtual void setLandmarkNames(std::vector<QString> names);
100 virtual void setLandmarkName(QString uid, QString name);
101 virtual void setLandmarkActive(QString uid,
bool active);
102 virtual std::map<QString, LandmarkProperty> getLandmarkProperties()
const;
103 virtual void clear();
104 virtual void removeData(
const QString& uid, QString basePath);
107 virtual void addXml(QDomNode& parentNode);
108 virtual void parseXml(QDomNode& datamangerNode, QString absolutePath = QString());
110 virtual CLINICAL_VIEW getClinicalApplication()
const;
111 virtual void setClinicalApplication(CLINICAL_VIEW application);
120 virtual void generateUidAndName(QString* _uid, QString* _name);
129 void deleteFiles(
DataPtr data, QString basePath);
131 DataPtr loadData(QDomElement node, QString rootPath);
132 int findUniqueUidNumber(QString uidBase)
const;
134 void readClinicalView();
146 QDir findRelativePath(QDomElement node, QString rootPath);
147 QString findPath(QDomElement node);
148 QString findAbsolutePath(QDir relativePath, QString rootPath);
150 void settingsChangedSlot(QString key);
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
DataFactoryPtr mDataFactory
boost::shared_ptr< class RegistrationHistory > RegistrationHistoryPtr
std::map< QString, VideoSourcePtr > mStreams
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
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.
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::map< QString, LandmarkProperty > LandmarkPropertyMap
CLINICAL_VIEW mClinicalApplication
LandmarkPropertyMap mLandmarkProperties
uid and name
SpaceProviderPtr mSpaceProvider
boost::shared_ptr< class DataFactory > DataFactoryPtr
std::map< QString, VideoSourcePtr > StreamMap