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
114 vtkGetMacro(ParticleCoordinatesByIndex,
int);
135 vtkSetStringMacro(MeasuredFileName);
142 vtkSetStringMacro(MatchFileName);
150 int ReadCaseFileGeometry(
char* line);
151 int ReadCaseFileVariable(
char* line);
152 int ReadCaseFileTime(
char* line);
153 int ReadCaseFileFile(
char* line);
162 virtual int ReadGeometryFile(
const char* fileName,
int timeStep,
169 virtual int ReadMeasuredGeometryFile(
const char* fileName,
int timeStep,
181 virtual int ReadScalarsPerNode(
const char* fileName,
const char*
description,
183 int measured = 0,
int numberOfComponents = 1,
190 virtual int ReadVectorsPerNode(
const char* fileName,
const char*
description,
192 int measured = 0) = 0;
198 virtual int ReadTensorsPerNode(
const char* fileName,
const char*
description,
205 virtual int ReadScalarsPerElement(
const char* fileName,
const char*
description,
207 int numberOfComponents = 1,
214 virtual int ReadVectorsPerElement(
const char* fileName,
const char*
description,
221 virtual int ReadTensorsPerElement(
const char* fileName,
const char*
description,
228 virtual int CreateUnstructuredGridOutput(
int partId,
237 virtual int CreateStructuredGridOutput(
int partId,
245 void AddVariableFileName(
const char* fileName1,
const char* fileName2 = NULL);
261 int GetElementType(
const char* line);
267 int GetSectionType(
const char *line);
277 void RemoveLeadingBlanks(
char *line);
287 unsigned int blockNo,
295 unsigned int blockNo);
351 vtkGetMacro(UseTimeSets,
int);
356 vtkGetMacro(UseFileSets,
int);
367 int CheckOutputConsistency();
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
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkIdList * TimeSetsWithFilenameNumbers
int ReplaceWildcards(char *fileName, int timeSet, int fileSet)
Replace the wildcards in the geometry file name with appropriate filename numbers as specified in the...
superclass for EnSight file readers
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
CellTypeInDataSet cellType(vtkDataSet *input)
virtual void ClearForNewCaseFileName()
Clear data structures such that setting a new case file name works.
int NumberOfMeasuredPoints
maintain an unordered list of dataarray objects
char ** VariableFileNames
Composite dataset that organizes datasets into blocks.
vtkIdList * VariableTimeSetIds
int ParticleCoordinatesByIndex
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)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.