39 std::map<QString, DataPtr>::const_iterator iter = all.find(uid);
40 if (iter == all.end())
54 if(!newTransform.
mTemp)
60 std::map<QString, VideoSourcePtr> streams = this->
getStreams();
61 if (streams.count(uid))
62 return streams.find(uid)->second;
69 QDir().mkpath(folder);
71 QString filename = QDateTime::currentDateTime().toString(format) +
"." + ending;
73 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.