GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ConversionLsmToMegaThread Class Reference

#include <Code/GUI/lib/ConversionLsmToMegaThread.h>

Inheritance diagram for ConversionLsmToMegaThread:
Inheritance graph
[legend]
Collaboration diagram for ConversionLsmToMegaThread:
Collaboration graph
[legend]

Signals

void ConversionTerminatedSent ()
 
void InitialisationProgressSent ()
 
void ProgressSent ()
 

Public Member Functions

 ConversionLsmToMegaThread ()
 Constructor. More...
 
void ExportWithReimplemented (std::string iMegaPath)
 Start the conversion to MegaCapture. More...
 
int GetNumberOfPoints ()
 Returns the number of signals to be sent for the progress bar. More...
 
void SetBaseName (std::string iBaseName)
 Set the base name of the LSM file to convert. More...
 
void SetLsmPath (std::string iLsmPath)
 Set the path to the LSM file to convert and initialise LSM reader. More...
 
void SetMegaPath (std::string iMegaPath)
 Set the path of the MegaCapture file to create. More...
 
void SetOutputFileType (const GoFigure::FileType &iFileType)
 Set the output file type. More...
 
virtual ~ConversionLsmToMegaThread ()
 Destructor. More...
 

Protected Member Functions

void run ()
 Start multithread process (call when parameters are set up properly) More...
 

Private Member Functions

 ConversionLsmToMegaThread (const ConversionLsmToMegaThread &)
 
ConversionLsmToMegaThread operator= (const ConversionLsmToMegaThread &)
 

Private Attributes

std::string m_BaseName
 
unsigned int m_Column
 
unsigned int m_Dim
 
GoFigure::FileType m_FileType
 
std::string m_LsmPath
 
std::vector< vtkLSMReader * > m_LSMReaders
 
std::string m_MegaPath
 
unsigned int m_NumberOfChannels
 
unsigned int m_NumberOfTimePoints
 
unsigned int m_Plaque
 
unsigned int m_Row
 
double m_XOverlap
 
unsigned int m_XTile
 
double m_YOverlap
 
unsigned int m_YTile
 
double m_ZOverlap
 
unsigned int m_ZTile
 

Detailed Description

Definition at line 48 of file ConversionLsmToMegaThread.h.

Constructor & Destructor Documentation

ConversionLsmToMegaThread::ConversionLsmToMegaThread ( )

Constructor.

Definition at line 60 of file ConversionLsmToMegaThread.cxx.

ConversionLsmToMegaThread::~ConversionLsmToMegaThread ( )
virtual

Destructor.

Definition at line 70 of file ConversionLsmToMegaThread.cxx.

ConversionLsmToMegaThread::ConversionLsmToMegaThread ( const ConversionLsmToMegaThread )
private

Member Function Documentation

void ConversionLsmToMegaThread::ConversionTerminatedSent ( )
signal
void ConversionLsmToMegaThread::ExportWithReimplemented ( std::string  iMegaPath)

Start the conversion to MegaCapture.

Parameters
[in]iMegaPathpath of the output MegaCapture file

Definition at line 151 of file ConversionLsmToMegaThread.cxx.

int ConversionLsmToMegaThread::GetNumberOfPoints ( )

Returns the number of signals to be sent for the progress bar.

Definition at line 319 of file ConversionLsmToMegaThread.cxx.

void ConversionLsmToMegaThread::InitialisationProgressSent ( )
signal
ConversionLsmToMegaThread ConversionLsmToMegaThread::operator= ( const ConversionLsmToMegaThread )
private
void ConversionLsmToMegaThread::ProgressSent ( )
signal
void ConversionLsmToMegaThread::run ( )
protected

Start multithread process (call when parameters are set up properly)

Todo:
Reimplement these methods in this function only get lsm reader from there, no conversion

Definition at line 85 of file ConversionLsmToMegaThread.cxx.

void ConversionLsmToMegaThread::SetBaseName ( std::string  iBaseName)

Set the base name of the LSM file to convert.

Parameters
[in]iBaseNameName of the LSM file

Definition at line 115 of file ConversionLsmToMegaThread.cxx.

void ConversionLsmToMegaThread::SetLsmPath ( std::string  iLsmPath)

Set the path to the LSM file to convert and initialise LSM reader.

Parameters
[in]iLsmPathPath of the LSM file

Definition at line 124 of file ConversionLsmToMegaThread.cxx.

void ConversionLsmToMegaThread::SetMegaPath ( std::string  iMegaPath)

Set the path of the MegaCapture file to create.

Parameters
[in]iMegaPathPath of the MegaCapture file

Definition at line 133 of file ConversionLsmToMegaThread.cxx.

void ConversionLsmToMegaThread::SetOutputFileType ( const GoFigure::FileType iFileType)

Set the output file type.

Parameters
[in]iFileTypeFile type: PNG or TIFF

Definition at line 142 of file ConversionLsmToMegaThread.cxx.

Member Data Documentation

std::string ConversionLsmToMegaThread::m_BaseName
private

Definition at line 115 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_Column
private

Definition at line 122 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_Dim
private

Definition at line 131 of file ConversionLsmToMegaThread.h.

GoFigure::FileType ConversionLsmToMegaThread::m_FileType
private

Definition at line 118 of file ConversionLsmToMegaThread.h.

std::string ConversionLsmToMegaThread::m_LsmPath
private

Definition at line 116 of file ConversionLsmToMegaThread.h.

std::vector< vtkLSMReader * > ConversionLsmToMegaThread::m_LSMReaders
private

Definition at line 119 of file ConversionLsmToMegaThread.h.

std::string ConversionLsmToMegaThread::m_MegaPath
private

Definition at line 117 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_NumberOfChannels
private

Definition at line 129 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_NumberOfTimePoints
private

Definition at line 130 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_Plaque
private

Definition at line 120 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_Row
private

Definition at line 121 of file ConversionLsmToMegaThread.h.

double ConversionLsmToMegaThread::m_XOverlap
private

Definition at line 126 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_XTile
private

Definition at line 123 of file ConversionLsmToMegaThread.h.

double ConversionLsmToMegaThread::m_YOverlap
private

Definition at line 127 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_YTile
private

Definition at line 124 of file ConversionLsmToMegaThread.h.

double ConversionLsmToMegaThread::m_ZOverlap
private

Definition at line 128 of file ConversionLsmToMegaThread.h.

unsigned int ConversionLsmToMegaThread::m_ZTile
private

Definition at line 125 of file ConversionLsmToMegaThread.h.


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