67 #ifndef vtkACosmoReader_h 68 #define vtkACosmoReader_h 72 #include "vtkPVVTKExtensionsCosmoToolsModule.h" 98 void AddFileName(
const char*);
99 void RemoveAllFileNames();
104 vtkSetMacro(BoxSize,
double);
105 vtkGetMacro(BoxSize,
double);
111 vtkSetMacro(ByteSwap,
int);
112 vtkGetMacro(ByteSwap,
int);
120 vtkSetMacro(TagSize,
int);
121 vtkGetMacro(TagSize,
int);
128 vtkSetMacro(Level,
int);
129 vtkGetMacro(Level,
int);
149 void ExtractInfoFromFileNames();
154 void ReadMetaDataFile(
const int levelIdx, std::string file);
160 int GetBlockIndex(
const int level,
const int idx);
177 int GetBlockStartOffSetInFile(
const int level,
const int index);
183 void ReadBlockFromFile(
std::vector< block_t > ParticleBlocks
std::set< std::string > FileNames
Adaptively read a binary cosmology data file.
vtkMultiBlockDataSet * MetaData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
std::vector< int > RequestedBlocks
std::vector< int > NBlocks
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void operator=(const vtkObjectBase &)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)