20 #ifndef vtkEnSightReader_h
21 #define vtkEnSightReader_h
25 #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,
75 TENSOR_ASYM_PER_NODE = 12,
76 TENSOR_ASYM_PER_ELEMENT = 13
130 int ReadCaseFileGeometry(
char* line);
131 int ReadCaseFileVariable(
char* line);
132 int ReadCaseFileTime(
char* line);
133 int ReadCaseFileFile(
char* line);
142 virtual int ReadGeometryFile(
149 virtual int ReadMeasuredGeometryFile(
161 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
int timeStep,
169 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
int timeStep,
176 virtual int ReadAsymmetricTensorsPerNode(
183 virtual int ReadTensorsPerNode(
190 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
int timeStep,
197 virtual int ReadVectorsPerElement(
204 virtual int ReadAsymmetricTensorsPerElement(
211 virtual int ReadTensorsPerElement(
218 virtual int CreateUnstructuredGridOutput(
225 virtual int CreateStructuredGridOutput(
231 void AddVariableFileName(
const char* fileName1,
const char* fileName2 =
nullptr);
247 int GetElementType(
const char* line);
253 int GetSectionType(
const char* line);
259 void ReplaceWildcards(
char* filename,
int num);
267 void RemoveLeadingBlanks(
char* line);
289 char* MeasuredFileName;
293 vtkEnSightReaderCellIdsType* CellIds;
301 char** VariableFileNames;
302 char** ComplexVariableFileNames;
332 float GeometryTimeValue;
333 float MeasuredTimeValue;
337 vtkGetMacro(UseTimeSets, vtkTypeBool);
338 vtkBooleanMacro(UseTimeSets, vtkTypeBool);
340 vtkTypeBool UseFileSets;
341 vtkSetMacro(UseFileSets, vtkTypeBool);
342 vtkGetMacro(UseFileSets, vtkTypeBool);
343 vtkBooleanMacro(UseFileSets, vtkTypeBool);
345 int NumberOfGeometryParts;
348 int NumberOfMeasuredPoints;
350 int NumberOfNewOutputs;
353 int CheckOutputConsistency();
355 double ActualTimeValue;
void AddVariableDescription(const char *description)
Add a variable description to the appropriate array.
#define VTK_DEPRECATED_IN_9_1_0(reason)
maintain an unordered list of dataset objects
abstract class to specify dataset behavior
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void AddVariableType(int variableType)
Add a variable type to the appropriate array.
a simple class to control print indentation
list of point or cell ids
superclass for EnSight file readers
vtkGetFilePathMacro(CaseFileName)
Set/Get the Case file name.
virtual void ClearForNewCaseFileName()
Clear data structures such that setting a new case file name works.
maintain an ordered list of IdList objects
Composite dataset that organizes datasets into blocks.
class to read any type of EnSight files
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FilePath)
Set/Get the file path.