171 #ifndef vtkIOSSReader_h
172 #define vtkIOSSReader_h
174 #include "vtkIOIOSSModule.h"
209 vtkSetStringMacro(DatabaseTypeOverride);
210 vtkGetStringMacro(DatabaseTypeOverride);
219 vtkGetMacro(ScanForRelatedFiles,
bool);
220 vtkBooleanMacro(ScanForRelatedFiles,
bool);
237 vtkSetVector2Macro(FileRange,
int);
238 vtkGetVector2Macro(FileRange,
int);
240 vtkGetMacro(FileStride,
int);
251 vtkSetMacro(GenerateFileId,
bool);
252 vtkGetMacro(GenerateFileId,
bool);
253 vtkBooleanMacro(GenerateFileId,
bool);
261 vtkSetMacro(ReadIds,
bool);
262 vtkGetMacro(ReadIds,
bool);
263 vtkBooleanMacro(ReadIds,
bool);
276 vtkGetMacro(RemoveUnusedPoints,
bool);
277 vtkBooleanMacro(RemoveUnusedPoints,
bool);
285 vtkSetMacro(ApplyDisplacements,
bool);
286 vtkGetMacro(ApplyDisplacements,
bool);
287 vtkBooleanMacro(ApplyDisplacements,
bool);
294 vtkSetMacro(ReadGlobalFields,
bool);
295 vtkGetMacro(ReadGlobalFields,
bool);
296 vtkBooleanMacro(ReadGlobalFields,
bool);
304 vtkSetMacro(ReadQAAndInformationRecords,
bool);
305 vtkGetMacro(ReadQAAndInformationRecords,
bool);
306 vtkBooleanMacro(ReadQAAndInformationRecords,
bool);
354 BLOCK_START = NODEBLOCK,
357 SET_END = NUMBER_OF_ENTITY_TYPES,
358 ENTITY_START = NODEBLOCK,
359 ENTITY_END = NUMBER_OF_ENTITY_TYPES,
372 return this->GetEntitySelection(ELEMENTBLOCK);
376 return this->GetEntitySelection(STRUCTUREDBLOCK);
390 return this->GetFieldSelection(ELEMENTBLOCK);
394 return this->GetFieldSelection(STRUCTUREDBLOCK);
401 return this->GetFieldSelection(ELEMENTSET);
409 this->RemoveAllEntitySelections();
410 this->RemoveAllFieldSelections();
435 vtkGetMacro(AssemblyTag,
int);
494 bool ScanForRelatedFiles;
496 bool RemoveUnusedPoints;
497 bool ApplyDisplacements;
498 bool ReadGlobalFields;
499 bool ReadQAAndInformationRecords;
500 char* DatabaseTypeOverride;
506 vtkInternals* Internals;
Store on/off settings for data arrays for a vtkSource.
hierarchical representation to use with vtkPartitionedDataSetCollection
general representation of visualization data
Reader for IOSS (Sierra IO System)
vtkDataArraySelection * GetEdgeSetSelection()
void RemoveAllEntitySelections()
vtkDataArraySelection * GetEdgeBlockFieldSelection()
vtkDataArraySelection * GetNodeBlockFieldSelection()
void AddFileName(VTK_FILEPATH const char *fname)
API to set the filenames.
int GetNumberOfSelectors() const
API to access selectors.
vtkDataArraySelection * GetNodeSetFieldSelection()
int ReadArrays(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
void RemoveAllFieldSelections()
void RemoveAllSelections()
~vtkIOSSReader() override
int ReadPoints(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetElementSetFieldSelection()
vtkDataArraySelection * GetEntitySelection(int type)
vtkDataArraySelection * GetSideSetFieldSelection()
void ClearProperties()
IOSS databases support various properties that affect how the database is read.
vtkDataArraySelection * GetElementSetSelection()
vtkDataArraySelection * GetFieldSelection(int type)
static const char * GetDataAssemblyNodeNameForEntityType(int type)
vtkDataArraySelection * GetFaceSetFieldSelection()
vtkDataArraySelection * GetFaceBlockSelection()
vtkDataArraySelection * GetStructuredBlockFieldSelection()
vtkDataArraySelection * GetFaceBlockFieldSelection()
static bool GetEntityTypeIsSet(int type)
void AddProperty(const char *name, int value)
IOSS databases support various properties that affect how the database is read.
vtkDataArraySelection * GetEdgeSetFieldSelection()
vtkDataArraySelection * GetStructuredBlockSelection()
void SetRemoveUnusedPoints(bool)
Node related data, including point coordinates, point field data etc.
vtkMTimeType GetMTime() override
Overridden to take into account mtimes for vtkDataArraySelection instances.
int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Implementation for vtkReaderAlgorithm API.
int ReadMetaData(vtkInformation *metadata) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetElementBlockSelection()
const char * GetSelector(int index) const
API to access selectors.
void SetFileName(VTK_FILEPATH const char *fname)
Set a single filename.
vtkDataArraySelection * GetNodeBlockSelection()
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Overridden to release handles at the end of each pass.
void RemoveProperty(const char *name)
IOSS databases support various properties that affect how the database is read.
void ClearFileNames()
API to set the filenames.
void AddProperty(const char *name, const char *value)
IOSS databases support various properties that affect how the database is read.
vtkDataArraySelection * GetElementBlockFieldSelection()
static bool GetEntityTypeIsBlock(int type)
void SetController(vtkMultiProcessController *controller)
Get/Set the controller to use when working in parallel.
int GetNumberOfFileNames() const
API to set the filenames.
vtkDataArraySelection * GetFaceSetSelection()
bool AddSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
static vtkIOSSReader * New()
vtkDataArraySelection * GetSideSetSelection()
void SetScanForRelatedFiles(bool value)
When set to true, the reader can automatically locate and load additional files that are part of the ...
void AddProperty(const char *name, double value)
IOSS databases support various properties that affect how the database is read.
VTK_FILEPATH const char * GetFileName(int index) const
API to set the filenames.
vtkDataArraySelection * GetNodeSetSelection()
vtkDataArraySelection * GetEdgeBlockSelection()
vtkDataAssembly * GetAssembly()
Assemblies provide yet another way of selection blocks/sets to load, if available in the dataset.
void ClearSelectors()
API to specify selectors that indicate which branches on the assembly are chosen.
static bool DoTestFilePatternMatching()
Runs a bunch of tests for file pattern matching.
void AddProperty(const char *name, void *value)
IOSS databases support various properties that affect how the database is read.
void SetSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Multiprocessing communication superclass.
Superclass for readers that implement a simplified API.
vtkTypeUInt32 vtkMTimeType