VTK  9.1.0
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 *)
 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
 

Detailed Description

An iterator object to iteratively access trees in the grid.

Definition at line 655 of file vtkHyperTreeGrid.h.

Constructor & Destructor Documentation

◆ vtkHyperTreeGridIterator()

vtkHyperTreeGrid::vtkHyperTreeGridIterator::vtkHyperTreeGridIterator ( )
default

Member Function Documentation

◆ Initialize()

void vtkHyperTreeGrid::vtkHyperTreeGridIterator::Initialize ( vtkHyperTreeGrid )

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 0 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 678 of file vtkHyperTreeGrid.h.

◆ Grid

vtkHyperTreeGrid* vtkHyperTreeGrid::vtkHyperTreeGridIterator::Grid
protected

Definition at line 679 of file vtkHyperTreeGrid.h.


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