11 #ifndef vtkACosmoReader_h 12 #define vtkACosmoReader_h 16 #include "vtkPVVTKExtensionsCosmoToolsModule.h" 42 void AddFileName(
const char*);
43 void RemoveAllFileNames();
48 vtkSetMacro(BoxSize,
double);
49 vtkGetMacro(BoxSize,
double);
55 vtkSetMacro(ByteSwap,
int);
56 vtkGetMacro(ByteSwap,
int);
64 vtkSetMacro(TagSize,
int);
65 vtkGetMacro(TagSize,
int);
72 vtkSetMacro(Level,
int);
73 vtkGetMacro(Level,
int);
93 void ExtractInfoFromFileNames();
98 void ReadMetaDataFile(
const int levelIdx, std::string file);
104 int GetBlockIndex(
const int level,
const int idx);
121 int GetBlockStartOffSetInFile(
const int level,
const int index);
127 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 *)