|
cesium-native 0.65.0
|
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 | |
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.
|
pure virtual |
Compute the error measure, a generalization of screen space error.
| tile | The tile being tested. |
| distance | Distance from the ViewState's position to the tile. |
| depth | The depth (level) of the tile in the tileset. |