vtkEnSight6Reader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00047 #ifndef __vtkEnSight6Reader_h
00048 #define __vtkEnSight6Reader_h
00049
00050 #include "vtkEnSightReader.h"
00051
00052 class vtkIdTypeArray;
00053 class vtkPoints;
00054
00055 class VTK_IO_EXPORT vtkEnSight6Reader : public vtkEnSightReader
00056 {
00057 public:
00058 static vtkEnSight6Reader *New();
00059 vtkTypeRevisionMacro(vtkEnSight6Reader, vtkEnSightReader);
00060 virtual void PrintSelf(ostream& os, vtkIndent indent);
00061
00062 protected:
00063 vtkEnSight6Reader();
00064 ~vtkEnSight6Reader();
00065
00068 virtual int ReadGeometryFile(char* fileName, int timeStep);
00069
00072 virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep);
00073
00075
00079 virtual int ReadScalarsPerNode(char* fileName, char* description,
00080 int timeStep, int measured = 0,
00081 int numberOfComponents = 1,
00082 int component = 0);
00084
00086
00088 virtual int ReadVectorsPerNode(char* fileName, char* description,
00089 int timeStep, int measured = 0);
00091
00093
00095 virtual int ReadTensorsPerNode(char* fileName, char* description,
00096 int timeStep);
00098
00100
00104 virtual int ReadScalarsPerElement(char* fileName, char* description,
00105 int timeStep, int numberOfComponents = 1,
00106 int component = 0);
00108
00110
00112 virtual int ReadVectorsPerElement(char* fileName, char* description,
00113 int timeStep);
00115
00117
00119 virtual int ReadTensorsPerElement(char* fileName, char* description,
00120 int timeStep);
00122
00124
00126 virtual int CreateUnstructuredGridOutput(int partId,
00127 char line[256],
00128 const char* name);
00130
00132
00134 virtual int CreateStructuredGridOutput(int partId,
00135 char line[256],
00136 const char* name);
00138
00139
00140 int NumberOfUnstructuredPoints;
00141 vtkPoints* UnstructuredPoints;
00142 vtkIdTypeArray* UnstructuredNodeIds;
00143 private:
00144 vtkEnSight6Reader(const vtkEnSight6Reader&);
00145 void operator=(const vtkEnSight6Reader&);
00146 };
00147
00148 #endif