59 std::map<QString, DataPtr> all = this->
getData();
60 std::map<QString, DataPtr>::const_iterator iter = all.find(uid);
61 if (iter == all.end())
84 std::map<QString, VideoSourcePtr> streams = this->
getStreams();
85 if (streams.count(uid))
86 return streams.find(uid)->second;
93 QDir().mkpath(folder);
95 QString filename = QDateTime::currentDateTime().toString(format) +
"." + ending;
97 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
virtual QString getActivePatientFolder() const =0
virtual void updateRegistration_rMpr(const QDateTime &oldTime, const RegistrationTransform &newTransform, bool continuous)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
VideoSourcePtr getStream(const QString &uid) const
Convenience function getting a specified stream.
Null Object Pattern for Registration service.
virtual std::map< QString, DataPtr > getData() const =0
virtual Transform3D get_rMpr() const