25 #ifndef vtkAMRDataInternals_h
26 #define vtkAMRDataInternals_h
43 typedef std::vector<vtkAMRDataInternals::Block>
BlockList;
56 bool Empty()
const{
return this->GetNumberOfBlocks()==0;}
59 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);
abstract base class for most VTK objects
const Block & GetBlock(unsigned int i)
unsigned int GetNumberOfBlocks() const
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
container of vtkUniformGrid for an AMR data set
std::vector< int > * InternalIndex
vtkSmartPointer< vtkUniformGrid > Grid
const BlockList & GetAllBlocks() const
std::vector< vtkAMRDataInternals::Block > BlockList
#define VTKCOMMONDATAMODEL_EXPORT
std::vector< Block > Blocks