19 #ifndef vtkEnSightReader_h
20 #define vtkEnSightReader_h
28 class vtkEnSightReaderCellIdsType;
58 NUMBER_OF_ELEMENT_TYPES = 17
65 TENSOR_SYMM_PER_NODE = 2,
66 SCALAR_PER_ELEMENT = 3,
67 VECTOR_PER_ELEMENT = 4,
68 TENSOR_SYMM_PER_ELEMENT = 5,
69 SCALAR_PER_MEASURED_NODE = 6,
70 VECTOR_PER_MEASURED_NODE = 7,
71 COMPLEX_SCALAR_PER_NODE = 8,
72 COMPLEX_VECTOR_PER_NODE = 9,
73 COMPLEX_SCALAR_PER_ELEMENT = 10,
74 COMPLEX_VECTOR_PER_ELEMENT = 11
88 vtkGetStringMacro(MeasuredFileName);
94 vtkGetStringMacro(MatchFileName);
106 vtkSetMacro(ParticleCoordinatesByIndex,
int);
107 vtkGetMacro(ParticleCoordinatesByIndex,
int);
108 vtkBooleanMacro(ParticleCoordinatesByIndex,
int);
126 vtkSetStringMacro(MeasuredFileName);
131 vtkSetStringMacro(MatchFileName);
138 int ReadCaseFileGeometry(
char* line);
139 int ReadCaseFileVariable(
char* line);
140 int ReadCaseFileTime(
char* line);
141 int ReadCaseFileFile(
char* line);
150 virtual int ReadGeometryFile(
const char* fileName,
int timeStep,
157 virtual int ReadMeasuredGeometryFile(
const char* fileName,
int timeStep,
168 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
170 int measured = 0,
int numberOfComponents = 1,
177 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
179 int measured = 0) = 0;
185 virtual int ReadTensorsPerNode(
const char* fileName,
const char*
description,
192 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
194 int numberOfComponents = 1,
201 virtual int ReadVectorsPerElement(
const char* fileName,
const char*
description,
208 virtual int ReadTensorsPerElement(
const char* fileName,
const char*
description,
215 virtual int CreateUnstructuredGridOutput(
int partId,
224 virtual int CreateStructuredGridOutput(
int partId,
231 void AddVariableFileName(
const char* fileName1,
const char* fileName2 = NULL);
241 int GetElementType(
const char* line);
245 int GetSectionType(
const char *line);
251 void RemoveLeadingBlanks(
char *line);
260 unsigned int blockNo,
268 unsigned int blockNo);
324 vtkSetMacro(UseTimeSets,
int);
325 vtkGetMacro(UseTimeSets,
int);
326 vtkBooleanMacro(UseTimeSets,
int);
329 vtkSetMacro(UseFileSets,
int);
330 vtkGetMacro(UseFileSets,
int);
331 vtkBooleanMacro(UseFileSets,
int);
341 int CheckOutputConsistency();
vtkIdList * UnstructuredPartIds
vtkIdList * FileSetsWithFilenameNumbers
void AddVariableDescription(const char *description)
vtkIdList * ComplexVariableFileSetIds
maintain an unordered list of dataset objects
vtkIdListCollection * FileSetNumberOfSteps
abstract class to specify dataset behavior
void AddVariableType(int variableType)
int NumberOfGeometryParts
vtkEnSightReaderCellIdsType * CellIds
vtkIdListCollection * TimeSetFileNameNumbers
vtkIdList * ComplexVariableTimeSetIds
vtkIdList * VariableFileSetIds
char ** ComplexVariableFileNames
a simple class to control print indentation
vtkIdListCollection * FileSetFileNameNumbers
list of point or cell ids
vtkIdList * TimeSetsWithFilenameNumbers
int ReplaceWildcards(char *fileName, int timeSet, int fileSet)
superclass for EnSight file readers
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
CellTypeInDataSet cellType(vtkDataSet *input)
virtual void ClearForNewCaseFileName()
int NumberOfMeasuredPoints
maintain an unordered list of dataarray objects
char ** VariableFileNames
Composite dataset that organizes datasets into blocks.
vtkIdList * VariableTimeSetIds
int ParticleCoordinatesByIndex
#define VTKIOENSIGHT_EXPORT
class to read any type of EnSight files
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)