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


public constructor CountingPyramid → (1)

pyramid in : IPixelPyramid own

The pixel pyramid to wrap.

Creates a new instance of CountingPyramid.

Public / Methods


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


public attribute Pyramid → (get)

value : IPixelPyramid

The counted pyramid.

The pyramid that is being counted.