33 #ifndef vtkDataObjectTree_h 34 #define vtkDataObjectTree_h 36 #include "vtkCommonDataModelModule.h" 161 void SetNumberOfChildren(
unsigned int num);
166 unsigned int GetNumberOfChildren();
177 void RemoveChild(
unsigned int index);
200 int HasChildMetaData(
unsigned int index);
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
virtual vtkIdType GetNumberOfPoints()
Returns the total number of points of all blocks.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet ...
vtkDataObjectTreeInternals * Internals
virtual vtkIdType GetNumberOfCells()
Returns the total number of cells of all blocks.
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
friend class vtkDataObjectTree
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
static vtkCompositeDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
virtual void CopyStructure(vtkCompositeDataSet *input)=0
Copies the tree structure from the input.
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 positiong pointed by the iterator.
void DeepCopy(vtkDataObject *src) override
Shallow and Deep copy.
superclass for composite data iterators
general representation of visualization data
virtual vtkCompositeDataIterator * NewIterator()=0
Return a new iterator (the iterator has to be deleted by user).