NorMIT-nav  18.04
An IGT application
cx::UsReconstructionFileMaker Class Reference

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)
 

Detailed Description

Handles writing files in the format the us reconstruction algorithm wants them.

See also
UsReconstructionFileReader
Date
Dec 17, 2010
Author
Janne Beate Bakeng, SINTEF

Definition at line 48 of file cxUsReconstructionFileMaker.h.

Constructor & Destructor Documentation

cx::UsReconstructionFileMaker::UsReconstructionFileMaker ( QString  sessionDescription)

Definition at line 41 of file cxUsReconstructionFileMaker.cpp.

cx::UsReconstructionFileMaker::~UsReconstructionFileMaker ( )

Definition at line 46 of file cxUsReconstructionFileMaker.cpp.

Member Function Documentation

QString cx::UsReconstructionFileMaker::createFolder ( QString  patientFolder,
QString  sessionDescription 
)
static

Definition at line 303 of file cxUsReconstructionFileMaker.cpp.

QString cx::UsReconstructionFileMaker::createUniqueFolder ( QString  patientFolder,
QString  sessionDescription 
)
static

Definition at line 283 of file cxUsReconstructionFileMaker.cpp.

USReconstructInputData cx::UsReconstructionFileMaker::getReconstructData ( )

Definition at line 50 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

Create and return the structure that would have been read by UsReconstructFileReader, if written from this object.

Definition at line 59 of file cxUsReconstructionFileMaker.cpp.

QString cx::UsReconstructionFileMaker::getSessionName ( ) const
inline

Definition at line 63 of file cxUsReconstructionFileMaker.h.

void cx::UsReconstructionFileMaker::setReconstructData ( USReconstructInputData  data)
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 397 of file cxUsReconstructionFileMaker.cpp.


The documentation for this class was generated from the following files: