cesium-native 0.65.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::ViewStateMeasureDelegate Class Referenceabstract

A handler for customizing calculation of the selection measure for tiles. By default that value is the screen space error, but it be another criteria such as absolute tile geometric error or the depth of a tile in the tileset. More...

#include <Cesium3DTilesSelection/ViewState.h>

Public Member Functions

virtual double computeSelectionMeasure (const Tile &tile, double distance, uint32_t depth) const =0
 Compute the error measure, a generalization of screen space error.
 
virtual ~ViewStateMeasureDelegate ()=default
 destructor
 

Detailed Description

A handler for customizing calculation of the selection measure for tiles. By default that value is the screen space error, but it be another criteria such as absolute tile geometric error or the depth of a tile in the tileset.

Definition at line 31 of file ViewState.h.

Member Function Documentation

◆ computeSelectionMeasure()

virtual double Cesium3DTilesSelection::ViewStateMeasureDelegate::computeSelectionMeasure ( const Tile & tile,
double distance,
uint32_t depth ) const
pure virtual

Compute the error measure, a generalization of screen space error.

Parameters
tileThe tile being tested.
distanceDistance from the ViewState's position to the tile.
depthThe depth (level) of the tile in the tileset.
Returns
The error measure

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