34#ifndef vtkUniformGridAMR_h
35#define vtkUniformGridAMR_h
37#include "vtkCommonDataModelModule.h"
43VTK_ABI_NAMESPACE_BEGIN
75 virtual void Initialize(
const std::vector<unsigned int>& blocksPerLevel);
86 virtual
void Initialize(
int numLevels, const
int* blocksPerLevel);
93 void SetGridDescription(
int gridDescription);
94 int GetGridDescription();
101 [[nodiscard]]
unsigned int GetNumberOfLevels() const;
108 [[nodiscard]]
unsigned int GetNumberOfBlocks() const;
114 virtual
unsigned int GetTotalNumberOfBlocks() {
return this->GetNumberOfBlocks(); }
126 unsigned
int GetNumberOfDataSets(
unsigned int level) {
return this->GetNumberOfBlocks(level); }
138 using Superclass::SetDataSet;
145 using Superclass::GetDataSet;
163 int GetCompositeIndex(
unsigned int level,
unsigned int index)
165 return this->GetAbsoluteBlockIndex(level, index);
180 void GetLevelAndIndex(
unsigned int compositeIdx,
unsigned int& level,
unsigned int& idx)
182 this->ComputeIndexPair(compositeIdx, level, idx);
244 "This function is deprecated and should not be inherited, use GetAMRMetaData() instead")
247 "SetAMRMetaData() or Initialize(vtkAMRMetaData*) instead")
255 void InitializeInternal();
container of vtkUniformGrid for an AMR data set
superclass for composite data iterators
abstract superclass for composite (multi-block or AMR) datasets
general representation of visualization data
a simple class to control print indentation
Composite dataset that groups datasets as a collection.
Hold a reference to a vtkObjectBase instance.
#define VTK_DEPRECATED_IN_9_6_0(reason)