 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkAMRDataInternals_h
27 #define vtkAMRDataInternals_h
29 #include "vtkCommonDataModelModule.h"
44 typedef std::vector<vtkAMRDataInternals::Block>
BlockList;
57 bool Empty()
const {
return this->GetNumberOfBlocks() == 0; }
60 unsigned int GetNumberOfBlocks()
const {
return static_cast<unsigned int>(this->Blocks.size()); }
68 void GenerateIndex(
bool force =
false);
72 bool GetInternalIndex(
unsigned int compositeIndex,
unsigned int& internalIndex);
vtkSmartPointer< vtkUniformGrid > Grid
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
const Block & GetBlock(unsigned int i)
a simple class to control print indentation
unsigned int GetNumberOfBlocks() const
std::vector< int > * InternalIndex
std::vector< vtkAMRDataInternals::Block > BlockList
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const BlockList & GetAllBlocks() const
std::vector< Block > Blocks
container of vtkUniformGrid for an AMR data set