VTK  9.1.0
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 =========================================================================*/
24#ifndef vtkNonOverlappingAMR_h
25#define vtkNonOverlappingAMR_h
26
27#include "vtkCommonDataModelModule.h" // For export macro
28#include "vtkUniformGridAMR.h"
29
30class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
40 int GetDataObjectType() override { return VTK_NON_OVERLAPPING_AMR; }
41
46 {
47 return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info));
48 }
50 {
51 return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i));
52 }
53
54protected:
57
58private:
60 void operator=(const vtkNonOverlappingAMR&) = delete;
61};
62
63#endif /* vtkNonOverlappingAMR_h */
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:107