1 #ifndef CCTWDATACHUNK_H
2 #define CCTWDATACHUNK_H
104 #endif // CCTWDATACHUNK_H
void mergeData(CctwChunkedData::MergeDataType *id, CctwChunkedData::MergeDataType *iw, int n)
int dependencyCount() const
void setChunkSize(CctwIntVector3D size)
CctwChunkedData::MergeDataType * m_ChunkData
bool dataAllocated() const
CctwIntVector3D m_ChunkStart
void releaseBuffer(CctwChunkedData::MergeDataType *)
void addDependency(int dep)
QList< CctwChunkedData::MergeDataType * > m_MergeWeights
CctwIntVector3D chunkSize()
void clearMergeCounters()
CctwChunkedData::MergeDataType * allocateBuffer()
CctwChunkedData::MergeDataType * m_ChunkWeights
QMutex m_DependenciesLock
CctwChunkedData::MergeDataType weight(int lx, int ly, int lz)
CctwIntVector3D calculateChunkStart()
static int allocatedChunkCount()
int dependency(int n) const
void mergeChunk(CctwDataChunk *c)
void setData(int lx, int ly, int lz, CctwChunkedData::MergeDataType val)
CctwChunkedData::MergeDataType * weightsPointer()
static int maxAllocated()
CctwIntVector3D calculateChunkSize()
bool popMergeData(CctwChunkedData::MergeDataType **data, CctwChunkedData::MergeDataType **weights)
bool weightsAllocated() const
int pixelOffset(int lx, int ly, int lz)
void pushMergeData(CctwChunkedData::MergeDataType *data, CctwChunkedData::MergeDataType *weights)
CctwIntVector3D chunkStart()
CctwDataChunk(CctwChunkedData *data, int index, QString name, QObject *parent)
void setBuffer(void *buffer)
CctwChunkedData::MergeDataType * dataPointer()
QList< CctwChunkedData::MergeDataType * > m_MergeData
void setWeight(int lx, int ly, int lz, CctwChunkedData::MergeDataType val)
static void resetAllocationLimits(int nmax)
CctwChunkedData::MergeDataType data(int lx, int ly, int lz)
QVector< int > m_Dependencies
void reportDependencies()
CctwIntVector3D m_ChunkSize