34 #ifndef vtkOverlappingAMR_h 35 #define vtkOverlappingAMR_h 37 #include "vtkCommonDataModelModule.h" 68 void SetOrigin(
const double*);
76 void SetSpacing(
unsigned int level,
const double spacing[3]);
84 void SetAMRBox(
unsigned int level,
unsigned int id,
const vtkAMRBox& box) ;
97 void GetOrigin(
unsigned int level,
unsigned int id,
double origin[3]);
117 void SetRefinementRatio(
unsigned int level,
int refRatio);
122 int GetRefinementRatio(
unsigned int level);
129 void SetAMRBlockSourceIndex(
unsigned int level,
unsigned int id,
int sourceId);
130 int GetAMRBlockSourceIndex(
unsigned int level,
unsigned int id);
141 bool HasChildrenInformation();
147 void GenerateParentChildInformation();
154 unsigned int *GetParents(
unsigned int level,
unsigned int index,
unsigned int& numParents);
161 unsigned int *GetChildren(
unsigned int level,
unsigned int index,
unsigned int& numChildren);
166 void PrintParentChildInfo(
unsigned int level,
unsigned int index);
169 void GetBounds(
double b[6]) { Superclass::GetBounds(b);}
174 bool FindGrid(
double q[3],
unsigned int& level,
unsigned int& gridId);
180 {
return Superclass::GetAMRInfo();}
182 {
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.
static vtkOverlappingAMR * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
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])