cesium-native 0.47.0
|
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 |
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.
|
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.
pRootTile | The root tile of the subtree. |
|
friend |
Definition at line 109 of file LoadedTileEnumerator.h.