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