28 #ifndef vtkOverlappingAMR_h 29 #define vtkOverlappingAMR_h 31 #include "vtkCommonDataModelModule.h" 62 void SetOrigin(const
double*);
70 void SetSpacing(
unsigned int level, const
double spacing[3]);
71 void GetSpacing(
unsigned int level,
double spacing[3]);
78 void SetAMRBox(
unsigned int level,
unsigned int id, const
vtkAMRBox& box) ;
79 const
vtkAMRBox& GetAMRBox(
unsigned int level,
unsigned int id) ;
85 void GetBounds(
unsigned int level,
unsigned int id,
double* bb);
91 void GetOrigin(
unsigned int level,
unsigned int id,
double origin[3]);
111 void SetRefinementRatio(
unsigned int level,
int refRatio);
116 int GetRefinementRatio(
unsigned int level);
123 void SetAMRBlockSourceIndex(
unsigned int level,
unsigned int id,
int sourceId);
124 int GetAMRBlockSourceIndex(
unsigned int level,
unsigned int id);
135 bool HasChildrenInformation();
141 void GenerateParentChildInformation();
148 unsigned int *GetParents(
unsigned int level,
unsigned int index,
unsigned int& numParents);
155 unsigned int *GetChildren(
unsigned int level,
unsigned int index,
unsigned int& numChildren);
160 void PrintParentChildInfo(
unsigned int level,
unsigned int index);
163 void GetBounds(
double b[6]) { Superclass::GetBounds(b);}
168 bool FindGrid(
double q[3],
unsigned int& level,
unsigned int& gridId);
174 {
return Superclass::GetAMRInfo();}
176 {
return Superclass::SetAMRInfo(
info);}
Encloses a rectangular region of voxel like cells.
void SetAMRInfo(vtkAMRInformation *info) override
superclass for composite data iterators
a simple class to control print indentation
static vtkOverlappingAMR * SafeDownCast(vtkObjectBase *o)
vtkAMRInformation * GetAMRInfo() override
Get/Set the internal representation of amr meta meta data.
hierarchical dataset of vtkUniformGrids
#define VTK_OVERLAPPING_AMR
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
static vtkOverlappingAMR * GetData(vtkInformationVector *v, int i=0)
void GetBounds(double b[6])