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  =========================================================================*/
28 #ifndef VTKNONOVERLAPPINGAMR_H_
29 #define VTKNONOVERLAPPINGAMR_H_
30 
31 #include "vtkCommonDataModelModule.h" // For export macro
32 #include "vtkUniformGridAMR.h"
33 
35 {
36  public:
37  static vtkNonOverlappingAMR* New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42  virtual int GetDataObjectType() {return VTK_NON_OVERLAPPING_AMR; }
43 
44  //BTX
46 
48  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info)); }
50  { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i)); }
51  //ETX
53 
54  protected:
56  virtual ~vtkNonOverlappingAMR();
57 
58  private:
59  vtkNonOverlappingAMR(const vtkNonOverlappingAMR&); // Not implemented
60  void operator=(const vtkNonOverlappingAMR&); // Not implemented
61 };
62 
63 #endif /* VTKNONOVERLAPPINGAMR_H_ */
static vtkUniformGridAMR * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
static vtkNonOverlappingAMR * GetData(vtkInformationVector *v, int i=0)
static vtkNonOverlappingAMR * SafeDownCast(vtkObjectBase *o)
static vtkNonOverlappingAMR * GetData(vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTK_NON_OVERLAPPING_AMR
Definition: vtkType.h:96
virtual int GetDataObjectType()
Store zero or more vtkInformation instances.
#define VTKCOMMONDATAMODEL_EXPORT