Fraxinus
2023.01.05-dev+develop.0da12
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< cx::TimeInfo > imageTimestamps, TimedTransformMap trackerRecordedData, std::map< double, ToolPositionMetadata > trackerRecordedMetadata, std::map< double, ToolPositionMetadata > referenceRecordedMetadata, ToolPtr tool, QString streamUid, 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 48 of file cxUsReconstructionFileMaker.h.
cx::UsReconstructionFileMaker::UsReconstructionFileMaker | ( | QString | sessionDescription | ) |
Definition at line 40 of file cxUsReconstructionFileMaker.cpp.
cx::UsReconstructionFileMaker::~UsReconstructionFileMaker | ( | ) |
Definition at line 45 of file cxUsReconstructionFileMaker.cpp.
|
static |
Definition at line 302 of file cxUsReconstructionFileMaker.cpp.
|
static |
Definition at line 282 of file cxUsReconstructionFileMaker.cpp.
USReconstructInputData cx::UsReconstructionFileMaker::getReconstructData | ( | ) |
Definition at line 49 of file cxUsReconstructionFileMaker.cpp.
USReconstructInputData cx::UsReconstructionFileMaker::getReconstructData | ( | cx::ImageDataContainerPtr | imageData, |
std::vector< cx::TimeInfo > | imageTimestamps, | ||
TimedTransformMap | trackerRecordedData, | ||
std::map< double, ToolPositionMetadata > | trackerRecordedMetadata, | ||
std::map< double, ToolPositionMetadata > | referenceRecordedMetadata, | ||
ToolPtr | tool, | ||
QString | streamUid, | ||
bool | writeColor, | ||
Transform3D | rMpr | ||
) |
If writeColor set to true, colors will be saved even if settings is set to 8 bit
|
inline |
Definition at line 63 of file cxUsReconstructionFileMaker.h.
|
inline |
Definition at line 78 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 396 of file cxUsReconstructionFileMaker.cpp.