25 #ifndef VTKAMRENZOREADER_H_
26 #define VTKAMRENZOREADER_H_
46 vtkSetMacro( ConvertToCGS,
int );
47 vtkGetMacro( ConvertToCGS,
int );
48 vtkBooleanMacro( ConvertToCGS,
int );
66 void ParseConversionFactors();
78 void ParseCFactor(
const std::string labelString,
int &idx,
double &factor );
108 const int vtkNotUsed(blockIdx),
vtkUniformGrid *vtkNotUsed(block),
const char *vtkNotUsed(
field)) {;};
123 std::map< std::string, int > label2idx;
124 std::map< int, double > conversionFactors;
virtual vtkUniformGrid * GetAMRGrid(const int blockIdx)=0
virtual int GetNumberOfBlocks()=0
virtual void ReadMetaData()=0
virtual int GetNumberOfLevels()=0
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
virtual void GetAMRGridData(const int blockIdx, vtkUniformGrid *block, const char *field)=0
virtual int GetBlockLevel(const int blockIdx)=0
hierarchical dataset of vtkUniformGrids
void GetAMRGridPointData(const int vtkNotUsed(blockIdx), vtkUniformGrid *vtkNotUsed(block), const char *vtkNotUsed(field))
static vtkOverlappingAMRAlgorithm * New()
virtual int FillMetaData()=0
virtual void SetUpDataArraySelections()=0
virtual void SetFileName(const char *fileName)=0