|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   21 #ifndef vtkUniformGridAMR_h 
   22 #define vtkUniformGridAMR_h 
   24 #include "vtkCommonDataModelModule.h"  
   55   virtual void Initialize(
int numLevels, 
const int* blocksPerLevel);
 
   60   void SetGridDescription(
int gridDescription);
 
   61   int GetGridDescription();
 
   65   unsigned int GetNumberOfLevels();
 
   69   virtual unsigned int GetTotalNumberOfBlocks();
 
   73   unsigned int GetNumberOfDataSets(
const unsigned int level);
 
   79   void GetMin(
double min[3]);
 
   80   void GetMax(
double max[3]);
 
  102   int GetCompositeIndex(
const unsigned int level, 
const unsigned int index);
 
  107   void GetLevelAndIndex(
const unsigned int compositeIdx, 
unsigned int& 
level, 
unsigned int& idx);
 
  
virtual vtkCompositeDataIterator * NewIterator()=0
Return a new iterator (the iterator has to be deleted by user).
void GetBounds(double bounds[6])
Return the geometric bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
virtual void SetDataSet(vtkCompositeDataIterator *iter, vtkDataObject *dataObj)=0
Sets the data set at the location pointed by the iterator.
void DeepCopy(vtkDataObject *src) override
void Initialize() override
Restore data object to initial state,.
abstract superclass for composite (multi-block or AMR) datasets
superclass for composite data iterators
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNIFORM_GRID_AMR
virtual vtkDataObject * GetDataSet(vtkCompositeDataIterator *iter)=0
Returns the dataset located at the positiong pointed by the iterator.
general representation of visualization data
static vtkCompositeDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
container of vtkUniformGrid for an AMR data set
static vtkDataObject * New()
virtual void CopyStructure(vtkCompositeDataSet *input)=0
Copies the tree structure from the input.