16#ifndef vtkUniformGridAMR_h
17#define vtkUniformGridAMR_h
19#include "vtkCommonDataModelModule.h"
25VTK_ABI_NAMESPACE_BEGIN
57 virtual void Initialize(
const std::vector<unsigned int>& blocksPerLevel);
63 virtual
void Initialize(
int numLevels, const
int* blocksPerLevel);
70 void SetGridDescription(
int gridDescription);
71 int GetGridDescription();
77 [[nodiscard]]
unsigned int GetNumberOfLevels() const;
83 [[nodiscard]]
unsigned int GetNumberOfBlocks() const;
89 virtual
unsigned int GetTotalNumberOfBlocks() {
return this->GetNumberOfBlocks(); }
101 unsigned
int GetNumberOfDataSets(
unsigned int level) {
return this->GetNumberOfBlocks(level); }
125 using Superclass::GetDataSet;
151 int GetCompositeIndex(
unsigned int level,
unsigned int index)
153 return this->GetAbsoluteBlockIndex(level, index);
168 void GetLevelAndIndex(
unsigned int compositeIdx,
unsigned int& level,
unsigned int& idx)
170 this->ComputeIndexPair(compositeIdx, level, idx);
232 "This function is deprecated and should not be inherited, use GetAMRMetaData() instead")
235 "This function is deprecated and should not be inherited, use SetAMRMetaData() instead")
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
Allocate and hold a VTK object.
Hold a reference to a vtkObjectBase instance.
#define VTK_DEPRECATED_IN_9_6_0(reason)