short *GetOverview() { return Overview.get_data(); }
short GetMaxElevation() const { return Overview.get_max(); }
inline short* GetImageBuffer() { return buffer.get_data(); }
void ScanLine(unsigned ax, unsigned ay, unsigned bx, unsigned by, short *dest, unsigned size, bool interpolate) const { buffer.ScanLine(ax - (xstart << 8), ay - (ystart << 8), bx - (xstart << 8), by - (ystart << 8), dest, size, interpolate); }
bool IsEnabled() const { return buffer.defined(); }
bool IsDisabled() const { return !buffer.defined(); }
void Disable() { buffer.reset(); }
short GetMaxElevation() const { return overview.GetMaximum(); }
short *GetOverview() { return overview.GetData(); }
inline short* GetImageBuffer() { return buffer.GetData(); }
TerrainHeight GetMaxElevation() const { return overview.GetMaximum(); }