cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesContent::QuadtreeChildren Class Reference

A lightweight virtual container enumerating the quadtree IDs of the children of a given quadtree tile. More...

#include <Cesium3DTilesContent/ImplicitTilingUtilities.h>

Classes

class  iterator
 An STL-compatible iterator over the children of a quadtree tile. More...
 

Public Types

using const_iterator = iterator
 A const equivalent to iterator.
 

Public Member Functions

 QuadtreeChildren (const CesiumGeometry::QuadtreeTileID &tileID) noexcept
 Creates a QuadtreeChildren instance from the provided parent tile.
 
iterator begin () const noexcept
 Returns an iterator starting at the first child.
 
iterator end () const noexcept
 Returns an iterator starting at the last child.
 
constexpr int64_t size () const noexcept
 Returns the total number of CesiumGeometry::QuadtreeTileID children for this tile, which will always be four.
 

Detailed Description

A lightweight virtual container enumerating the quadtree IDs of the children of a given quadtree tile.

Definition at line 30 of file ImplicitTilingUtilities.h.

Member Typedef Documentation

◆ const_iterator

A const equivalent to iterator.

Definition at line 106 of file ImplicitTilingUtilities.h.

Constructor & Destructor Documentation

◆ QuadtreeChildren()

Cesium3DTilesContent::QuadtreeChildren::QuadtreeChildren ( const CesiumGeometry::QuadtreeTileID & tileID)
inlinenoexcept

Creates a QuadtreeChildren instance from the provided parent tile.

Definition at line 112 of file ImplicitTilingUtilities.h.

Member Function Documentation

◆ size()

int64_t Cesium3DTilesContent::QuadtreeChildren::size ( ) const
inlineconstexprnoexcept

Returns the total number of CesiumGeometry::QuadtreeTileID children for this tile, which will always be four.

Definition at line 123 of file ImplicitTilingUtilities.h.


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