27 #ifndef vtkDataObjectTree_h
28 #define vtkDataObjectTree_h
30 #include "vtkCommonDataModelModule.h"
34 VTK_ABI_NAMESPACE_BEGIN
83 using Superclass::GetDataSet;
147 unsigned int GetNumberOfChildren();
187 void SetNumberOfChildren(
unsigned int num);
198 void RemoveChild(
unsigned int index);
223 VTK_ABI_NAMESPACE_END
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
virtual void CompositeShallowCopy(vtkCompositeDataSet *src)
The goal of the method is to copy the data up to the dataset pointers only.
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
static vtkCompositeDataSet * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
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 position pointed by the iterator.
superclass for composite data iterators
int GetDataObjectType() VTK_FUTURE_CONST override
Overridden to return VTK_DATA_OBJECT_TREE.
general representation of visualization data
virtual vtkCompositeDataIterator * NewIterator()=0
Return a new iterator (the iterator has to be deleted by user).
virtual void DeepCopy(vtkDataObject *src)
The goal of the method is to copy the complete data from src into this object.
virtual void CopyStructure(vtkCompositeDataSet *input)
Copies the tree structure from the input.
virtual void ShallowCopy(vtkDataObject *src)
The goal of the method is to copy the data up to the array pointers only.