Maria GDK 4.7.0.84
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
TPG.BitmapUtils.Bitmap32Data Class Reference
Inheritance diagram for TPG.BitmapUtils.Bitmap32Data:
TPG.BitmapUtils.BitmapData TPG.BitmapUtils.IElevationGrid

Public Member Functions

 Bitmap32Data (int w, int h)
 
 Bitmap32Data (int w, int h, uint[] data)
 
 Bitmap32Data (BitmapSource bm)
 
override double GetValue (int index)
 
override void SetValue (int index, double value)
 
override bool FromBitmapSource (BitmapSource bm)
 
override BitmapSource ToBitmapSource ()
 
void ReverseEndian ()
 
void Fill (uint color)
 
void PremultAlpha ()
 
void UnPremultAlpha ()
 
void FlipVertical ()
 
bool CopyFrom (Bitmap32Data bm, uint alpha)
 
void CopyWithAlpha (Bitmap32Data bm)
 
bool BlendWidth (Bitmap32Data bm, uint alpha)
 
bool WritePPM (string filename, bool bgr=true)
 
bool WriteAlphaPGM (string filename)
 
- Public Member Functions inherited from TPG.BitmapUtils.BitmapData
abstract bool FromBitmapSource (BitmapSource bm)
 
abstract BitmapSource ToBitmapSource ()
 
double GetValue (int x, int y)
 Get an elevation value for the pixel coordinates x,y.
Parameters
x
y
Returns

 
abstract double GetValue (int index)
 
void SetValue (int x, int y, double value)
 
abstract void SetValue (int index, double value)
 
double GetValue (int x, int y)
 Get an elevation value for the pixel coordinates x,y.
 

Properties

override string BitmapType [get]
 
uint[] Data [get]
 
override int MemSize [get]
 
override Array DataArray [get]
 
override int Stride [get]
 
- Properties inherited from TPG.BitmapUtils.BitmapData
int Width [get, protected set]
 
int Height [get, protected set]
 
bool PixelIsArea [get, set]
 
bool NoAlpha [get, set]
 
int NoData [get, set]
 Special elevation value indicating no data for this area.
 
double MaxElevation [get, set]
 Maximum elevation value for the data set.
 
abstract string BitmapType [get]
 
abstract int MemSize [get]
 
abstract Array DataArray [get]
 
abstract int Stride [get]
 
- Properties inherited from TPG.BitmapUtils.IElevationGrid
int Width [get]
 
int Height [get]
 
int NoData [get, set]
 Special elevation value indicating no data for this area.
 
double MaxElevation [get]
 Maximum elevation value for the data set.
 

Additional Inherited Members

- Protected Member Functions inherited from TPG.BitmapUtils.BitmapData
void CalcMaxElevation ()
 

Member Function Documentation

◆ FromBitmapSource()

override bool TPG.BitmapUtils.Bitmap32Data.FromBitmapSource ( BitmapSource  bm)
inlinevirtual

◆ GetValue()

override double TPG.BitmapUtils.Bitmap32Data.GetValue ( int  index)
inlinevirtual

◆ SetValue()

override void TPG.BitmapUtils.Bitmap32Data.SetValue ( int  index,
double  value 
)
inlinevirtual

◆ ToBitmapSource()

override BitmapSource TPG.BitmapUtils.Bitmap32Data.ToBitmapSource ( )
inlinevirtual

The documentation for this class was generated from the following file: