VTK  9.4.20250219
vtkIOSSModel.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
12#ifndef vtkIOSSModel_h
13#define vtkIOSSModel_h
14
15#include "vtkObject.h"
16#include <memory> // for std::unique_ptr
17
18// Ioss includes
19#include <vtk_ioss.h>
20// clang-format off
21#include VTK_IOSS(Ioss_Region.h)
22// clang-format on
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkIOSSWriter;
27
29{
30public:
33
34 void DefineModel(Ioss::Region& region) const;
35 void DefineTransient(Ioss::Region& region) const;
36 void Model(Ioss::Region& region) const;
37 void Transient(Ioss::Region& region, double time) const;
38
45 std::string MD5() const;
46
51 bool GlobalIdsCreated() const;
52
57 bool GlobalIdsModified() const;
58
63
68 bool ElementSideModified() const;
69
75
76private:
77 vtkIOSSModel(const vtkIOSSModel&) = delete;
78 void operator=(const vtkIOSSModel&) = delete;
79
80 class vtkInternals;
81 std::unique_ptr<vtkInternals> Internals;
82};
83VTK_ABI_NAMESPACE_END
84
85#endif
86// VTK-HeaderTest-Exclude: vtkIOSSModel.h
internal class used by vtkIOSSWriter
bool ElementSideCouldNotBeModified() const
Returns true if the element_side was invalid, and therefore could not be modified for this model.
void Model(Ioss::Region &region) const
void DefineModel(Ioss::Region &region) const
bool ElementSideModified() const
Returns true if the element_side has been modified for this model, because it was invalid.
bool GlobalIdsCreated() const
Returns true if the global ids have been created for this model, because they were not present in the...
bool ElementSideCouldNotBeCreated() const
Returns true if the element_side was not present for this model.
vtkIOSSModel(vtkPartitionedDataSetCollection *pdc, vtkIOSSWriter *self)
void Transient(Ioss::Region &region, double time) const
std::string MD5() const
Generates an MD5 sum summarizing the model.
bool GlobalIdsModified() const
Returns true if the global ids have been modified for this model, because they were invalid in the in...
void DefineTransient(Ioss::Region &region) const
Writer for IOSS (Sierra IO System)
Composite dataset that groups datasets as a collection.