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

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

#include <Cesium3DTilesContent/ImplicitTilingUtilities.h>

Classes

class  iterator
 An STL-compatible iterator over the children of an octree tile. More...
 

Public Types

using const_iterator = iterator
 A const equivalent to iterator.
 

Public Member Functions

 OctreeChildren (const CesiumGeometry::OctreeTileID &tileID) noexcept
 Creates a OctreeChildren 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::OctreeTileID children for this tile, which will always be eight.
 

Detailed Description

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

Definition at line 133 of file ImplicitTilingUtilities.h.

Member Typedef Documentation

◆ const_iterator

A const equivalent to iterator.

Definition at line 209 of file ImplicitTilingUtilities.h.

Constructor & Destructor Documentation

◆ OctreeChildren()

Cesium3DTilesContent::OctreeChildren::OctreeChildren ( const CesiumGeometry::OctreeTileID & tileID)
inlinenoexcept

Creates a OctreeChildren instance from the provided parent tile.

Definition at line 215 of file ImplicitTilingUtilities.h.

Member Function Documentation

◆ size()

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

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

Definition at line 225 of file ImplicitTilingUtilities.h.


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