19 #ifndef __vtkEnSightReader_h
20 #define __vtkEnSightReader_h
27 class vtkEnSightReaderCellIdsType;
57 NUMBER_OF_ELEMENT_TYPES = 17
64 TENSOR_SYMM_PER_NODE = 2,
65 SCALAR_PER_ELEMENT = 3,
66 VECTOR_PER_ELEMENT = 4,
67 TENSOR_SYMM_PER_ELEMENT = 5,
68 SCALAR_PER_MEASURED_NODE = 6,
69 VECTOR_PER_MEASURED_NODE = 7,
70 COMPLEX_SCALAR_PER_NODE = 8,
71 COMPLEX_VECTOR_PER_NODE = 9,
72 COMPLEX_SCALAR_PER_ELEMENT = 10,
73 COMPLEX_VECTOR_PER_ELEMENT = 11
87 vtkGetStringMacro(MeasuredFileName);
93 vtkGetStringMacro(MatchFileName);
105 vtkSetMacro(ParticleCoordinatesByIndex,
int);
106 vtkGetMacro(ParticleCoordinatesByIndex,
int);
107 vtkBooleanMacro(ParticleCoordinatesByIndex,
int);
123 vtkSetStringMacro(MeasuredFileName);
128 vtkSetStringMacro(MatchFileName);
135 int ReadCaseFileGeometry(
char* line);
136 int ReadCaseFileVariable(
char* line);
137 int ReadCaseFileTime(
char* line);
138 int ReadCaseFileFile(
char* line);
147 virtual int ReadGeometryFile(
const char* fileName,
int timeStep,
154 virtual int ReadMeasuredGeometryFile(
const char* fileName,
int timeStep,
165 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
167 int measured = 0,
int numberOfComponents = 1,
174 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
176 int measured = 0) = 0;
182 virtual int ReadTensorsPerNode(
const char* fileName,
const char*
description,
189 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
191 int numberOfComponents = 1,
198 virtual int ReadVectorsPerElement(
const char* fileName,
const char*
description,
205 virtual int ReadTensorsPerElement(
const char* fileName,
const char*
description,
212 virtual int CreateUnstructuredGridOutput(
int partId,
221 virtual int CreateStructuredGridOutput(
int partId,
228 void AddVariableFileName(
const char* fileName1,
const char* fileName2 = NULL);
238 int GetElementType(
const char* line);
242 int GetSectionType(
const char *line);
248 void RemoveLeadingBlanks(
char *line);
257 unsigned int blockNo,
265 unsigned int blockNo);
321 vtkSetMacro(UseTimeSets,
int);
322 vtkGetMacro(UseTimeSets,
int);
323 vtkBooleanMacro(UseTimeSets,
int);
326 vtkSetMacro(UseFileSets,
int);
327 vtkGetMacro(UseFileSets,
int);
328 vtkBooleanMacro(UseFileSets,
int);
338 int CheckOutputConsistency();