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
35class 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 */
a simple class to control print indentation
Definition: vtkIndent.h:40
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.
@ info
Definition: vtkX3D.h:376
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:117