8 #ifndef vtkEnSightReader_h
9 #define vtkEnSightReader_h
12 #include "vtkIOEnSightModule.h"
14 VTK_ABI_NAMESPACE_BEGIN
17 class vtkEnSightReaderCellIdsType;
46 NUMBER_OF_ELEMENT_TYPES = 17
53 TENSOR_SYMM_PER_NODE = 2,
54 SCALAR_PER_ELEMENT = 3,
55 VECTOR_PER_ELEMENT = 4,
56 TENSOR_SYMM_PER_ELEMENT = 5,
57 SCALAR_PER_MEASURED_NODE = 6,
58 VECTOR_PER_MEASURED_NODE = 7,
59 COMPLEX_SCALAR_PER_NODE = 8,
60 COMPLEX_VECTOR_PER_NODE = 9,
61 COMPLEX_SCALAR_PER_ELEMENT = 10,
62 COMPLEX_VECTOR_PER_ELEMENT = 11,
63 TENSOR_ASYM_PER_NODE = 12,
64 TENSOR_ASYM_PER_ELEMENT = 13
118 int ReadCaseFileGeometry(
char* line);
119 int ReadCaseFileVariable(
char* line);
120 int ReadCaseFileTime(
char* line);
121 int ReadCaseFileFile(
char* line);
122 int ReadCaseFileScripts(
char* line);
132 virtual int ReadGeometryFile(
139 virtual int ReadMeasuredGeometryFile(
151 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
int timeStep,
159 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
int timeStep,
166 virtual int ReadAsymmetricTensorsPerNode(
173 virtual int ReadTensorsPerNode(
180 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
int timeStep,
187 virtual int ReadVectorsPerElement(
194 virtual int ReadAsymmetricTensorsPerElement(
201 virtual int ReadTensorsPerElement(
208 virtual int CreateUnstructuredGridOutput(
215 virtual int CreateStructuredGridOutput(
221 void AddVariableFileName(
const char* fileName1,
const char* fileName2 =
nullptr);
237 int GetElementType(
const char* line);
243 int GetSectionType(
const char* line);
248 void RemoveLeadingBlanks(
char* line);
334 int CheckOutputConsistency();
343 VTK_ABI_NAMESPACE_END
vtkIdList * UnstructuredPartIds
vtkIdList * FileSetsWithFilenameNumbers
void AddVariableDescription(const char *description)
Add a variable description to the appropriate array.
vtkIdList * ComplexVariableFileSetIds
maintain an unordered list of dataset objects
vtkIdListCollection * FileSetNumberOfSteps
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.
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
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.
int NumberOfMeasuredPoints
maintain an ordered list of IdList objects
char ** VariableFileNames
Composite dataset that organizes datasets into blocks.
vtkIdList * VariableTimeSetIds
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.