42 #ifndef vtkEnSightGoldBinaryReader_h
43 #define vtkEnSightGoldBinaryReader_h
63 int OpenFile(
const char* filename);
68 int InitializeFile(
const char* filename);
91 int numberOfComponents = 1,
116 int numberOfComponents = 1,
156 int CreateRectilinearGridOutput(
int partId,
char line[256],
const char*
name,
163 int CreateImageDataOutput(
int partId,
char line[80],
const char*
name,
174 int ReadInt(
int *result);
175 int ReadPartId(
int *result);
180 int ReadIntArray(
int *result,
int numInts);
184 int ReadLong(vtkTypeInt64 *result);
188 int ReadFloatArray(
float *result,
int numFloats);
194 int CountTimeSteps();
199 int SkipStructuredGrid(
char line[256]);
200 int SkipUnstructuredGrid(
char line[256]);
201 int SkipRectilinearGrid(
char line[256]);
202 int SkipImageData(
char line[256]);
207 int SeekToCachedTimeStep(
const char* fileName,
int realTimeStep);
210 void AddTimeStepToCache(
const char* fileName,
int realTimeStep, vtkTypeInt64
address);
213 void AddFileIndexToCache(
const char* fileName);
224 class FileOffsetMapInternal;
virtual int CreateStructuredGridOutput(int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
class to read binary EnSight Gold files
virtual int ReadVectorsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0)=0
virtual int ReadMeasuredGeometryFile(const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
virtual int ReadTensorsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
virtual int ReadGeometryFile(const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
virtual int ReadTensorsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
a simple class to control print indentation
virtual int ReadScalarsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0)=0
void PrintSelf(ostream &os, vtkIndent indent)
superclass for EnSight file readers
static vtkGenericEnSightReader * New()
FileOffsetMapInternal * FileOffsets
Composite dataset that organizes datasets into blocks.
virtual int CreateUnstructuredGridOutput(int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
virtual int ReadScalarsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0)=0
#define VTKIOENSIGHT_EXPORT
int ReadLine(char result[256])
virtual int ReadVectorsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0