10 #include "vapor/common.h"
13 #pragma warning(disable : 4251)
45 VAR3D, VAR2D_XY, VAR2D_XZ, VAR2D_YZ
61 virtual void GetGridDim(
size_t dim[3])
const = 0;
78 virtual void GetBlockSize(
size_t bs[3],
int reflevel)
const = 0;
104 std::vector <size_t> cr; cr.push_back(1);
return(cr);
131 std::vector <double> empty;
return(empty);
134 std::vector <double> empty;
return(empty);
137 std::vector <double> empty;
return(empty);
161 virtual std::vector<double> GetExtents(
size_t ts = 0)
const = 0;
169 virtual long GetNumTimeSteps()
const = 0;
180 virtual std::vector <std::string> GetVariableNames()
const;
197 virtual std::vector <std::string> GetVariables3D()
const = 0;
205 virtual std::vector <std::string> GetVariables2DXY()
const = 0;
213 virtual std::vector <std::string> GetVariables2DXZ()
const = 0;
221 virtual std::vector <std::string> GetVariables2DYZ()
const = 0;
237 std::vector <std::string> v;
238 v.push_back(
"NONE"); v.push_back(
"NONE"); v.push_back(
"ELEVATION");
249 virtual std::vector<long> GetPeriodicBoundary()
const = 0;
256 virtual std::vector<long> GetGridPermutation()
const = 0;
273 virtual double GetTSUserTime(
size_t ts)
const = 0;
289 virtual void GetTSUserTimeStamp(
size_t ts, std::string &s)
const = 0;
309 virtual void GetDim(
size_t dim[3],
int reflevel = 0)
const;
322 virtual void GetDimBlk(
size_t bdim[3],
int reflevel = 0)
const;
353 virtual void MapVoxToBlk(
const size_t vcoord[3],
size_t bcoord[3],
int reflevel = -1)
const;
355 virtual void MapVoxToUser(
357 const size_t vcoord0[3],
double vcoord1[3],
int ref_level = 0
361 size_t timestep,
const double vcoord0[3],
size_t vcoord1[3],
374 virtual VarType_T GetVarType(
const std::string &varname)
const;
390 virtual int IsValidRegion(
391 const size_t min[3],
const size_t max[3],
int reflevel = 0
410 virtual int IsValidRegionBlk(
411 const size_t min[3],
const size_t max[3],
int reflevel = 0
424 virtual bool IsCoordinateVariable(std::string varname)
const;
432 #endif // _Metadata_h_