cesium-native 0.47.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::LoadedConstTileEnumerator Class Reference

A "virtual collection" that allows enumeration through the loaded tiles in a subtree rooted at a given Tile. More...

#include <Cesium3DTilesSelection/LoadedTileEnumerator.h>

Classes

class  const_iterator
 An iterator over constant Tile instances. More...
 

Public Member Functions

 LoadedConstTileEnumerator (const Tile *pRootTile) noexcept
 Creates a new instance to enumerate loaded tiles in the subtree rooted at pRootTile.
 
const_iterator begin () const noexcept
 Returns an iterator starting at the first tile.
 
const_iterator end () const noexcept
 Returns an iterator starting after the last tile.
 

Friends

class LoadedTileEnumerator
 

Detailed Description

A "virtual collection" that allows enumeration through the loaded tiles in a subtree rooted at a given Tile.

For the purposes of this enumeration, a loaded tile is one that is in a TileLoadState other than TileLoadState::Unloaded, or that has any children (or other descendants) that meet this criteria. We check the latter criteria by looking at Tile::getReferenceCount.

Definition at line 25 of file LoadedTileEnumerator.h.

Constructor & Destructor Documentation

◆ LoadedConstTileEnumerator()

Cesium3DTilesSelection::LoadedConstTileEnumerator::LoadedConstTileEnumerator ( const Tile * pRootTile)
explicitnoexcept

Creates a new instance to enumerate loaded tiles in the subtree rooted at pRootTile.

If pRootTile is nullptr, then the iteration is empty (begin==end). Otherwise, the iteration will include at least pRootTile, even if it is not loaded.

Parameters
pRootTileThe root tile of the subtree.

Friends And Related Symbol Documentation

◆ LoadedTileEnumerator

friend class LoadedTileEnumerator
friend

Definition at line 109 of file LoadedTileEnumerator.h.


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