33 #ifndef vtkOverlappingAmr_h
34 #define vtkOverlappingAmr_h
61 void SetOrigin(
const double*);
67 void SetSpacing(
unsigned int level,
const double spacing[3]);
73 void SetAMRBox(
unsigned int level,
unsigned int id,
const vtkAMRBox& box) ;
82 void GetOrigin(
unsigned int level,
unsigned int id,
double origin[3]);
102 void SetRefinementRatio(
unsigned int level,
int refRatio);
105 int GetRefinementRatio(
unsigned int level);
110 void SetAMRBlockSourceIndex(
unsigned int level,
unsigned int id,
int sourceId);
111 int GetAMRBlockSourceIndex(
unsigned int level,
unsigned int id);
119 bool HasChildrenInformation();
123 void GenerateParentChildInformation();
128 unsigned int *GetParents(
unsigned int level,
unsigned int index,
unsigned int& numParents);
133 unsigned int *GetChildren(
unsigned int level,
unsigned int index,
unsigned int& numChildren);
136 void PrintParentChildInfo(
unsigned int level,
unsigned int index);
139 void GetBounds(
double b[6]) { Superclass::GetBounds(b);}
142 bool FindGrid(
double q[3],
unsigned int&
level,
unsigned int& gridId);
virtual void SetAMRInfo(vtkAMRInformation *info)
Encloses a rectangular region of voxel like cells.
superclass for composite data iterators
a simple class to control print indentation
static vtkOverlappingAMR * SafeDownCast(vtkObjectBase *o)
virtual int GetDataObjectType()
static vtkOverlappingAMR * GetData(vtkInformation *info)
vtkAMRInformation * GetAMRInfo()
hierarchical dataset of vtkUniformGrids
#define VTK_OVERLAPPING_AMR
VTKWRAPPINGJAVA_EXPORT jlong q(JNIEnv *env, jobject obj)
static vtkOverlappingAMR * GetData(vtkInformationVector *v, int i=0)
#define VTKCOMMONDATAMODEL_EXPORT
void GetBounds(double b[6])