Exemplo n.º 1
0
 short *GetOverview() {
   return Overview.get_data();
 }
Exemplo n.º 2
0
 short GetMaxElevation() const {
   return Overview.get_max();
 }
Exemplo n.º 3
0
 inline short* GetImageBuffer() {
   return buffer.get_data();
 }
Exemplo n.º 4
0
 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);
 }
Exemplo n.º 5
0
 bool IsEnabled() const {
   return buffer.defined();
 }
Exemplo n.º 6
0
 bool IsDisabled() const {
   return !buffer.defined();
 }
Exemplo n.º 7
0
 void Disable() {
   buffer.reset();
 }
Exemplo n.º 8
0
 short GetMaxElevation() const {
   return overview.GetMaximum();
 }
Exemplo n.º 9
0
 short *GetOverview() {
   return overview.GetData();
 }
Exemplo n.º 10
0
 inline short* GetImageBuffer() {
   return buffer.GetData();
 }
Exemplo n.º 11
0
 TerrainHeight GetMaxElevation() const {
   return overview.GetMaximum();
 }