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,
265 std::vector<std::vector<unsigned int> >& parents );
273 std::vector<int> NumBlocks;
286 std::vector<std::vector<std::vector<unsigned int> > > AllChildren;
287 std::vector<std::vector<std::vector<unsigned int> > > AllParents;
Encloses a rectangular region of voxel like cells.
dynamic, self-adjusting array of unsigned int
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
vtkFrustumSelector is a vtkSelector that selects elements based on whether they are inside or interse...