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  =========================================================================*/
29 #ifndef vtkNonOverlappingAMR_h
30 #define vtkNonOverlappingAMR_h
31 
32 #include "vtkCommonDataModelModule.h" // For export macro
33 #include "vtkUniformGridAMR.h"
34 
35 class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR
36 {
37  public:
40  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41 
45  int GetDataObjectType() VTK_OVERRIDE {return VTK_NON_OVERLAPPING_AMR; }
46 
51  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info)); }
53  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i)); }
54 
55  protected:
57  ~vtkNonOverlappingAMR() VTK_OVERRIDE;
58 
59  private:
60  vtkNonOverlappingAMR(const vtkNonOverlappingAMR&) VTK_DELETE_FUNCTION;
61  void operator=(const vtkNonOverlappingAMR&) VTK_DELETE_FUNCTION;
62 };
63 
64 #endif /* vtkNonOverlappingAMR_h */
vtkNonOverlappingAMR::SafeDownCast
static vtkNonOverlappingAMR * SafeDownCast(vtkObjectBase *o)
vtkNonOverlappingAMR::GetDataObjectType
int GetDataObjectType() override
Returns object type (see vtkType.h for definitions).
Definition: vtkNonOverlappingAMR.h:45
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkNonOverlappingAMR::GetData
static vtkNonOverlappingAMR * GetData(vtkInformationVector *v, int i=0)
Definition: vtkNonOverlappingAMR.h:52
vtkUniformGridAMR.h
vtkNonOverlappingAMR::GetData
static vtkNonOverlappingAMR * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
Definition: vtkNonOverlappingAMR.h:50
vtkNonOverlappingAMR::~vtkNonOverlappingAMR
~vtkNonOverlappingAMR() override
vtkNonOverlappingAMR::New
static vtkNonOverlappingAMR * New()
VTK_NON_OVERLAPPING_AMR
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:117
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkNonOverlappingAMR::vtkNonOverlappingAMR
vtkNonOverlappingAMR()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkNonOverlappingAMR::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUniformGridAMR
Definition: vtkUniformGridAMR.h:34
vtkNonOverlappingAMR
A concrete instance of vtkUniformGridAMR to store uniform grids at different levels of resolution tha...
Definition: vtkNonOverlappingAMR.h:36