20 #ifndef vtkEnSightReader_h 21 #define vtkEnSightReader_h 23 #include "vtkIOEnSightModule.h" 29 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
106 vtkInformationVector*) VTK_OVERRIDE;
107 int RequestData(vtkInformation*,
108 vtkInformationVector**,
109 vtkInformationVector*) VTK_OVERRIDE;
111 void ClearForNewCaseFileName() VTK_OVERRIDE;
117 vtkSetStringMacro(MeasuredFileName);
124 vtkSetStringMacro(MatchFileName);
132 int ReadCaseFileGeometry(
char* line);
133 int ReadCaseFileVariable(
char* line);
134 int ReadCaseFileTime(
char* line);
135 int ReadCaseFileFile(
char* line);
144 virtual
int ReadGeometryFile(const
char* fileName,
int timeStep,
151 virtual
int ReadMeasuredGeometryFile(const
char* fileName,
int timeStep,
163 virtual
int ReadScalarsPerNode(const
char* fileName, const
char*
description,
165 int measured = 0,
int numberOfComponents = 1,
172 virtual
int ReadVectorsPerNode(const
char* fileName, const
char* description,
174 int measured = 0) = 0;
180 virtual
int ReadTensorsPerNode(const
char* fileName, const
char* description,
187 virtual
int ReadScalarsPerElement(const
char* fileName, const
char* description,
189 int numberOfComponents = 1,
190 int component = 0) = 0;
196 virtual
int ReadVectorsPerElement(const
char* fileName, const
char* description,
203 virtual
int ReadTensorsPerElement(const
char* fileName, const
char* description,
210 virtual
int CreateUnstructuredGridOutput(
int partId,
219 virtual
int CreateStructuredGridOutput(
int partId,
227 void AddVariableFileName(const
char* fileName1, const
char* fileName2 = NULL);
232 void AddVariableDescription(const
char* description);
237 void AddVariableType();
243 int GetElementType(const
char* line);
249 int GetSectionType(const
char *line);
254 void ReplaceWildcards(
char* filename,
int num);
259 void RemoveLeadingBlanks(
char *line);
269 unsigned int blockNo,
277 unsigned int blockNo);
285 char* MeasuredFileName;
289 vtkEnSightReaderCellIdsType* CellIds;
297 char** VariableFileNames;
298 char** ComplexVariableFileNames;
328 float GeometryTimeValue;
329 float MeasuredTimeValue;
333 vtkGetMacro(UseTimeSets,
int);
338 vtkGetMacro(UseFileSets,
int);
341 int NumberOfGeometryParts;
344 int NumberOfMeasuredPoints;
346 int NumberOfNewOutputs;
349 int CheckOutputConsistency();
351 double ActualTimeValue;
maintain an unordered list of dataset objects
abstract class to specify dataset behavior
a simple class to control print indentation
list of point or cell ids
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
superclass for EnSight file readers
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
maintain an ordered list of IdList objects
Composite dataset that organizes datasets into blocks.
class to read any type of EnSight files
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.