Go to the documentation of this file.
31 #ifndef vtkAMRInformation_h
32 #define vtkAMRInformation_h
34 #include "vtkCommonDataModelModule.h"
46 class vtkAMRIndexIterator;
63 void Initialize(
int numLevels,
const int* blocksPerLevel);
69 vtkGetMacro( GridDescription,
int );
87 {
return static_cast<unsigned int>(this->NumBlocks.size()-1);}
98 {
return this->NumBlocks.back();}
104 {
return this->NumBlocks[
level] + id;}
245 {
return this->NumBlocks;}
248 {
return this->AllChildren[i];}
258 bool HasValidOrigin();
259 bool HasValidBounds();
260 void UpdateBounds(const
int level, const
int id);
261 void AllocateBoxes(
unsigned int n);
262 void GenerateBlockLevel();
263 void CalculateParentChildRelationShip(
unsigned int level,
273 std::
vector<
int> NumBlocks;
Encloses a rectangular region of voxel like cells.
dynamic, self-adjusting array of unsigned int
Hold a reference to a vtkObjectBase instance.
abstract base class for most VTK objects
a simple class to control print indentation
dynamic, self-adjusting array of int
dynamic, self-adjusting array of double