36 #ifndef vtkDataObjectTree_h
37 #define vtkDataObjectTree_h
39 #include "vtkCommonDataModelModule.h"
90 using Superclass::GetDataSet;
171 void SetNumberOfChildren(
unsigned int num);
176 unsigned int GetNumberOfChildren();
187 void RemoveChild(
unsigned int index);
210 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
int GetDataObjectType() override
Overridden to return VTK_DATA_OBJECT_TREE.
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
#define VTK_DATA_OBJECT_TREE
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
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.
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).
virtual void CopyStructure(vtkCompositeDataSet *input)
Copies the tree structure from the input.
virtual void RecursiveShallowCopy(vtkDataObject *src)=0
For historical reasons, vtkCompositeDataSet::ShallowCopy simply pass pointers to the leaf non-composi...