cesium-native 0.43.0
|
An STL-compatible iterator over the children of an octree tile. More...
#include <Cesium3DTilesContent/ImplicitTilingUtilities.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
The iterator category tag denoting this is a forward iterator. | |
using | value_type = CesiumGeometry::OctreeTileID |
The type of value that is being iterated over. | |
using | difference_type = void |
The type used to identify distance between iterators. | |
using | pointer = CesiumGeometry::OctreeTileID* |
A pointer to the type being iterated over. | |
using | reference = CesiumGeometry::OctreeTileID& |
A reference to the type being iterated over. | |
Public Member Functions | |
iterator (const CesiumGeometry::OctreeTileID &parentTileID, bool isEnd) noexcept | |
Creates a new iterator over the children of a octree tile. | |
const CesiumGeometry::OctreeTileID & | operator* () const |
Returns a reference to the current CesiumGeometry::OctreeTileID being iterated. | |
const CesiumGeometry::OctreeTileID * | operator-> () const |
Returns a pointer to the current CesiumGeometry::OctreeTileID being iterated. | |
iterator & | operator++ () |
Advances the iterator to the next child. | |
iterator | operator++ (int) |
Advances the iterator to the next child. | |
bool | operator== (const iterator &rhs) const noexcept |
Checks if two iterators are at the same child. | |
bool | operator!= (const iterator &rhs) const noexcept |
Checks if two iterators are NOT at the same child. | |
An STL-compatible iterator over the children of an octree tile.
Definition at line 138 of file ImplicitTilingUtilities.h.
The type used to identify distance between iterators.
This is void
as the distance between two OctreeTileIDs isn't particularly useful.
Definition at line 154 of file ImplicitTilingUtilities.h.
using Cesium3DTilesContent::OctreeChildren::iterator::iterator_category = std::forward_iterator_tag |
The iterator category tag denoting this is a forward iterator.
Definition at line 143 of file ImplicitTilingUtilities.h.
A pointer to the type being iterated over.
Definition at line 158 of file ImplicitTilingUtilities.h.
A reference to the type being iterated over.
Definition at line 162 of file ImplicitTilingUtilities.h.
The type of value that is being iterated over.
Definition at line 147 of file ImplicitTilingUtilities.h.
|
explicitnoexcept |
Creates a new iterator over the children of a octree tile.
parentTileID | The CesiumGeometry::OctreeTileID of the parent tile whose children will be iterated over. |
isEnd | If true, this iterator will start at the end of the data it's iterating over. |
|
inline |
Returns a reference to the current CesiumGeometry::OctreeTileID being iterated.
Definition at line 180 of file ImplicitTilingUtilities.h.
|
inline |
Returns a pointer to the current CesiumGeometry::OctreeTileID being iterated.
Definition at line 187 of file ImplicitTilingUtilities.h.