cctw
0.2.1
|
#include <cctwimporter.h>
Public Slots | |
void | importData () |
void | loadDarkImage () |
void | clearInputFiles () |
void | changeDirectory (QString path) |
void | appendInputFile (QString path) |
void | appendMatchingFiles (QString pattern) |
void | checkImportedData () |
void | checkImportedDataRigorously () |
void | checkImportedDataApproximately () |
Public Slots inherited from CctwObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
CctwImporter (CctwApplication *application, QString name, QObject *parent=0) | |
virtual | ~CctwImporter () |
Public Member Functions inherited from CctwObject | |
CctwObject (QString name, QObject *parent=0) | |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
Properties | |
int | dataFormat |
QString | darkImagePath |
QStringList | imagePaths |
QString | imageDirectory |
QString | imagePattern |
QString | outputPath |
QString | outputDataset |
CctwIntVector3D | chunkSize |
int | compression |
int | xDimension |
int | yDimension |
int | zDimension |
int | inputDataBuffering |
bool | checkRigorously |
bool | checkApproximately |
Properties inherited from CctwObject | |
QString | name |
Private Slots | |
void | importDataFrame (int num, QString path) |
Private Member Functions | |
bool | createOutputFile () |
void | closeOutputFile () |
void | writeOutputFrame (int num, QcepImageData< double > *img) |
void | initializeDataBuffer () |
void | deleteDataBuffer () |
void | allocateDataBuffer (hsize_t dimx, hsize_t dimy, hsize_t dimz) |
void | readDataFrameToBuffer (int i, int nb, QString path) |
void | outputDataFromBuffer (int i) |
Private Attributes | |
CctwApplication * | m_Application |
QMutex | m_OutputMutex |
QSemaphore | m_BacklogSemaphore |
QSemaphore | m_CompletionSemaphore |
hid_t | m_FileId |
hid_t | m_DatasetId |
hid_t | m_DataspaceId |
float * | m_InputBuffer |
int | m_InputBufferStart |
int | m_InputBufferCount |
hsize_t | m_InputBufferSize |
hsize_t | m_InputBufferStride |
QSharedPointer< QcepImageData< double > > | m_DarkImage |
Definition at line 12 of file cctwimporter.h.
|
explicit |
Definition at line 8 of file cctwimporter.cpp.
|
virtual |
|
private |
Definition at line 408 of file cctwimporter.cpp.
References m_InputBuffer, m_InputBufferCount, m_InputBufferSize, m_InputBufferStart, and m_InputBufferStride.
Referenced by readDataFrameToBuffer().
|
slot |
Definition at line 52 of file cctwimporter.cpp.
|
slot |
Definition at line 57 of file cctwimporter.cpp.
|
slot |
Definition at line 47 of file cctwimporter.cpp.
|
slot |
Definition at line 528 of file cctwimporter.cpp.
References checkImportedDataApproximately(), checkImportedDataRigorously(), loadDarkImage(), and CctwObject::printMessage().
Referenced by CctwqtSetupCheckImportDialog::accept().
|
slot |
Definition at line 555 of file cctwimporter.cpp.
References CctwInputDataH5::dimensions(), m_Application, m_DarkImage, CctwObject::printLine(), CctwObject::printMessage(), randomIndex(), CctwInputDataH5::readData(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by checkImportedData().
|
slot |
Definition at line 543 of file cctwimporter.cpp.
References CctwObject::printMessage().
Referenced by checkImportedData().
|
slot |
Definition at line 42 of file cctwimporter.cpp.
|
private |
Definition at line 307 of file cctwimporter.cpp.
References m_DatasetId, m_DataspaceId, m_FileId, m_OutputMutex, and CctwObject::printMessage().
Referenced by importData().
|
private |
Definition at line 156 of file cctwimporter.cpp.
References m_DatasetId, m_DataspaceId, m_FileId, m_OutputMutex, CctwObject::printMessage(), CctwVector3D< T >::volume(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by importDataFrame(), and readDataFrameToBuffer().
|
private |
Definition at line 418 of file cctwimporter.cpp.
References m_InputBuffer, m_InputBufferCount, m_InputBufferSize, m_InputBufferStart, and m_InputBufferStride.
Referenced by importData(), initializeDataBuffer(), and ~CctwImporter().
|
slot |
Definition at line 92 of file cctwimporter.cpp.
References CctwApplication::addWorkOutstanding(), closeOutputFile(), deleteDataBuffer(), importDataFrame(), initializeDataBuffer(), loadDarkImage(), m_Application, m_BacklogSemaphore, m_CompletionSemaphore, outputDataFromBuffer(), CctwObject::printMessage(), readDataFrameToBuffer(), and CctwApplication::waitCompleted().
|
privateslot |
Definition at line 367 of file cctwimporter.cpp.
References createOutputFile(), m_Application, m_BacklogSemaphore, m_CompletionSemaphore, m_DarkImage, CctwObject::printMessage(), CctwApplication::workCompleted(), and writeOutputFrame().
Referenced by importData().
|
private |
Definition at line 403 of file cctwimporter.cpp.
References deleteDataBuffer().
Referenced by importData().
|
slot |
Definition at line 76 of file cctwimporter.cpp.
References m_DarkImage, and CctwObject::printMessage().
Referenced by checkImportedData(), and importData().
|
private |
Definition at line 482 of file cctwimporter.cpp.
References m_DatasetId, m_DataspaceId, m_FileId, m_InputBuffer, m_InputBufferCount, m_InputBufferStart, m_OutputMutex, and CctwObject::printMessage().
Referenced by importData(), and readDataFrameToBuffer().
|
private |
Definition at line 431 of file cctwimporter.cpp.
References allocateDataBuffer(), createOutputFile(), m_Application, m_CompletionSemaphore, m_DarkImage, m_InputBuffer, m_InputBufferCount, m_InputBufferStride, outputDataFromBuffer(), CctwObject::printMessage(), and CctwApplication::workCompleted().
Referenced by importData().
|
private |
Definition at line 330 of file cctwimporter.cpp.
References m_DatasetId, m_DataspaceId, m_FileId, m_OutputMutex, and CctwObject::printMessage().
Referenced by importDataFrame().
|
private |
Definition at line 49 of file cctwimporter.h.
Referenced by checkImportedDataApproximately(), importData(), importDataFrame(), and readDataFrameToBuffer().
|
private |
Definition at line 51 of file cctwimporter.h.
Referenced by importData(), and importDataFrame().
|
private |
Definition at line 52 of file cctwimporter.h.
Referenced by importData(), importDataFrame(), and readDataFrameToBuffer().
|
private |
Definition at line 64 of file cctwimporter.h.
Referenced by checkImportedDataApproximately(), importDataFrame(), loadDarkImage(), and readDataFrameToBuffer().
|
private |
Definition at line 55 of file cctwimporter.h.
Referenced by closeOutputFile(), createOutputFile(), outputDataFromBuffer(), and writeOutputFrame().
|
private |
Definition at line 56 of file cctwimporter.h.
Referenced by closeOutputFile(), createOutputFile(), outputDataFromBuffer(), and writeOutputFrame().
|
private |
Definition at line 54 of file cctwimporter.h.
Referenced by closeOutputFile(), createOutputFile(), outputDataFromBuffer(), and writeOutputFrame().
|
private |
Definition at line 58 of file cctwimporter.h.
Referenced by allocateDataBuffer(), deleteDataBuffer(), outputDataFromBuffer(), and readDataFrameToBuffer().
|
private |
Definition at line 60 of file cctwimporter.h.
Referenced by allocateDataBuffer(), deleteDataBuffer(), outputDataFromBuffer(), and readDataFrameToBuffer().
|
private |
Definition at line 61 of file cctwimporter.h.
Referenced by allocateDataBuffer(), and deleteDataBuffer().
|
private |
Definition at line 59 of file cctwimporter.h.
Referenced by allocateDataBuffer(), deleteDataBuffer(), and outputDataFromBuffer().
|
private |
Definition at line 62 of file cctwimporter.h.
Referenced by allocateDataBuffer(), deleteDataBuffer(), and readDataFrameToBuffer().
|
private |
Definition at line 50 of file cctwimporter.h.
Referenced by closeOutputFile(), createOutputFile(), outputDataFromBuffer(), and writeOutputFrame().
|
readwrite |
Definition at line 109 of file cctwimporter.h.
|
readwrite |
Definition at line 106 of file cctwimporter.h.
|
readwrite |
Definition at line 88 of file cctwimporter.h.
|
readwrite |
Definition at line 91 of file cctwimporter.h.
|
readwrite |
Definition at line 70 of file cctwimporter.h.
|
readwrite |
Definition at line 67 of file cctwimporter.h.
|
readwrite |
Definition at line 76 of file cctwimporter.h.
|
readwrite |
Definition at line 73 of file cctwimporter.h.
|
readwrite |
Definition at line 79 of file cctwimporter.h.
|
readwrite |
Definition at line 103 of file cctwimporter.h.
|
readwrite |
Definition at line 85 of file cctwimporter.h.
|
readwrite |
Definition at line 82 of file cctwimporter.h.
|
readwrite |
Definition at line 94 of file cctwimporter.h.
|
readwrite |
Definition at line 97 of file cctwimporter.h.
|
readwrite |
Definition at line 100 of file cctwimporter.h.