VTK
vtkNonOverlappingAMR.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkNonOverlappingAMR.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14  =========================================================================*/
26 #ifndef vtkNonOverlappingAMR_h
27 #define vtkNonOverlappingAMR_h
28 
29 #include "vtkCommonDataModelModule.h" // For export macro
30 #include "vtkUniformGridAMR.h"
31 
32 class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR
33 {
34  public:
35  static vtkNonOverlappingAMR* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
42  int GetDataObjectType() override {return VTK_NON_OVERLAPPING_AMR; }
43 
48  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info)); }
50  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i)); }
51 
52  protected:
54  ~vtkNonOverlappingAMR() override;
55 
56  private:
58  void operator=(const vtkNonOverlappingAMR&) = delete;
59 };
60 
61 #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:39
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:121
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.