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:
[legend]
Collaboration diagram for ConversionLsmToMegaThread:
[legend]

Signals

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

Public Member Functions

 ConversionLsmToMegaThread ()
 Constructor.
void ExportWithReimplemented (std::string iMegaPath)
 Start the conversion to MegaCapture.
int GetNumberOfPoints ()
 Returns the number of signals to be sent for the progress bar.
void SetBaseName (std::string iBaseName)
 Set the base name of the LSM file to convert.
void SetLsmPath (std::string iLsmPath)
 Set the path to the LSM file to convert and initialise LSM reader.
void SetMegaPath (std::string iMegaPath)
 Set the path of the MegaCapture file to create.
void SetOutputFileType (const GoFigure::FileType &iFileType)
 Set the output file type.
virtual ~ConversionLsmToMegaThread ()
 Destructor.
- Public Member Functions inherited from QThread
void exit (int returnCode)
bool finished () const
void finished ()
bool isFinished () const
bool isRunning () const
Priority priority () const
 QThread (QObject *parent)
void quit ()
bool running () const
void setPriority (Priority priority)
void setStackSize (uint stackSize)
uint stackSize () const
void start (Priority priority)
void started ()
void terminate ()
void terminated ()
bool wait (unsigned long time)
 ~QThread ()
- Public Member Functions inherited from QObject
bool blockSignals (bool block)
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
const QObjectList & children () const
const char * className () const
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
void deleteLater ()
void destroyed (QObject *obj)
bool disconnect (const QObject *receiver, const char *method)
bool disconnect (const char *signal, const QObject *receiver, const char *method)
void dumpObjectInfo ()
void dumpObjectTree ()
QList< QByteArraydynamicPropertyNames () const
virtual bool event (QEvent *e)
virtual bool eventFilter (QObject *watched, QEvent *event)
findChild (const QString &name) const
QList< T > findChildren (const QRegExp &regExp) const
QList< T > findChildren (const QString &name) const
bool inherits (const char *className) const
void insertChild (QObject *object)
void installEventFilter (QObject *filterObj)
bool isA (const char *className) const
bool isWidgetType () const
void killTimer (int id)
virtual const QMetaObjectmetaObject () const
void moveToThread (QThread *targetThread)
const char * name () const
const char * name (const char *defaultName) const
QString objectName () const
QObjectparent () const
QVariant property (const char *name) const
 QObject (QObject *parent)
 QObject (QObject *parent, const char *name)
void removeChild (QObject *object)
void removeEventFilter (QObject *obj)
void setName (const char *name)
void setObjectName (const QString &name)
void setParent (QObject *parent)
bool setProperty (const char *name, const QVariant &value)
bool signalsBlocked () const
int startTimer (int interval)
QThreadthread () const
virtual  ~QObject ()

Protected Member Functions

void run ()
 Start multithread process (call when parameters are set up properly)
- Protected Member Functions inherited from QThread
int exec ()
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
virtual void childEvent (QChildEvent *event)
virtual void connectNotify (const char *signal)
virtual void customEvent (QEvent *event)
virtual void disconnectNotify (const char *signal)
int receivers (const char *signal) const
QObjectsender () const
int senderSignalIndex () const
virtual void timerEvent (QTimerEvent *event)

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

Additional Inherited Members

- Static Public Member Functions inherited from QThread
QThreadcurrentThread ()
Qt::HANDLE currentThreadId ()
int idealThreadCount ()
void yieldCurrentThread ()
- Static Protected Member Functions inherited from QThread
void msleep (unsigned long msecs)
void setTerminationEnabled (bool enabled)
void sleep (unsigned long secs)
void usleep (unsigned long usecs)
- Properties inherited from QObject
 objectName

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 ( )
protectedvirtual

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

Reimplemented from QThread.

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: