24 #ifndef vtkDataObjectTree_h
25 #define vtkDataObjectTree_h
27 #include "vtkCommonDataModelModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
80 using Superclass::GetDataSet;
167 void SetNumberOfChildren(
unsigned int num);
172 unsigned int GetNumberOfChildren();
183 void RemoveChild(
unsigned int index);
226 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.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet ...
vtkDataObjectTreeInternals * Internals
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.
#define VTK_DEPRECATED_IN_9_3_0(reason)
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
friend class vtkDataObjectTree
#define VTK_DATA_OBJECT_TREE
vtkSmartPointer< vtkDataArray > GetData(const Ioss::GroupingEntity *entity, const std::string &fieldname, Ioss::Transform *transform=nullptr, Cache *cache=nullptr, const std::string &cachekey=std::string())
Returns a VTK array for a given field (fieldname) on the chosen block (or set) entity.
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
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.