VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkNonOverlappingAMR.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef VTKNONOVERLAPPINGAMR_H_ 00029 #define VTKNONOVERLAPPINGAMR_H_ 00030 00031 #include "vtkCommonDataModelModule.h" // For export macro 00032 #include "vtkUniformGridAMR.h" 00033 00034 class VTKCOMMONDATAMODEL_EXPORT vtkNonOverlappingAMR : public vtkUniformGridAMR 00035 { 00036 public: 00037 static vtkNonOverlappingAMR* New(); 00038 vtkTypeMacro(vtkNonOverlappingAMR,vtkUniformGridAMR); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 virtual int GetDataObjectType() {return VTK_NON_OVERLAPPING_AMR; } 00043 00044 //BTX 00046 00047 static vtkNonOverlappingAMR* GetData(vtkInformation* info) 00048 { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(info)); } 00049 static vtkNonOverlappingAMR* GetData(vtkInformationVector* v, int i=0) 00050 { return vtkNonOverlappingAMR::SafeDownCast(Superclass::GetData(v, i)); } 00051 //ETX 00053 00054 protected: 00055 vtkNonOverlappingAMR(); 00056 virtual ~vtkNonOverlappingAMR(); 00057 00058 private: 00059 vtkNonOverlappingAMR(const vtkNonOverlappingAMR&); // Not implemented 00060 void operator=(const vtkNonOverlappingAMR&); // Not implemented 00061 }; 00062 00063 #endif /* VTKNONOVERLAPPINGAMR_H_ */