VTK  9.7.1
vtkUniformGridAMR.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
9 #ifndef vtkUniformGridAMR_h
10 #define vtkUniformGridAMR_h
11 
12 #include "vtkAMRDataObject.h"
13 #include "vtkCommonDataModelModule.h" // For export macro
14 #include "vtkNew.h" // for vtkNew
15 
16 VTK_ABI_NAMESPACE_BEGIN
17 class VTKCOMMONDATAMODEL_EXPORT vtkUniformGridAMR : public vtkAMRDataObject
18 {
19 public:
20  static vtkUniformGridAMR* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
27  int GetDataObjectType() VTK_FUTURE_CONST override { return VTK_UNIFORM_GRID_AMR; }
28 
30 
33  VTK_DEPRECATED_IN_9_6_0("Use vtkAMRDataObject::GetData instead")
35 
37  static vtkUniformGridAMR* GetData(vtkInformationVector* v, int i = 0);
39 
40 protected:
42  ~vtkUniformGridAMR() override;
43 
44 private:
45  vtkUniformGridAMR(const vtkUniformGridAMR&) = delete;
46  void operator=(const vtkUniformGridAMR&) = delete;
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #endif
Store vtkAlgorithm input/output information.
#define VTK_DEPRECATED_IN_9_6_0(reason)
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
Definition: vtkIndent.h:28
static vtkAMRDataObject * New()
int GetDataObjectType() VTK_FUTURE_CONST override
Return class name of data type (see vtkType.h for definitions).
a multi-resolution dataset based on vtkCartesianGrid
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
Store zero or more vtkInformation instances.
Legacy, empty shell inheriting vtkAMRDataObject.