 |
VTK
9.0.1
|
Go to the documentation of this file.
33 #ifndef vtkCompositeDataSet_h
34 #define vtkCompositeDataSet_h
36 #include "vtkCommonDataModelModule.h"
40 class vtkCompositeDataSetInternals;
virtual vtkCompositeDataIterator * NewIterator()=0
Return a new iterator (the iterator has to be deleted by user).
void GetBounds(double bounds[6])
Return the geometric bounding box in the form (xmin,xmax, ymin,ymax, zmin,zmax).
void ShallowCopy(vtkDataObject *src) override
Shallow and Deep copy.
virtual void SetDataSet(vtkCompositeDataIterator *iter, vtkDataObject *dataObj)=0
Sets the data set at the location pointed by the iterator.
#define VTK_COMPOSITE_DATA_SET
void DeepCopy(vtkDataObject *src) override
int GetDataObjectType() override
Return class name of data type (see vtkType.h for definitions).
static vtkCompositeDataSet * GetData(vtkInformationVector *v, int i=0)
void Initialize() override
Restore data object to initial state,.
abstract superclass for composite (multi-block or AMR) datasets
superclass for composite data iterators
a simple class to control print indentation
unsigned long GetActualMemorySize() override
Return the actual size of the data in kibibytes (1024 bytes).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual vtkIdType GetNumberOfCells()
Returns the total number of cells of all blocks.
~vtkCompositeDataSet() override
vtkIdType GetNumberOfElements(int type) override
Get the number of elements for a specific attribute type (POINT, CELL, etc.).
virtual vtkIdType GetNumberOfPoints()
Returns the total number of points of all blocks.
static vtkInformationIntegerKey * CURRENT_PROCESS_CAN_LOAD_BLOCK()
Key used to indicate that the current process can load the data in the node.
virtual vtkDataObject * GetDataSet(vtkCompositeDataIterator *iter)=0
Returns the dataset located at the positiong pointed by the iterator.
static vtkInformationStringKey * NAME()
Key used to put node name in the meta-data associated with a node.
general representation of visualization data
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.