12 #ifndef CXUSRECONSTRUCTIONFILEMAKER_H_ 13 #define CXUSRECONSTRUCTIONFILEMAKER_H_ 15 #include "cxResourceExport.h" 54 static QString createUniqueFolder(QString patientFolder, QString sessionDescription);
55 static QString createFolder(QString patientFolder, QString sessionDescription);
61 QString writeToNewFolder(QString path,
bool compression);
70 std::vector<cx::TimeInfo> imageTimestamps,
72 std::map<double, ToolPositionMetadata> trackerRecordedMetadata,
73 std::map<double, ToolPositionMetadata> referenceRecordedMetadata,
88 bool writeUSTimestamps(QString reconstructionFolder, QString session, std::vector<TimedPosition> ts);
89 bool writeUSTransforms(QString reconstructionFolder, QString session, std::vector<TimedPosition> ts);
90 bool writeTrackerMetadata(QString reconstructionFolder, QString session,
const std::map<double, ToolPositionMetadata>& ts);
91 bool writeReferenceMetadata(QString reconstructionFolder, QString session,
const std::map<double, ToolPositionMetadata>& ts);
92 bool writeMetadata(QString filename,
const std::map<double, ToolPositionMetadata>& ts, QString type);
93 bool writeTrackerTransforms(QString reconstructionFolder, QString session, std::vector<TimedPosition> ts);
94 bool writeTrackerTimestamps(QString reconstructionFolder, QString session, std::vector<TimedPosition> ts);
95 void writeProbeConfiguration(QString reconstructionFolder, QString session,
ProbeDefinition data, QString uid);
96 void writeUSImages(QString path, ImageDataContainerPtr images,
bool compression, std::vector<TimedPosition> pos);
98 void writeREADMEFile(QString reconstructionFolder, QString session);
99 bool writeTimestamps(QString filename, std::vector<TimedPosition> ts, QString type, TimeStampType timeStampType = Modified);
101 bool writeTransforms(QString filename, std::vector<TimedPosition> ts, QString type);
102 static bool findNewSubfolder(QString subfolderAbsolutePath);
107 QString mSessionDescription;
QString getSessionName() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Handles writing files in the format the us reconstruction algorithm wants them.
boost::shared_ptr< class SavingVideoRecorder > SavingVideoRecorderPtr
boost::shared_ptr< QTextStream > QTextStreamPtr
Definition of characteristics for an Ultrasound Probe Sector.
boost::shared_ptr< class UsReconstructionFileMaker > UsReconstructionFileMakerPtr
void setReconstructData(USReconstructInputData data)
std::map< double, Transform3D > TimedTransformMap
boost::shared_ptr< class ImageDataContainer > ImageDataContainerPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr