VTK  9.5.20250623
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
15#ifndef vtkNonOverlappingAMR_h
16#define vtkNonOverlappingAMR_h
17
18#include "vtkCommonDataModelModule.h" // For export macro
19#include "vtkUniformGridAMR.h"
20
21VTK_ABI_NAMESPACE_BEGIN
22class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
32 int GetDataObjectType() VTK_FUTURE_CONST override { return VTK_NON_OVERLAPPING_AMR; }
33
38 {
39 return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info));
40 }
42 {
43 return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i));
44 }
45
46protected:
49
50private:
52 void operator=(const vtkNonOverlappingAMR&) = delete;
53};
54
55VTK_ABI_NAMESPACE_END
56#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() VTK_FUTURE_CONST 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 multi-resolution dataset based on vtkUniformGrid
@ VTK_NON_OVERLAPPING_AMR
Definition vtkType.h:110