60 std::map<QString, DataPtr>::const_iterator iter = all.find(uid);
61 if (iter == all.end())
75 if(!newTransform.
mTemp)
81 std::map<QString, VideoSourcePtr> streams = this->
getStreams();
82 if (streams.count(uid))
83 return streams.find(uid)->second;
90 QDir().mkpath(folder);
92 QString filename = QDateTime::currentDateTime().toString(format) +
"." + ending;
94 return folder+filename;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
static PatientModelServicePtr getNullObject()
virtual ActiveDataPtr getActiveData() const =0
QString generateFilePath(QString folderName, QString ending)
QString timestampSecondsFormat()
virtual void autoSave()=0
boost::shared_ptr< class Data > DataPtr
virtual std::map< QString, VideoSourcePtr > getStreams() const =0
virtual RegistrationHistoryPtr get_rMpr_History() const =0
DataPtr getData(const QString &uid) const
virtual QString getActivePatientFolder() const =0
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
virtual void updateRegistration_rMpr(const QDateTime &oldTime, const RegistrationTransform &newTransform)
VideoSourcePtr getStream(const QString &uid) const
Convenience function getting a specified stream.
virtual std::map< QString, DataPtr > getDatas(DataFilter filter=HideUnavailable) const =0
Null Object Pattern for Registration service.
virtual Transform3D get_rMpr() const
Namespace for all CustusX production code.