25 #ifndef vtkAMREnzoReaderInternal_h 26 #define vtkAMREnzoReaderInternal_h 29 #include "vtksys/SystemTools.hxx" 54 return( vtksys::SystemTools::GetFilenamePath(
std::string(path) ) );
71 { this->
DeepCopy(&other);
return *
this; }
140 std::vector< vtkEnzoReaderBlock >
Blocks;
143 void ReleaseDataArray();
144 void SetFileName(
char * fileName ) { this->FileName = fileName; }
146 void GetAttributeNames();
147 void CheckAttributeNames();
148 void ReadBlockStructures();
149 void ReadGeneralParameters();
150 void DetermineRootBoundingBox();
151 int LoadAttribute(
const char *attribute,
int blockIdx );
152 int GetBlockAttribute(
153 const char* attribute,
int blockIdx,
vtkDataSet* pDataSet );
vtkEnzoReaderBlock(const vtkEnzoReaderBlock &other)
double SubdivisionRatio[3]
std::string GetBaseDirectory(const char *path)
std::string HierarchyFileName
abstract class to specify dataset behavior
std::vector< std::string > ParticleAttributeNames
std::vector< std::string > BlockAttributeNames
std::string DirectoryName
std::string ParticleFileName
void GetLevelBasedIds(std::vector< vtkEnzoReaderBlock > &blocks)
void SetFileName(char *fileName)
void DeepCopy(const vtkEnzoReaderBlock *other)
vtkEnzoReaderBlock & operator=(const vtkEnzoReaderBlock &other)
abstract superclass for arrays of numeric data
int BlockCellDimensions[3]
std::string BlockFileName
int BlockNodeDimensions[3]
std::string BoundaryFileName
std::string MajorFileName
std::vector< vtkEnzoReaderBlock > Blocks
std::vector< std::string > TracerParticleAttributeNames
std::vector< int > ChildrenIds
void GetParentWiseIds(std::vector< vtkEnzoReaderBlock > &blocks)
static std::string GetEnzoDirectory(const char *path)