Fraxinus  16.5.0-fx-rc8
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 69 of file cxUsReconstructionFileMaker.h.

Constructor & Destructor Documentation

cx::UsReconstructionFileMaker::UsReconstructionFileMaker ( QString  sessionDescription)

Definition at line 61 of file cxUsReconstructionFileMaker.cpp.

cx::UsReconstructionFileMaker::~UsReconstructionFileMaker ( )

Definition at line 66 of file cxUsReconstructionFileMaker.cpp.

Member Function Documentation

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

Definition at line 323 of file cxUsReconstructionFileMaker.cpp.

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

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

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

Definition at line 84 of file cxUsReconstructionFileMaker.h.

void cx::UsReconstructionFileMaker::setReconstructData ( USReconstructInputData  data)
inline

Definition at line 99 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 417 of file cxUsReconstructionFileMaker.cpp.


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