6 #ifndef _WavletBlock3DRegionReader_h_
7 #define _WavletBlock3DRegionReader_h_
9 #include <vapor/MyBase.h>
49 const string &metafile
79 virtual int OpenVariableRead(
91 ) {SetErrMsg(
"Operation not supported");
return(-1);};
99 virtual int CloseVariable();
123 virtual int ReadRegion(
124 const size_t min[3],
const size_t max[3],
128 virtual int ReadRegion(
152 virtual int BlockReadRegion(
153 const size_t bmin[3],
const size_t bmax[3],
154 float *region,
bool unblock =
true
179 size_t min[3],
size_t max[3],
float *xregion,
180 float *yregion,
float *zregion,
int unblock = 1
190 float *lambda_blks_c[MAX_LEVELS];
191 float *gamma_blks_c[MAX_LEVELS];
192 float *_lambda_tiles[MAX_LEVELS];
193 float *_gamma_tiles[MAX_LEVELS];
198 const float *lambda_row,
199 unsigned int ljx0,
unsigned int ljy0,
unsigned int ljz0,
200 unsigned int ljnx,
unsigned int j,
float *region,
201 const size_t min[3],
const size_t max[3],
unsigned int level,
int unblock
204 const float *lambda_row,
205 unsigned int ljx0,
unsigned int ljy0,
206 unsigned int ljnx,
unsigned int j,
float *region,
207 const size_t min[2],
const size_t max[2],
unsigned int level,
int untile
215 const size_t min[3],
const size_t max[3],
216 float *region,
int unblock = 1
219 const size_t min[2],
const size_t max[2],
220 float *region,
int unblock = 1
223 void _WaveletBlock3DRegionReader();
229 #endif // _WavletBlock3DRegionReader_h_
A sub-region reader for VDF files.
void _GetDataRange(float[2]) const
virtual int OpenVariableWrite(size_t, const char *, int=0, int=0)
Performs data IO to VDF files.