#include <vtkEnSightGoldBinaryReader.h>
Inheritance diagram for vtkEnSightGoldBinaryReader:
vtkEnSightGoldBinaryReader is a class to read EnSight Gold files into vtk. Because the different parts of the EnSight data can be of various data types, this reader produces multiple outputs, one per part in the input file. All variable information is being stored in field data. The descriptions listed in the case file are used as the array names in the field data. For complex vector variables, the description is appended with _r (for the array of real values) and _i (for the array if imaginary values). Complex scalar variables are stored as a single array with 2 components, real and imaginary, listed in that order.
Definition at line 45 of file vtkEnSightGoldBinaryReader.h.
Public Types | |
typedef vtkEnSightReader | Superclass |
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 vtkEnSightGoldBinaryReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkEnSightGoldBinaryReader * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkEnSightGoldBinaryReader () | |
~vtkEnSightGoldBinaryReader () | |
int | OpenFile (const char *filename) |
virtual int | ReadGeometryFile (const char *fileName, int timeStep) |
int | CreateRectilinearGridOutput (int partId, char line[256], const char *name) |
int | CreateImageDataOutput (int partId, char line[80], const char *name) |
int | ReadIntArray (int *result, int numInts) |
virtual int | ReadMeasuredGeometryFile (const char *fileName, int timeStep) |
virtual int | ReadScalarsPerNode (const char *fileName, const char *description, int timeStep, int measured=0, int numberOfComponents=1, int component=0) |
virtual int | ReadVectorsPerNode (const char *fileName, const char *description, int timeStep, int measured=0) |
virtual int | ReadTensorsPerNode (const char *fileName, const char *description, int timeStep) |
virtual int | ReadScalarsPerElement (const char *fileName, const char *description, int timeStep, int numberOfComponents=1, int component=0) |
virtual int | ReadVectorsPerElement (const char *fileName, const char *description, int timeStep) |
virtual int | ReadTensorsPerElement (const char *fileName, const char *description, int timeStep) |
virtual int | CreateUnstructuredGridOutput (int partId, char line[80], const char *name) |
virtual int | CreateStructuredGridOutput (int partId, char line[256], const char *name) |
int | ReadLine (char result[80]) |
int | ReadInt (int *result) |
int | ReadPartId (int *result) |
int | ReadFloatArray (float *result, int numFloats) |
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 |
ifstream * | IFile |
int | FileSize |
|
Reimplemented from vtkEnSightReader. Definition at line 49 of file vtkEnSightGoldBinaryReader.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkGenericEnSightReader. |
|
Reimplemented from vtkEnSightReader. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkEnSightReader. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkEnSightReader. |
|
Reimplemented from vtkEnSightReader. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkEnSightReader. |
|
|
|
Read the geometry file. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
Read the measured geometry file. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
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 vtkEnSightReader. |
|
Read vectors per node for this dataset. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
Read tensors per node for this dataset. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
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 vtkEnSightReader. |
|
Read vectors per element for this dataset. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
Read tensors per element for this dataset. If an error occurred, 0 is returned; otherwise 1. Implements vtkEnSightReader. |
|
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 vtkEnSightReader. |
|
Read a structured part from the geometry file and create a vtkStructuredGrid output. Return 0 if EOF reached. |
|
Read a structured part from the geometry file and create a vtkRectilinearGrid output. Return 0 if EOF reached. |
|
Read a structured part from the geometry file and create a vtkImageData output. Return 0 if EOF reached. |
|
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 line up to 80 characters. 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. |
|
Read to the next time step in the geometry file. |
|
Internal function to read in a float array. Returns zero if there was an error. |
|
Internal function to read in a float array. Returns zero if there was an error. |
|
Internal function to read in a float array. Returns zero if there was an error. |
|
Internal function to read in a float array. Returns zero if there was an error. |
|
Definition at line 167 of file vtkEnSightGoldBinaryReader.h. |
|
Definition at line 168 of file vtkEnSightGoldBinaryReader.h. |
|
Reimplemented from vtkGenericEnSightReader. Definition at line 170 of file vtkEnSightGoldBinaryReader.h. |
|
Definition at line 172 of file vtkEnSightGoldBinaryReader.h. |