CountingPyramid

Description

sealed class Tinman.AddOns.Pyramids.CountingPyramid

Derived from

CompositePixelPyramid<IPixelPyramid> abstract

Full source code is included in the Tinman 3D SDK download.

An implementation of the IPixelPyramid interface that counts all calls to GetTileData and HasTileData.

The CountingPyramid class is helpful when using a web-based map services with access quotas, in order to keep track of service usage.

Public / Constructors

Counting​Pyramid


public constructor CountingPyramid → (1)

pyramid in : IPixelPyramid own

[not-null]
The pixel pyramid to wrap.

Creates a new instance of CountingPyramid.

Public / Methods

Stats


[ThreadSafe]
public method Stats → (1)

reset opt : bool = false

Clear statistic values to zero after fetching them?

returns → CountingPyramidStats

The access statistics.

Fetches the current access statistics.

Public / Attributes

Pyramid


public attribute Pyramid → (get)

value : IPixelPyramid

[not-null]
The counted pyramid.

The pyramid that is being counted.