|
ParaView
|
#include <vtkPEnSightGoldBinaryReader.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
| static vtkPEnSightGoldBinaryReader * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPEnSightGoldBinaryReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkPEnSightGoldBinaryReader () | |
| ~vtkPEnSightGoldBinaryReader () | |
| int | OpenFile (const char *filename) |
| int | InitializeFile (const char *filename) |
| int | ReadLine (char result[80]) |
| int | ReadIntArray (int *result, int numInts) |
| int | ReadFloatArray (float *result, int numFloats) |
| int | ReadOrSkipCoordinates (vtkPoints *points, long offset, int partId, bool skip) |
| int | InjectCoordinatesAtEnd (vtkUnstructuredGrid *output, long coordinatesOffset, int partId) |
| int | CountTimeSteps () |
| void | GetVectorFromFloatBuffer (int i, float *vector) |
| void | UpdateFloatBuffer () |
| virtual int | ReadGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output) |
| virtual int | ReadMeasuredGeometryFile (const char *fileName, int timeStep, vtkMultiBlockDataSet *output) |
| virtual int | ReadScalarsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0, int numberOfComponents=1, int component=0) |
| virtual int | ReadVectorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int measured=0) |
| virtual int | ReadTensorsPerNode (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output) |
| virtual int | ReadScalarsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output, int numberOfComponents=1, int component=0) |
| virtual int | ReadVectorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output) |
| virtual int | ReadTensorsPerElement (const char *fileName, const char *description, int timeStep, vtkMultiBlockDataSet *output) |
| virtual int | CreateUnstructuredGridOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output) |
| virtual int | CreateStructuredGridOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output) |
| int | CreateRectilinearGridOutput (int partId, char line[256], const char *name, vtkMultiBlockDataSet *output) |
| int | CreateImageDataOutput (int partId, char line[80], const char *name, vtkMultiBlockDataSet *output) |
| int | ReadInt (int *result) |
| int | ReadPartId (int *result) |
| int | SkipTimeStep () |
| int | SkipStructuredGrid (char line[256]) |
| int | SkipUnstructuredGrid (char line[256]) |
| int | SkipRectilinearGrid (char line[256]) |
| int | SkipImageData (char line[256]) |
Protected Attributes | |
| int | NodeIdsListed |
| int | ElementIdsListed |
| int | Fortran |
| ifstream * | IFile |
| long | FileSize |
| float ** | FloatBuffer |
| int | FloatBufferSize |
| int | FloatBufferIndexBegin |
| long | FloatBufferFilePosition |
| int | FloatBufferNumberOfVectors |
Parallel vtkEnSightGoldBinaryReader.
Definition at line 45 of file vtkPEnSightGoldBinaryReader.h.
| vtkPEnSightGoldBinaryReader::vtkPEnSightGoldBinaryReader | ( | ) | [protected] |
| vtkPEnSightGoldBinaryReader::~vtkPEnSightGoldBinaryReader | ( | ) | [protected] |
| static vtkPEnSightGoldBinaryReader* vtkPEnSightGoldBinaryReader::New | ( | ) | [static] |
Reimplemented from vtkPGenericEnSightReader.
| virtual const char* vtkPEnSightGoldBinaryReader::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPEnSightReader.
| static int vtkPEnSightGoldBinaryReader::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkPEnSightReader.
| static vtkPEnSightGoldBinaryReader* vtkPEnSightGoldBinaryReader::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPEnSightReader.
| virtual void vtkPEnSightGoldBinaryReader::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkPEnSightReader.
| int vtkPEnSightGoldBinaryReader::OpenFile | ( | const char * | filename | ) | [protected] |
| int vtkPEnSightGoldBinaryReader::InitializeFile | ( | const char * | filename | ) | [protected] |
| virtual int vtkPEnSightGoldBinaryReader::ReadGeometryFile | ( | const char * | fileName, |
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read the geometry file. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadMeasuredGeometryFile | ( | const char * | fileName, |
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read the measured geometry file. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadScalarsPerNode | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output, | ||
| int | measured = 0, |
||
| int | numberOfComponents = 1, |
||
| int | component = 0 |
||
| ) | [protected, virtual] |
Read scalars per node for this dataset. If an error occurred, 0 is returned; otherwise 1. If there will be more than one component in the data array, it is assumed that 0 is the first component added.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadVectorsPerNode | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output, | ||
| int | measured = 0 |
||
| ) | [protected, virtual] |
Read vectors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadTensorsPerNode | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read tensors per node for this dataset. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadScalarsPerElement | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output, | ||
| int | numberOfComponents = 1, |
||
| int | component = 0 |
||
| ) | [protected, virtual] |
Read scalars per element for this dataset. If an error occurred, 0 is returned; otherwise 1. If there will be more than one componenet in the data array, it is assumed that 0 is the first component added.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadVectorsPerElement | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read vectors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::ReadTensorsPerElement | ( | const char * | fileName, |
| const char * | description, | ||
| int | timeStep, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read tensors per element for this dataset. If an error occurred, 0 is returned; otherwise 1.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::CreateUnstructuredGridOutput | ( | int | partId, |
| char | line[80], | ||
| const char * | name, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read an unstructured part (partId) from the geometry file and create a vtkUnstructuredGrid output. Return 0 if EOF reached. Return -1 if an error occurred.
Implements vtkPEnSightReader.
| virtual int vtkPEnSightGoldBinaryReader::CreateStructuredGridOutput | ( | int | partId, |
| char | line[256], | ||
| const char * | name, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected, virtual] |
Read a structured part from the geometry file and create a vtkStructuredGrid output. Return 0 if EOF reached.
| int vtkPEnSightGoldBinaryReader::CreateRectilinearGridOutput | ( | int | partId, |
| char | line[256], | ||
| const char * | name, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected] |
Read a structured part from the geometry file and create a vtkRectilinearGrid output. Return 0 if EOF reached.
| int vtkPEnSightGoldBinaryReader::CreateImageDataOutput | ( | int | partId, |
| char | line[80], | ||
| const char * | name, | ||
| vtkMultiBlockDataSet * | output | ||
| ) | [protected] |
Read a structured part from the geometry file and create a vtkImageData output. Return 0 if EOF reached.
| int vtkPEnSightGoldBinaryReader::ReadLine | ( | char | result[80] | ) | [protected] |
Internal function to read in a line up to 80 characters. Returns zero if there was an error.
Internal function to read in a single integer. Returns zero if there was an error.
Internal function to read in a single integer. Returns zero if there was an error.
Internal function to read in an integer array. Returns zero if there was an error.
Internal function to read in a float array. Returns zero if there was an error.
| int vtkPEnSightGoldBinaryReader::ReadOrSkipCoordinates | ( | vtkPoints * | points, |
| long | offset, | ||
| int | partId, | ||
| bool | skip | ||
| ) | [protected] |
Read Coordinates, or just skip the part in the file.
| int vtkPEnSightGoldBinaryReader::InjectCoordinatesAtEnd | ( | vtkUnstructuredGrid * | output, |
| long | coordinatesOffset, | ||
| int | partId | ||
| ) | [protected] |
Internal method to inject Coordinates and Global Ids at the end of a part read for Unstructured data.
| int vtkPEnSightGoldBinaryReader::CountTimeSteps | ( | ) | [protected] |
Counts the number of timesteps in the geometry file This function assumes the file is already open and returns the number of timesteps remaining in the file The file will be closed after calling this method
| int vtkPEnSightGoldBinaryReader::SkipTimeStep | ( | ) | [protected] |
Read to the next time step in the geometry file.
| int vtkPEnSightGoldBinaryReader::SkipStructuredGrid | ( | char | line[256] | ) | [protected] |
Read to the next time step in the geometry file.
| int vtkPEnSightGoldBinaryReader::SkipUnstructuredGrid | ( | char | line[256] | ) | [protected] |
Read to the next time step in the geometry file.
| int vtkPEnSightGoldBinaryReader::SkipRectilinearGrid | ( | char | line[256] | ) | [protected] |
Read to the next time step in the geometry file.
| int vtkPEnSightGoldBinaryReader::SkipImageData | ( | char | line[256] | ) | [protected] |
Read to the next time step in the geometry file.
| void vtkPEnSightGoldBinaryReader::UpdateFloatBuffer | ( | ) | [protected] |
int vtkPEnSightGoldBinaryReader::NodeIdsListed [protected] |
Definition at line 201 of file vtkPEnSightGoldBinaryReader.h.
int vtkPEnSightGoldBinaryReader::ElementIdsListed [protected] |
Definition at line 202 of file vtkPEnSightGoldBinaryReader.h.
int vtkPEnSightGoldBinaryReader::Fortran [protected] |
Definition at line 203 of file vtkPEnSightGoldBinaryReader.h.
ifstream* vtkPEnSightGoldBinaryReader::IFile [protected] |
Reimplemented from vtkGenericEnSightReader.
Definition at line 205 of file vtkPEnSightGoldBinaryReader.h.
long vtkPEnSightGoldBinaryReader::FileSize [protected] |
Definition at line 207 of file vtkPEnSightGoldBinaryReader.h.
float** vtkPEnSightGoldBinaryReader::FloatBuffer [protected] |
Definition at line 213 of file vtkPEnSightGoldBinaryReader.h.
int vtkPEnSightGoldBinaryReader::FloatBufferSize [protected] |
Definition at line 215 of file vtkPEnSightGoldBinaryReader.h.
Definition at line 218 of file vtkPEnSightGoldBinaryReader.h.
long vtkPEnSightGoldBinaryReader::FloatBufferFilePosition [protected] |
Definition at line 220 of file vtkPEnSightGoldBinaryReader.h.
Definition at line 222 of file vtkPEnSightGoldBinaryReader.h.
1.7.5.1