cctw
0.2.1
|
#include <cctwtransformer.h>
Public Slots | |
void | transform () |
void | simpleTransform () |
void | checkTransform () |
void | saveDependencies (QString path) |
void | loadDependencies (QString path) |
QcepIntList | dependencies (int n) |
QList< CctwIntVector3D > | dependencies (int cx, int cy, int cz) |
void | runTransformChunkNumber (int n) |
void | transformChunkNumber (int chunkId) |
void | transformChunkData (int chunkId, CctwDataChunk *inputChunk, QMap< int, CctwDataChunk * > &outputChunks) |
void | clearDependencies (int use) |
void | addDependency (int f, int t) |
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 | |
CctwTransformer (CctwApplication *application, CctwChunkedData *input, CctwChunkedData *output, CctwTransformInterface *xform, QString name, QObject *parent) | |
virtual | ~CctwTransformer () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
Public Member Functions inherited from CctwObject | |
CctwObject (QString name, QObject *parent=0) | |
Properties | |
double | wallTime |
int | blocksLimit |
int | transformOptions |
int | oversampleX |
int | oversampleY |
int | oversampleZ |
bool | projectX |
bool | projectY |
bool | projectZ |
QString | projectDestination |
int | normalization |
int | compression |
QString | subset |
int | useDependencies |
int | skipped |
Properties inherited from CctwObject | |
QString | name |
Private Member Functions | |
void | markInputChunkNeeded (CctwIntVector3D idx) |
bool | parseSubset (CctwChunkedData *data=NULL) |
Private Attributes | |
CctwApplication * | m_Application |
CctwChunkedData * | m_InputData |
CctwChunkedData * | m_OutputData |
CctwTransformInterface * | m_Transform |
QMutex | m_LockX |
QMutex | m_LockY |
QMutex | m_LockZ |
QcepImageData< double > * | m_ImageX |
QcepImageData< double > * | m_ImageY |
QcepImageData< double > * | m_ImageZ |
QcepImageData< double > * | m_WeightX |
QcepImageData< double > * | m_WeightY |
QcepImageData< double > * | m_WeightZ |
double | m_MinData |
double | m_MaxData |
double | m_MinWeight |
double | m_MaxWeight |
CctwIntVector3D | m_SubsetStart |
CctwIntVector3D | m_SubsetEnd |
Definition at line 14 of file cctwtransformer.h.
CctwTransformer::CctwTransformer | ( | CctwApplication * | application, |
CctwChunkedData * | input, | ||
CctwChunkedData * | output, | ||
CctwTransformInterface * | xform, | ||
QString | name, | ||
QObject * | parent | ||
) |
Definition at line 22 of file cctwtransformer.cpp.
|
virtual |
Definition at line 59 of file cctwtransformer.cpp.
|
slot |
Definition at line 780 of file cctwtransformer.cpp.
References CctwChunkedData::addDependency(), m_InputData, and m_OutputData.
Referenced by CctwApplication::calculateChunkDependencies(), and loadDependencies().
|
slot |
Definition at line 678 of file cctwtransformer.cpp.
References CctwChunkedData::chunk(), CctwChunkedData::chunkCount, CctwDataChunk::dataPointer(), CctwDataChunk::dependencyCount(), m_OutputData, CctwDataChunk::mergeCount(), CctwObject::printMessage(), CctwVector3D< T >::volume(), and CctwDataChunk::weightsPointer().
Referenced by CctwqtMainWindow::doCheckTransform().
|
slot |
Definition at line 772 of file cctwtransformer.cpp.
References CctwChunkedData::clearDependencies(), m_InputData, and m_OutputData.
Referenced by CctwApplication::calculateDependencies(), loadDependencies(), and CctwApplication::noDependencies().
|
slot |
Definition at line 704 of file cctwtransformer.cpp.
References CctwChunkedData::chunk(), CctwChunkedData::chunkContaining(), CctwChunkedData::chunkIndexFromNumber(), CctwDataChunk::chunkSize(), CctwDataChunk::chunkStart(), CctwChunkedData::containsChunk(), CctwChunkedData::containsPixel(), m_Application, m_InputData, m_OutputData, CctwApplication::parameters(), transform(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by dependencies(), and CctwApplication::dependencies().
|
slot |
Definition at line 759 of file cctwtransformer.cpp.
References CctwChunkedData::chunkIndexFromNumber(), CctwChunkedData::chunkNumberFromIndex(), dependencies(), m_InputData, and m_OutputData.
|
slot |
Definition at line 114 of file cctwtransformer.cpp.
References addDependency(), and clearDependencies().
Referenced by CctwApplication::loadDependencies().
|
private |
|
private |
Definition at line 132 of file cctwtransformer.cpp.
References CctwChunkedData::chunkCount, m_Application, m_InputData, m_SubsetEnd, m_SubsetStart, CctwObject::printMessage(), subset, CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by simpleTransform().
|
virtual |
Reimplemented from CctwObject.
Definition at line 68 of file cctwtransformer.cpp.
References CctwObject::readSettings().
Referenced by CctwApplication::readSettings().
|
slot |
Definition at line 73 of file cctwtransformer.cpp.
References CctwChunkedData::chunkCount, m_Application, m_InputData, transformChunkNumber(), CctwVector3D< T >::volume(), and CctwApplication::workCompleted().
Referenced by simpleTransform(), and transform().
|
slot |
Definition at line 89 of file cctwtransformer.cpp.
References CctwChunkedData::chunk(), CctwChunkedData::chunkCount, CctwDataChunk::dependency(), CctwDataChunk::dependencyCount(), m_InputData, CctwDataChunk::sortDependencies(), and CctwVector3D< T >::volume().
Referenced by CctwApplication::saveDependencies().
|
slot |
Definition at line 573 of file cctwtransformer.cpp.
References CctwApplication::addWorkOutstanding(), CctwDataChunk::allocatedChunkCount(), CctwChunkedData::chunkCount, CctwChunkedData::chunkNumberFromIndex(), CctwChunkedData::chunkSize, CctwChunkedData::dimensions, m_Application, m_InputData, m_OutputData, m_SubsetEnd, m_SubsetStart, parseSubset(), CctwObject::printMessage(), runTransformChunkNumber(), CctwVector3D< T >::toString(), CctwVector3D< T >::volume(), CctwApplication::waitCompleted(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by CctwApplication::transform().
|
slot |
Definition at line 461 of file cctwtransformer.cpp.
References CctwApplication::addWorkOutstanding(), CctwDataChunk::allocatedChunkCount(), CctwChunkedData::chunk(), CctwChunkedData::chunkCount, CctwDataChunk::dependency(), CctwDataChunk::dependencyCount(), m_Application, m_InputData, m_OutputData, CctwObject::printMessage(), CctwDataChunk::resetAllocationLimits(), runTransformChunkNumber(), CctwApplication::waitCompleted(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by dependencies(), CctwqtMainWindow::doTransform(), CctwApplication::transform(), and transformChunkData().
|
slot |
Definition at line 318 of file cctwtransformer.cpp.
References CctwDataChunk::allocateData(), CctwDataChunk::allocatedChunkCount(), CctwDataChunk::allocateWeights(), CctwChunkedData::chunkContaining(), CctwDataChunk::chunkSize(), CctwDataChunk::chunkStart(), CctwChunkedData::chunkStart(), CctwChunkedData::containsPixel(), CctwDataChunk::data(), CctwChunkedData::dimensions, m_Application, m_InputData, m_OutputData, CctwApplication::parameters(), CctwObject::printMessage(), transform(), CctwDataChunk::weight(), CctwVector3D< T >::x(), CctwVector3D< T >::y(), and CctwVector3D< T >::z().
Referenced by Cctwtcl_Transform_Cmd(), and transformChunkNumber().
|
slot |
Definition at line 284 of file cctwtransformer.cpp.
References CctwDataChunk::deallocateData(), CctwDataChunk::deallocateWeights(), CctwDataChunk::dependencyCount(), m_InputData, m_OutputData, CctwChunkedData::mergeChunk(), CctwObject::printMessage(), CctwChunkedData::readChunk(), CctwChunkedData::releaseChunkData(), and transformChunkData().
Referenced by runTransformChunkNumber().
|
virtual |
Reimplemented from CctwObject.
Definition at line 63 of file cctwtransformer.cpp.
References CctwObject::writeSettings().
Referenced by CctwApplication::writeSettings().
|
private |
Definition at line 68 of file cctwtransformer.h.
Referenced by dependencies(), parseSubset(), runTransformChunkNumber(), simpleTransform(), transform(), and transformChunkData().
|
private |
Definition at line 77 of file cctwtransformer.h.
|
private |
Definition at line 78 of file cctwtransformer.h.
|
private |
Definition at line 79 of file cctwtransformer.h.
|
private |
Definition at line 69 of file cctwtransformer.h.
Referenced by addDependency(), clearDependencies(), dependencies(), parseSubset(), runTransformChunkNumber(), saveDependencies(), simpleTransform(), transform(), transformChunkData(), and transformChunkNumber().
|
private |
Definition at line 73 of file cctwtransformer.h.
|
private |
Definition at line 74 of file cctwtransformer.h.
|
private |
Definition at line 75 of file cctwtransformer.h.
|
private |
Definition at line 85 of file cctwtransformer.h.
|
private |
Definition at line 87 of file cctwtransformer.h.
|
private |
Definition at line 84 of file cctwtransformer.h.
|
private |
Definition at line 86 of file cctwtransformer.h.
|
private |
Definition at line 70 of file cctwtransformer.h.
Referenced by addDependency(), checkTransform(), clearDependencies(), dependencies(), simpleTransform(), transform(), transformChunkData(), and transformChunkNumber().
|
private |
Definition at line 90 of file cctwtransformer.h.
Referenced by parseSubset(), and simpleTransform().
|
private |
Definition at line 89 of file cctwtransformer.h.
Referenced by parseSubset(), and simpleTransform().
|
private |
Definition at line 71 of file cctwtransformer.h.
|
private |
Definition at line 80 of file cctwtransformer.h.
|
private |
Definition at line 81 of file cctwtransformer.h.
|
private |
Definition at line 82 of file cctwtransformer.h.
|
readwrite |
Definition at line 96 of file cctwtransformer.h.
|
readwrite |
Definition at line 126 of file cctwtransformer.h.
|
readwrite |
Definition at line 123 of file cctwtransformer.h.
|
readwrite |
Definition at line 102 of file cctwtransformer.h.
|
readwrite |
Definition at line 105 of file cctwtransformer.h.
|
readwrite |
Definition at line 108 of file cctwtransformer.h.
|
readwrite |
Definition at line 120 of file cctwtransformer.h.
|
readwrite |
Definition at line 111 of file cctwtransformer.h.
|
readwrite |
Definition at line 114 of file cctwtransformer.h.
|
readwrite |
Definition at line 117 of file cctwtransformer.h.
|
readwrite |
Definition at line 135 of file cctwtransformer.h.
|
readwrite |
Definition at line 129 of file cctwtransformer.h.
Referenced by parseSubset().
|
readwrite |
Definition at line 99 of file cctwtransformer.h.
|
readwrite |
Definition at line 132 of file cctwtransformer.h.
|
readwrite |
Definition at line 93 of file cctwtransformer.h.