25 #ifndef vtkUniformGridAMR_h
26 #define vtkUniformGridAMR_h
28 #include "vtkCommonDataModelModule.h"
61 virtual void Initialize(
int numLevels,
const int* blocksPerLevel);
67 void SetGridDescription(
int gridDescription);
68 int GetGridDescription();
73 unsigned int GetNumberOfLevels();
78 virtual unsigned int GetTotalNumberOfBlocks();
83 unsigned int GetNumberOfDataSets(
const unsigned int level);
91 void GetMin(
double min[3]);
92 void GetMax(
double max[3]);
107 using Superclass::GetDataSet;
123 int GetCompositeIndex(
const unsigned int level,
const unsigned int index);
129 void GetLevelAndIndex(
const unsigned int compositeIdx,
unsigned int&
level,
unsigned int& idx);
static vtkDataObject * New()
superclass for composite data iterators
void Initialize() override
Restore data object to initial state,.
virtual void SetDataSet(vtkCompositeDataIterator *iter, vtkDataObject *dataObj)=0
Sets the data set at the location pointed by the iterator.
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
#define VTK_UNIFORM_GRID_AMR
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.
container of vtkUniformGrid for an AMR data set
static vtkCompositeDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkDataObject * GetDataSet(vtkCompositeDataIterator *iter)=0
Returns the dataset located at the position pointed by the iterator.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
general representation of visualization data
virtual vtkCompositeDataIterator * NewIterator()=0
Return a new iterator (the iterator has to be deleted by user).
virtual void CopyStructure(vtkCompositeDataSet *input)
Copies the tree structure from the input.
virtual void RecursiveShallowCopy(vtkDataObject *src)=0
For historical reasons, vtkCompositeDataSet::ShallowCopy simply pass pointers to the leaf non-composi...