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)
void RemoveAllEntitySelections()
vtkDataArraySelection * GetFaceSetSelection()
static const char * GetDataAssemblyNodeNameForEntityType(int type)
void AddFileName(VTK_FILEPATH const char *fname)
API to set the filenames.
int GetNumberOfSelectors() const
API to access selectors.
int ReadArrays(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
VTK_FILEPATH const char * GetFileName(int index) const
API to set the filenames.
void RemoveAllFieldSelections()
void RemoveAllSelections()
~vtkIOSSReader() override
int ReadPoints(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetSideSetFieldSelection()
vtkDataArraySelection * GetNodeBlockFieldSelection()
vtkDataArraySelection * GetEdgeSetFieldSelection()
vtkDataArraySelection * GetElementBlockSelection()
vtkDataArraySelection * GetEntitySelection(int type)
void ClearProperties()
IOSS databases support various properties that affect how the database is read.
static vtkIOSSReader * New()
vtkDataArraySelection * GetFaceSetFieldSelection()
vtkDataAssembly * GetAssembly()
Assemblies provide yet another way of selection blocks/sets to load, if available in the dataset.
vtkDataArraySelection * GetElementBlockFieldSelection()
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 * GetElementSetFieldSelection()
vtkDataArraySelection * GetEdgeBlockFieldSelection()
void SetRemoveUnusedPoints(bool)
Node related data, including point coordinates, point field data etc.
vtkDataArraySelection * GetSideSetSelection()
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.
vtkDataArraySelection * GetFaceBlockSelection()
int ReadMetaData(vtkInformation *metadata) override
Implementation for vtkReaderAlgorithm API.
void SetFileName(VTK_FILEPATH const char *fname)
Set a single filename.
const char * GetSelector(int index) const
API to access selectors.
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.
vtkDataArraySelection * GetNodeBlockSelection()
vtkDataArraySelection * GetNodeSetFieldSelection()
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.
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 * GetStructuredBlockFieldSelection()
bool AddSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
vtkDataArraySelection * GetNodeSetSelection()
void SetScanForRelatedFiles(bool value)
When set to true, the reader can automatically locate and load additional files that are part of the ...
vtkDataArraySelection * GetFieldSelection(int type)
void AddProperty(const char *name, double value)
IOSS databases support various properties that affect how the database is read.
vtkDataArraySelection * GetFaceBlockFieldSelection()
vtkDataArraySelection * GetEdgeBlockSelection()
vtkDataArraySelection * GetEdgeSetSelection()
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.
vtkDataArraySelection * GetElementSetSelection()
vtkDataArraySelection * GetStructuredBlockSelection()
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