00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00065 #ifndef __vtkEnSightGoldReader_h
00066 #define __vtkEnSightGoldReader_h
00067
00068 #include "vtkEnSightReader.h"
00069
00070 class VTK_IO_EXPORT vtkEnSightGoldReader : public vtkEnSightReader
00071 {
00072 public:
00073 static vtkEnSightGoldReader *New();
00074 vtkTypeMacro(vtkEnSightGoldReader, vtkEnSightReader);
00075
00076 protected:
00077 vtkEnSightGoldReader() {};
00078 ~vtkEnSightGoldReader() {};
00079
00082 virtual int ReadGeometryFile(char* fileName, int timeStep);
00083
00086 virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep);
00087
00089
00092 virtual int ReadScalarsPerNode(char* fileName, char* description,
00093 int timeStep, int measured = 0,
00094 int numberOfComponents = 1,
00095 int component = 0);
00097
00099
00101 virtual int ReadVectorsPerNode(char* fileName, char* description,
00102 int timeStep, int measured = 0);
00104
00106
00108 virtual int ReadTensorsPerNode(char* fileName, char* description,
00109 int timeStep);
00111
00113
00116 virtual int ReadScalarsPerElement(char* fileName, char* description,
00117 int timeStep, int numberOfComponents = 1,
00118 int component = 0);
00120
00122
00124 virtual int ReadVectorsPerElement(char* fileName, char* description,
00125 int timeStep);
00127
00129
00131 virtual int ReadTensorsPerElement(char* fileName, char* description,
00132 int timeStep);
00134
00138 virtual int CreateUnstructuredGridOutput(int partId, char line[256]);
00139
00142 virtual int CreateStructuredGridOutput(int partId, char line[256]);
00143
00146 int CreateRectilinearGridOutput(int partId, char line[256]);
00147
00150 int CreateImageDataOutput(int partId, char line[256]);
00151
00153
00154 vtkSetStringMacro(GeometryFileName);
00155 vtkGetStringMacro(GeometryFileName);
00157
00159
00160 vtkSetStringMacro(MeasuredFileName);
00161 vtkGetStringMacro(MeasuredFileName);
00163
00165
00166 vtkSetStringMacro(MatchFileName);
00167 vtkGetStringMacro(MatchFileName);
00169 private:
00170 vtkEnSightGoldReader(const vtkEnSightGoldReader&);
00171 void operator=(const vtkEnSightGoldReader&);
00172 };
00173
00174 #endif