VTK  9.3.1
vtkNonOverlappingAMR.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 vtkNonOverlappingAMR_h
13 #define vtkNonOverlappingAMR_h
14 
15 #include "vtkCommonDataModelModule.h" // For export macro
16 #include "vtkUniformGridAMR.h"
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR
20 {
21 public:
22  static vtkNonOverlappingAMR* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
29  int GetDataObjectType() override { return VTK_NON_OVERLAPPING_AMR; }
30 
35  {
37  }
39  {
41  }
42 
43 protected:
45  ~vtkNonOverlappingAMR() override;
46 
47 private:
49  void operator=(const vtkNonOverlappingAMR&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif /* vtkNonOverlappingAMR_h */
static vtkUniformGridAMR * New()
Store vtkAlgorithm input/output information.
static vtkNonOverlappingAMR * GetData(vtkInformationVector *v, int i=0)
static vtkNonOverlappingAMR * SafeDownCast(vtkObjectBase *o)
int GetDataObjectType() override
Returns object type (see vtkType.h for definitions).
A concrete instance of vtkUniformGridAMR to store uniform grids at different levels of resolution tha...
static vtkNonOverlappingAMR * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
a simple class to control print indentation
Definition: vtkIndent.h:28
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:95
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
a concrete implementation of vtkCompositeDataSet