VTK: Common/DataModel/vtkNonOverlappingAMR.h Source File

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