CustusX  15.8
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< 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)
 

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 67 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 258 of file cxUsReconstructionFileMaker.cpp.

QString cx::UsReconstructionFileMaker::createUniqueFolder ( QString  patientFolder,
QString  sessionDescription 
)
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.

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

Definition at line 82 of file cxUsReconstructionFileMaker.h.

void cx::UsReconstructionFileMaker::setReconstructData ( USReconstructInputData  data)
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.


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