6 #ifndef _WavletBlock3DRegionWriter_h_
7 #define _WavletBlock3DRegionWriter_h_
9 #include <vapor/MyBase.h>
51 const string &metafile
80 virtual int OpenVariableWrite(
91 ) {SetErrMsg(
"Operation not supported");
return(-1);};
100 virtual int CloseVariable();
120 const size_t min[3],
const size_t max[3]
144 int BlockWriteRegion(
146 const size_t bmin[3],
const size_t bmax[3],
152 void _GetDataRange(
float range[2])
const;
153 void _GetValidRegion(
size_t minreg[3],
size_t maxreg[3])
const;
157 float *_lambda_blks[MAX_LEVELS];
158 float *_lambda_tiles[MAX_LEVELS];
163 const float *_regionData;
168 size_t _validRegMin[3];
169 size_t _validRegMax[3];
185 int _WriteUntransformedRegion3D(
191 int _WriteUntransformedRegion2D(
204 size_t nx,
size_t ny,
size_t nz,
205 size_t x,
size_t y,
size_t z,
213 size_t nx,
size_t ny,
size_t nz,
228 size_t nx,
size_t ny,
238 size_t nx,
size_t ny,
247 void copy_top_superblock3d(
252 float *dst_super_block
255 void copy_top_superblock2d(
260 float *dst_super_block
280 int process_quadrant(
290 void compute_minmax3d(
292 size_t bx,
size_t by,
size_t bz,
297 void compute_minmax2d(
298 const float *tileptr,
299 size_t bx,
size_t by,
309 const size_t min[3],
const size_t max[3],
320 void _CloseVariable3D();
321 void _CloseVariable2D();
323 int _WaveletBlock3DRegionWriter();
329 #endif // _WavletBlock3DRegionWriter_h_
A subregion write for VDC files.
Performs data IO to VDF files.
virtual int OpenVariableRead(size_t timestep, const char *varname, int reflevel=0, int lod=0)