![]() |
CustusX
15.8
An IGT application
|
Handles writing files in the format the us reconstruction algorithm wants them. More...
#include <cxUsReconstructionFileMaker.h>
Public Member Functions | |
| UsReconstructionFileMaker (QString sessionDescription) | |
| ~UsReconstructionFileMaker () | |
| USReconstructInputData | getReconstructData () |
| QString | writeToNewFolder (QString path, bool compression) |
| QString | getSessionName () const |
| USReconstructInputData | getReconstructData (cx::ImageDataContainerPtr imageData, std::vector< double > imageTimestamps, TimedTransformMap trackerRecordedData, ToolPtr tool, bool writeColor, Transform3D rMpr) |
| void | setReconstructData (USReconstructInputData data) |
Static Public Member Functions | |
| static QString | createUniqueFolder (QString patientFolder, QString sessionDescription) |
| static QString | createFolder (QString patientFolder, QString sessionDescription) |
Handles writing files in the format the us reconstruction algorithm wants them.
Definition at line 67 of file cxUsReconstructionFileMaker.h.
| cx::UsReconstructionFileMaker::UsReconstructionFileMaker | ( | QString | sessionDescription | ) |
Definition at line 61 of file cxUsReconstructionFileMaker.cpp.
| cx::UsReconstructionFileMaker::~UsReconstructionFileMaker | ( | ) |
Definition at line 66 of file cxUsReconstructionFileMaker.cpp.
|
static |
Definition at line 258 of file cxUsReconstructionFileMaker.cpp.
|
static |
Definition at line 238 of file cxUsReconstructionFileMaker.cpp.
| USReconstructInputData cx::UsReconstructionFileMaker::getReconstructData | ( | ) |
Definition at line 70 of file cxUsReconstructionFileMaker.cpp.
| USReconstructInputData cx::UsReconstructionFileMaker::getReconstructData | ( | cx::ImageDataContainerPtr | imageData, |
| std::vector< double > | imageTimestamps, | ||
| TimedTransformMap | trackerRecordedData, | ||
| ToolPtr | tool, | ||
| bool | writeColor, | ||
| Transform3D | rMpr | ||
| ) |
If writeColor set to true, colors will be saved even if settings is set to 8 bit
Create and return the structure that would have been read by UsReconstructFileReader, if written from this object.
Definition at line 79 of file cxUsReconstructionFileMaker.cpp.
|
inline |
Definition at line 82 of file cxUsReconstructionFileMaker.h.
|
inline |
Definition at line 94 of file cxUsReconstructionFileMaker.h.
| QString cx::UsReconstructionFileMaker::writeToNewFolder | ( | QString | path, |
| bool | compression | ||
| ) |
Write data to disk. Assume videoRecorder has saved images in another location, reuse filenames from that object to rewrite into new location.
Definition at line 352 of file cxUsReconstructionFileMaker.cpp.