C# Class Fusion.Engine.Graphics.GIS.HeatMapLayer

Inheritance: PolyGisLayer
ファイルを表示 Open project: demiurghg/FusionEngine

Public Properties

Property Type Description
Data float[]
GridDensity int
HeatMapTransparency float
InterpFactor float
MaxHeatMapLevel float
MinHeatMapLevel float
Projection Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections.MapProjection

Public Methods

Method Description
AddValue ( double lon, double lat, float val ) : void
ClearData ( ) : void
Dispose ( ) : void
Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
GenerateHeatMapWithRegularGrid ( Game engine, double left, double right, double top, double bottom, int density, int dimX, int dimY, MapProjection projection ) : HeatMapLayer
HeatMapLayer ( Game engine, Gis points, int indeces, int mapDimX, int mapDimY, bool isDynamic = false ) : System
SetHeatMapCoordinates ( double left, double right, double top, double bottom ) : void
UpdateHeatMap ( ) : void

Method Details

AddValue() public method

public AddValue ( double lon, double lat, float val ) : void
lon double
lat double
val float
return void

ClearData() public method

public ClearData ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
gameTime Fusion.Engine.Common.GameTime
constBuffer ConstantBuffer
return void

GenerateHeatMapWithRegularGrid() public static method

public static GenerateHeatMapWithRegularGrid ( Game engine, double left, double right, double top, double bottom, int density, int dimX, int dimY, MapProjection projection ) : HeatMapLayer
engine Game
left double
right double
top double
bottom double
density int
dimX int
dimY int
projection Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections.MapProjection
return HeatMapLayer

HeatMapLayer() public method

public HeatMapLayer ( Game engine, Gis points, int indeces, int mapDimX, int mapDimY, bool isDynamic = false ) : System
engine Game
points Gis
indeces int
mapDimX int
mapDimY int
isDynamic bool
return System

SetHeatMapCoordinates() public method

public SetHeatMapCoordinates ( double left, double right, double top, double bottom ) : void
left double
right double
top double
bottom double
return void

UpdateHeatMap() public method

public UpdateHeatMap ( ) : void
return void

Property Details

Data public_oe property

public float[] Data
return float[]

GridDensity public_oe property

public int GridDensity
return int

HeatMapTransparency public_oe property

public float HeatMapTransparency
return float

InterpFactor public_oe property

public float InterpFactor
return float

MaxHeatMapLevel public_oe property

public float MaxHeatMapLevel
return float

MinHeatMapLevel public_oe property

public float MinHeatMapLevel
return float

Projection public_oe property

public MapProjection,Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections Projection
return Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections.MapProjection