21 #ifndef vtkPEnSightGoldBinaryReader_h 22 #define vtkPEnSightGoldBinaryReader_h 43 int OpenFile(
const char* filename);
47 int InitializeFile(
const char* filename);
68 int component = 0)
override;
125 int CreateRectilinearGridOutput(
132 int CreateImageDataOutput(
146 int ReadInt(
int* result);
147 int ReadPartId(
int* result);
154 int ReadIntArray(
int* result,
int numInts);
160 int ReadFloatArray(
float* result,
int numFloats);
165 int ReadOrSkipCoordinates(
vtkPoints* points,
long offset,
int partId,
bool skip);
171 int InjectCoordinatesAtEnd(
vtkUnstructuredGrid* output,
long coordinatesOffset,
int partId);
179 int CountTimeSteps();
186 int SkipStructuredGrid(
char line[256]);
187 int SkipUnstructuredGrid(
char line[256]);
188 int SkipRectilinearGrid(
char line[256]);
189 int SkipImageData(
char line[256]);
201 void GetVectorFromFloatBuffer(
vtkIdType i,
float* vector);
202 void UpdateFloatBuffer();
virtual int ReadScalarsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0)=0
Read scalars per element for this dataset.
virtual int CreateStructuredGridOutput(int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
Read a structured part from the geometry file and create a vtkStructuredGridOutput.
Parallel vtkEnSightGoldBinaryReader.
Superclass for EnSight file parallel readers.
vtkIdType FloatBufferNumberOfVectors
vtkIdType FloatBufferSize
virtual int ReadScalarsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0)=0
Read scalars per node for this dataset.
virtual int ReadMeasuredGeometryFile(const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
Read the measured geometry file.
virtual int ReadVectorsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
Read vectors per element for this dataset.
static vtkPGenericEnSightReader * New()
virtual int ReadTensorsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
Read tensors per node for this dataset.
vtkIdType FloatBufferIndexBegin
virtual int CreateUnstructuredGridOutput(int partId, char line[80], const char *name, vtkMultiBlockDataSet *output)=0
Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output...
virtual int ReadVectorsPerNode(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0)=0
Read vectors per node for this dataset.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int ReadGeometryFile(const char *fileName, int timeStep, vtkMultiBlockDataSet *output)=0
Read the geometry file.
int ReadLine(char result[256])
vtkIdType FloatBufferFilePosition
#define VTKPVVTKEXTENSIONSIOENSIGHT_EXPORT
virtual int ReadTensorsPerElement(const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output)=0
Read tensors per element for this dataset.