6 m_InputFilePath(filePath),
7 m_DatasetName(datasetName),
53 printMessage(tr(
"Dataspace is not 3 dimensional (%1)").arg(ndims));
59 int ndims2 = H5Sget_simple_extent_dims(
m_DataspaceId, dims, NULL);
77 int chnks = H5Pget_chunk(pl, 3, cksz);
93 hsize_t offset[3], count[3], stride[3], block[3];
113 memspace_id = H5Screate_simple(3, count, NULL);
115 herr_t selerr = H5Sselect_hyperslab(
m_DataspaceId, H5S_SELECT_SET, offset, stride, count, block);
118 if (selerr || rderr) {
119 printMessage(tr(
"Error reading x:%1, y:%2, z:%3, selerr = %4, wrterr = %5")
120 .arg(dx).arg(dy).arg(dz).arg(selerr).arg(rderr));
131 QVector<double> data(nx*ny*nz);
135 hsize_t offset[3], count[3], stride[3], block[3];
154 memspace_id = H5Screate_simple(3, count, NULL);
156 herr_t selerr = H5Sselect_hyperslab(
m_DataspaceId, H5S_SELECT_SET, offset, stride, count, block);
159 if (selerr || rderr) {
160 printMessage(tr(
"Error reading x:%1, y:%2, z:%3, selerr = %4, wrterr = %5")
161 .arg(ix).arg(iy).arg(iz).arg(selerr).arg(rderr));
virtual void printMessage(QString msg, QDateTime dt=QDateTime::currentDateTime())
CctwVector3D< int > CctwIntVector3D