VTK  9.5.20250802
Public Member Functions | Protected Attributes | List of all members
vtkHyperTreeGrid::vtkHyperTreeGridIterator Class Reference

An iterator object to iteratively access trees in the grid. More...

#include <vtkHyperTreeGrid.h>

Collaboration diagram for vtkHyperTreeGrid::vtkHyperTreeGridIterator:
[legend]

Public Member Functions

 vtkHyperTreeGridIterator ()=default
 
void Initialize (vtkHyperTreeGrid *grid)
 Initialize the iterator on the tree set of the given grid.
 
vtkHyperTreeGetNextTree (vtkIdType &index)
 Get the next tree and set its index then increment the iterator.
 
vtkHyperTreeGetNextTree ()
 Get the next tree and set its index then increment the iterator.
 

Protected Attributes

std::map< vtkIdType, vtkSmartPointer< vtkHyperTree > >::iterator Iterator
 
vtkHyperTreeGridGrid = nullptr
 

Detailed Description

An iterator object to iteratively access trees in the grid.

Definition at line 703 of file vtkHyperTreeGrid.h.

Constructor & Destructor Documentation

◆ vtkHyperTreeGridIterator()

vtkHyperTreeGrid::vtkHyperTreeGridIterator::vtkHyperTreeGridIterator ( )
default

Member Function Documentation

◆ Initialize()

void vtkHyperTreeGrid::vtkHyperTreeGridIterator::Initialize ( vtkHyperTreeGrid grid)

Initialize the iterator on the tree set of the given grid.

◆ GetNextTree() [1/2]

vtkHyperTree * vtkHyperTreeGrid::vtkHyperTreeGridIterator::GetNextTree ( vtkIdType index)

Get the next tree and set its index then increment the iterator.

Returns nullptr at the end.

◆ GetNextTree() [2/2]

vtkHyperTree * vtkHyperTreeGrid::vtkHyperTreeGridIterator::GetNextTree ( )

Get the next tree and set its index then increment the iterator.

Returns 0 at the end.

Member Data Documentation

◆ Iterator

std::map<vtkIdType,vtkSmartPointer<vtkHyperTree>>::iterator vtkHyperTreeGrid::vtkHyperTreeGridIterator::Iterator
protected

Definition at line 726 of file vtkHyperTreeGrid.h.

◆ Grid

vtkHyperTreeGrid* vtkHyperTreeGrid::vtkHyperTreeGridIterator::Grid = nullptr
protected

Definition at line 727 of file vtkHyperTreeGrid.h.


The documentation for this class was generated from the following file: