 |
VTK
9.1.0
|
Go to the documentation of this file.
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;
const char * GetSelector(int index) const
API to access selectors.
void ClearSelectors()
API to specify selectors that indicate which branches on the assembly are chosen.
hierarchical representation to use with vtkPartitionedDataSetCollection
vtkDataArraySelection * GetStructuredBlockFieldSelection()
Superclass for readers that implement a simplified API.
static const char * GetDataAssemblyNodeNameForEntityType(int type)
void AddProperty(const char *name, double value)
IOSS databases support various properties that affect how the database is read.
void AddProperty(const char *name, void *value)
IOSS databases support various properties that affect how the database is read.
void SetFileName(VTK_FILEPATH const char *fname)
Set a single filename.
VTK_FILEPATH const char * GetFileName(int index) const
API to set the filenames.
vtkDataArraySelection * GetSideSetSelection()
vtkDataArraySelection * GetFaceBlockSelection()
Reader for IOSS (Sierra IO System)
vtkDataArraySelection * GetFaceBlockFieldSelection()
int ReadMesh(int piece, int npieces, int nghosts, int timestep, vtkDataObject *output) override
Implementation for vtkReaderAlgorithm API.
void RemoveAllSelections()
void ClearProperties()
IOSS databases support various properties that affect how the database is read.
static vtkIOSSReader * New()
vtkDataArraySelection * GetEdgeSetFieldSelection()
Store on/off settings for data arrays for a vtkSource.
void SetSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
void AddProperty(const char *name, const char *value)
IOSS databases support various properties that affect how the database is read.
int GetNumberOfSelectors() const
API to access selectors.
void RemoveAllEntitySelections()
vtkDataArraySelection * GetElementSetFieldSelection()
void SetController(vtkMultiProcessController *controller)
Get/Set the controller to use when working in parallel.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void RemoveProperty(const char *name)
IOSS databases support various properties that affect how the database is read.
void AddProperty(const char *name, int value)
IOSS databases support various properties that affect how the database is read.
Multiprocessing communication superclass.
vtkDataArraySelection * GetEdgeSetSelection()
~vtkIOSSReader() override
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
Overridden to release handles at the end of each pass.
a simple class to control print indentation
void RemoveAllFieldSelections()
vtkDataArraySelection * GetSideSetFieldSelection()
vtkDataArraySelection * GetEdgeBlockSelection()
vtkDataArraySelection * GetNodeBlockFieldSelection()
vtkMTimeType GetMTime() override
Overridden to take into account mtimes for vtkDataArraySelection instances.
int ReadArrays(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetFaceSetSelection()
vtkDataArraySelection * GetStructuredBlockSelection()
static bool GetEntityTypeIsSet(int type)
void SetRemoveUnusedPoints(bool)
Node related data, including point coordinates, point field data etc.
vtkDataArraySelection * GetElementBlockSelection()
vtkDataArraySelection * GetEdgeBlockFieldSelection()
static bool DoTestFilePatternMatching()
Runs a bunch of tests for file pattern matching.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ClearFileNames()
API to set the filenames.
void AddFileName(VTK_FILEPATH const char *fname)
API to set the filenames.
int ReadMetaData(vtkInformation *metadata) override
Implementation for vtkReaderAlgorithm API.
vtkDataArraySelection * GetEntitySelection(int type)
vtkDataArraySelection * GetFaceSetFieldSelection()
int GetNumberOfFileNames() const
API to set the filenames.
bool AddSelector(const char *selector)
API to specify selectors that indicate which branches on the assembly are chosen.
vtkDataArraySelection * GetElementBlockFieldSelection()
vtkDataArraySelection * GetFieldSelection(int type)
vtkDataAssembly * GetAssembly()
Assemblies provide yet another way of selection blocks/sets to load, if available in the dataset.
int ReadPoints(int, int, int, int, vtkDataObject *) override
Implementation for vtkReaderAlgorithm API.
general representation of visualization data
static bool GetEntityTypeIsBlock(int type)
vtkDataArraySelection * GetNodeSetSelection()
vtkDataArraySelection * GetElementSetSelection()
vtkDataArraySelection * GetNodeBlockSelection()
vtkDataArraySelection * GetNodeSetFieldSelection()
vtkTypeUInt32 vtkMTimeType
void SetScanForRelatedFiles(bool value)
When set to true, the reader can automatically locate and load additional files that are part of the ...