00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00037 #ifndef __vtkEnSight6Reader_h
00038 #define __vtkEnSight6Reader_h
00039
00040 #include "vtkEnSightReader.h"
00041
00042 class vtkIdTypeArray;
00043 class vtkPoints;
00044
00045 class VTK_IO_EXPORT vtkEnSight6Reader : public vtkEnSightReader
00046 {
00047 public:
00048 static vtkEnSight6Reader *New();
00049 vtkTypeRevisionMacro(vtkEnSight6Reader, vtkEnSightReader);
00050 virtual void PrintSelf(ostream& os, vtkIndent indent);
00051
00052 protected:
00053 vtkEnSight6Reader();
00054 ~vtkEnSight6Reader();
00055
00058 virtual int ReadGeometryFile(const char* fileName, int timeStep);
00059
00062 virtual int ReadMeasuredGeometryFile(const char* fileName, int timeStep);
00063
00065
00069 virtual int ReadScalarsPerNode(const char* fileName, const char* description,
00070 int timeStep, int measured = 0,
00071 int numberOfComponents = 1,
00072 int component = 0);
00074
00076
00078 virtual int ReadVectorsPerNode(const char* fileName, const char* description,
00079 int timeStep, int measured = 0);
00081
00083
00085 virtual int ReadTensorsPerNode(const char* fileName, const char* description,
00086 int timeStep);
00088
00090
00094 virtual int ReadScalarsPerElement(const char* fileName, const char* description,
00095 int timeStep, int numberOfComponents = 1,
00096 int component = 0);
00098
00100
00102 virtual int ReadVectorsPerElement(const char* fileName, const char* description,
00103 int timeStep);
00105
00107
00109 virtual int ReadTensorsPerElement(const char* fileName, const char* description,
00110 int timeStep);
00112
00114
00116 virtual int CreateUnstructuredGridOutput(int partId,
00117 char line[256],
00118 const char* name);
00120
00122
00124 virtual int CreateStructuredGridOutput(int partId,
00125 char line[256],
00126 const char* name);
00128
00129
00130 int NumberOfUnstructuredPoints;
00131 vtkPoints* UnstructuredPoints;
00132 vtkIdTypeArray* UnstructuredNodeIds;
00133 private:
00134 vtkEnSight6Reader(const vtkEnSight6Reader&);
00135 void operator=(const vtkEnSight6Reader&);
00136 };
00137
00138 #endif