VTK  9.2.6
vtkIOSSModel.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIOSSModel.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkIOSSModel_h
25 #define vtkIOSSModel_h
26 
27 #include "vtkObject.h"
28 #include <memory> // for std::unique_ptr
29 
30 // Ioss includes
31 #include <vtk_ioss.h>
32 // clang-format off
33 #include VTK_IOSS(Ioss_Region.h)
34 // clang-format on
35 
36 class vtkIOSSWriter;
38 
40 {
41 public:
43  ~vtkIOSSModel();
44 
45  void DefineModel(Ioss::Region& region) const;
46  void DefineTransient(Ioss::Region& region) const;
47  void Model(Ioss::Region& region) const;
48  void Transient(Ioss::Region& region, double time) const;
49 
56  std::string MD5() const;
57 
58 private:
59  vtkIOSSModel(const vtkIOSSModel&) = delete;
60  void operator=(const vtkIOSSModel&) = delete;
61 
62  class vtkInternals;
63  std::unique_ptr<vtkInternals> Internals;
64 };
65 
66 #endif
67 // VTK-HeaderTest-Exclude: vtkIOSSModel.h
vtkIOSSModel(vtkPartitionedDataSetCollection *pdc, vtkIOSSWriter *self)
void DefineTransient(Ioss::Region &region) const
internal class used by vtkIOSSWriter
Definition: vtkIOSSModel.h:39
std::string MD5() const
Generates an MD5 sum summarizing the model.
void DefineModel(Ioss::Region &region) const
writer using IOSS
Definition: vtkIOSSWriter.h:38
void Transient(Ioss::Region &region, double time) const
void Model(Ioss::Region &region) const
Composite dataset that groups datasets as a collection.