28 #ifndef vtkOverlappingAMR_h 29 #define vtkOverlappingAMR_h 31 #include "vtkCommonDataModelModule.h" 62 void SetOrigin(
const double origin[3]);
70 void SetSpacing(
unsigned int level,
const double spacing[3]);
78 void SetAMRBox(
unsigned int level,
unsigned int id,
const vtkAMRBox& box);
90 void GetOrigin(
unsigned int level,
unsigned int id,
double origin[3]);
114 void SetRefinementRatio(
unsigned int level,
int refRatio);
119 int GetRefinementRatio(
unsigned int level);
126 void SetAMRBlockSourceIndex(
unsigned int level,
unsigned int id,
int sourceId);
127 int GetAMRBlockSourceIndex(
unsigned int level,
unsigned int id);
138 bool HasChildrenInformation();
144 void GenerateParentChildInformation();
151 unsigned int* GetParents(
unsigned int level,
unsigned int index,
unsigned int& numParents);
158 unsigned int* GetChildren(
unsigned int level,
unsigned int index,
unsigned int& numChildren);
163 void PrintParentChildInfo(
unsigned int level,
unsigned int index);
171 bool FindGrid(
double q[3],
unsigned int&
level,
unsigned int& gridId);
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)
void GetBounds(double bounds[6])
Return the geometric bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
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])