8 #ifndef vtkEnSightReader_h
9 #define vtkEnSightReader_h
12 #include "vtkIOEnSightModule.h"
18 VTK_ABI_NAMESPACE_BEGIN
22 class vtkEnSightReaderCellIdsType;
52 NUMBER_OF_ELEMENT_TYPES = 17
59 TENSOR_SYMM_PER_NODE = 2,
60 SCALAR_PER_ELEMENT = 3,
61 VECTOR_PER_ELEMENT = 4,
62 TENSOR_SYMM_PER_ELEMENT = 5,
63 SCALAR_PER_MEASURED_NODE = 6,
64 VECTOR_PER_MEASURED_NODE = 7,
65 COMPLEX_SCALAR_PER_NODE = 8,
66 COMPLEX_VECTOR_PER_NODE = 9,
67 COMPLEX_SCALAR_PER_ELEMENT = 10,
68 COMPLEX_VECTOR_PER_ELEMENT = 11,
69 TENSOR_ASYM_PER_NODE = 12,
70 TENSOR_ASYM_PER_ELEMENT = 13
139 int ReadCaseFileGeometry(
char* line);
140 int ReadCaseFileVariable(
char* line);
141 int ReadCaseFileTime(
char* line);
142 int ReadCaseFileFile(
char* line);
143 int ReadCaseFileScripts(
char* line);
153 virtual int ReadGeometryFile(
160 virtual int ReadMeasuredGeometryFile(
168 int ReadRigidBodyGeometryFile();
176 int ReadRigidBodyEulerParameterFile(
const char* path);
181 int ReadRigidBodyMatrixLines(
char* line,
vtkTransform* transform,
bool& applyToVectors);
188 int ApplyRigidBodyTransforms(
int partId,
const char*
name,
vtkDataSet* output);
199 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
int timeStep,
207 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
int timeStep,
214 virtual int ReadAsymmetricTensorsPerNode(
221 virtual int ReadTensorsPerNode(
228 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
int timeStep,
235 virtual int ReadVectorsPerElement(
242 virtual int ReadAsymmetricTensorsPerElement(
249 virtual int ReadTensorsPerElement(
256 virtual int CreateUnstructuredGridOutput(
263 virtual int CreateStructuredGridOutput(
269 void AddVariableFileName(
const char* fileName1,
const char* fileName2 =
nullptr);
285 int GetElementType(
const char* line);
291 int GetSectionType(
const char* line);
296 void RemoveLeadingBlanks(
char* line);
383 int CheckOutputConsistency();
442 VTK_ABI_NAMESPACE_END
vtkIdList * UnstructuredPartIds
vtkIdList * FileSetsWithFilenameNumbers
void AddVariableDescription(const char *description)
Add a variable description to the appropriate array.
vtkSmartPointer< vtkDoubleArray > EulerTimeSteps
std::map< std::string, PartTransforms > RigidBodyTransforms
vtkIdList * ComplexVariableFileSetIds
maintain an unordered list of dataset objects
vtkIdListCollection * FileSetNumberOfSteps
std::map< std::string, TimeToEulerTransMapType > TitleToTimeStepMapType
std::map< double, vtkSmartPointer< vtkTransform >> TimeToEulerTransMapType
abstract class to specify dataset behavior
TitleToTimeStepMapType EulerTransformsMap
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
dynamic, self-adjusting array of double
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.