Class TCustomPhongShading
Unit
Declaration
type TCustomPhongShading = class(TObject)
Description
Abstract class for Phong shading
Hierarchy
- TObject
- TCustomPhongShading
Overview
Fields
FLightPosition3D: TPoint3D; |
Methods
function GetLightPosition: TPoint; |
|
function GetLightPositionF: TPointF; |
|
function GetLightPositionZ: integer; |
|
procedure Draw(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; Color : TBGRAPixel); overload; virtual; abstract; |
|
procedure Draw(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; ColorMap : TBGRACustomBitmap); overload; virtual; abstract; |
|
procedure DrawScan(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; ColorScan : IBGRAScanner); virtual; abstract; |
|
procedure SetLightPosition(AValue: TPoint); |
|
procedure SetLightPositionF(AValue: TPointF); |
|
procedure SetLightPositionZ(AValue: integer); |
Properties
property LightPosition: TPoint read GetLightPosition write SetLightPosition; |
|
property LightPosition3D: TPoint3D read FLightPosition3D write FLightPosition3D; |
|
property LightPositionF: TPointF read GetLightPositionF write SetLightPositionF; |
|
property LightPositionZ: integer read GetLightPositionZ write SetLightPositionZ; |
Description
Fields
FLightPosition3D: TPoint3D; |
|
This item has no description. |
Methods
function GetLightPosition: TPoint; |
|
This item has no description. |
function GetLightPositionF: TPointF; |
|
This item has no description. |
function GetLightPositionZ: integer; |
|
This item has no description. |
procedure Draw(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; Color : TBGRAPixel); overload; virtual; abstract; |
|
Render the specified map on the destination bitmap with one solid color. Map altitude indicate the global height of the map. |
procedure Draw(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; ColorMap : TBGRACustomBitmap); overload; virtual; abstract; |
|
Render with a color map of the same size as the height map. Map altitude indicate the global height of the map. |
procedure DrawScan(dest: TBGRACustomBitmap; map: TBGRACustomBitmap; mapAltitude: single; ofsX,ofsY: integer; ColorScan : IBGRAScanner); virtual; abstract; |
|
Render with a scanner. Map altitude indicate the global height of the map. |
procedure SetLightPosition(AValue: TPoint); |
|
This item has no description. |
procedure SetLightPositionF(AValue: TPointF); |
|
This item has no description. |
procedure SetLightPositionZ(AValue: integer); |
|
This item has no description. |
Properties
property LightPosition: TPoint read GetLightPosition write SetLightPosition; |
|
This item has no description. |
property LightPosition3D: TPoint3D read FLightPosition3D write FLightPosition3D; |
|
This item has no description. |
property LightPositionF: TPointF read GetLightPositionF write SetLightPositionF; |
|
This item has no description. |
property LightPositionZ: integer read GetLightPositionZ write SetLightPositionZ; |
|
This item has no description. |