IO/vtkEnSight6Reader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00041 #ifndef __vtkEnSight6Reader_h
00042 #define __vtkEnSight6Reader_h
00043
00044 #include "vtkEnSightReader.h"
00045
00046 class vtkIdTypeArray;
00047 class vtkPoints;
00048
00049 class VTK_IO_EXPORT vtkEnSight6Reader : public vtkEnSightReader
00050 {
00051 public:
00052 static vtkEnSight6Reader *New();
00053 vtkTypeRevisionMacro(vtkEnSight6Reader, vtkEnSightReader);
00054 virtual void PrintSelf(ostream& os, vtkIndent indent);
00055
00056 protected:
00057 vtkEnSight6Reader();
00058 ~vtkEnSight6Reader();
00059
00062 virtual int ReadGeometryFile(char* fileName, int timeStep);
00063
00066 virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep);
00067
00069
00073 virtual int ReadScalarsPerNode(char* fileName, char* description,
00074 int timeStep, int measured = 0,
00075 int numberOfComponents = 1,
00076 int component = 0);
00078
00080
00082 virtual int ReadVectorsPerNode(char* fileName, char* description,
00083 int timeStep, int measured = 0);
00085
00087
00089 virtual int ReadTensorsPerNode(char* fileName, char* description,
00090 int timeStep);
00092
00094
00098 virtual int ReadScalarsPerElement(char* fileName, char* description,
00099 int timeStep, int numberOfComponents = 1,
00100 int component = 0);
00102
00104
00106 virtual int ReadVectorsPerElement(char* fileName, char* description,
00107 int timeStep);
00109
00111
00113 virtual int ReadTensorsPerElement(char* fileName, char* description,
00114 int timeStep);
00116
00119 virtual int CreateUnstructuredGridOutput(int partId, char line[256]);
00120
00123 virtual int CreateStructuredGridOutput(int partId, char line[256]);
00124
00125
00126 int NumberOfUnstructuredPoints;
00127 vtkPoints* UnstructuredPoints;
00128 vtkIdTypeArray* UnstructuredNodeIds;
00129 private:
00130 vtkEnSight6Reader(const vtkEnSight6Reader&);
00131 void operator=(const vtkEnSight6Reader&);
00132 };
00133
00134 #endif