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

Inheritance: Gis.GisLayer
Show file Open project: demiurghg/FusionEngine

Public Properties

Property Type Description
Flags int
Palette Texture2D
Texture Texture2D
objectsInfo SelectInfo[]

Protected Properties

Property Type Description
cb ConstantBuffer
constData ConstData
currentBuffer VertexBuffer
factory Fusion.Drivers.Graphics.StateFactory
factoryXray Fusion.Drivers.Graphics.StateFactory
firstBuffer VertexBuffer
indexBuffer Fusion.Drivers.Graphics.IndexBuffer
secondBuffer VertexBuffer
shader Fusion.Drivers.Graphics.Ubershader

Public Methods

Method Description
CreateFromContour ( Game engine, DVector2 lonLatRad, Color color ) : PolyGisLayer
CreateFromUtmFbxModel ( Game engine, string fileName ) : PolyGisLayer
Draw ( GameTime gameTime, ConstantBuffer constBuffer ) : void
GenerateRegularGrid ( Game engine, double left, double right, double top, double bottom, int density, int dimX, int dimY, MapProjection projection ) : PolyGisLayer
Select ( System.DVector3 nearPoint, System.DVector3 farPoint ) : List
UpdatePointsBuffer ( ) : void

Protected Methods

Method Description
CalculateVertices ( Gis &vertices, int &indeces, int density, double leftLon, double rightLon, double topLat, double bottomLat, MapProjection projection ) : void
EnumFunc ( PipelineState ps, int flag ) : void
Initialize ( Gis points, int indeces, bool isDynamic ) : void
PolyGisLayer ( Game engine ) : System
PolyGisLayer ( Game engine, Gis points, int indeces, bool isDynamic ) : System
SwapBuffers ( ) : void

Method Details

CalculateVertices() static protected method

static protected CalculateVertices ( Gis &vertices, int &indeces, int density, double leftLon, double rightLon, double topLat, double bottomLat, MapProjection projection ) : void
vertices Gis
indeces int
density int
leftLon double
rightLon double
topLat double
bottomLat double
projection Fusion.Engine.Graphics.GIS.DataSystem.MapSources.Projections.MapProjection
return void

CreateFromContour() public static method

public static CreateFromContour ( Game engine, DVector2 lonLatRad, Color color ) : PolyGisLayer
engine Game
lonLatRad DVector2
color Color
return PolyGisLayer

CreateFromUtmFbxModel() public static method

public static CreateFromUtmFbxModel ( Game engine, string fileName ) : PolyGisLayer
engine Game
fileName string
return PolyGisLayer

Draw() public method

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

EnumFunc() protected method

protected EnumFunc ( PipelineState ps, int flag ) : void
ps Fusion.Drivers.Graphics.PipelineState
flag int
return void

GenerateRegularGrid() public static method

public static GenerateRegularGrid ( Game engine, double left, double right, double top, double bottom, int density, int dimX, int dimY, MapProjection projection ) : PolyGisLayer
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 PolyGisLayer

Initialize() protected method

protected Initialize ( Gis points, int indeces, bool isDynamic ) : void
points Gis
indeces int
isDynamic bool
return void

PolyGisLayer() protected method

protected PolyGisLayer ( Game engine ) : System
engine Game
return System

PolyGisLayer() protected method

protected PolyGisLayer ( Game engine, Gis points, int indeces, bool isDynamic ) : System
engine Game
points Gis
indeces int
isDynamic bool
return System

Select() public method

public Select ( System.DVector3 nearPoint, System.DVector3 farPoint ) : List
nearPoint System.DVector3
farPoint System.DVector3
return List

SwapBuffers() protected method

protected SwapBuffers ( ) : void
return void

UpdatePointsBuffer() public method

public UpdatePointsBuffer ( ) : void
return void

Property Details

Flags public property

public int Flags
return int

Palette public property

public Texture2D Palette
return Texture2D

Texture public property

public Texture2D Texture
return Texture2D

cb protected property

protected ConstantBuffer cb
return ConstantBuffer

constData protected property

protected ConstData constData
return ConstData

currentBuffer protected property

protected VertexBuffer currentBuffer
return VertexBuffer

factory protected property

protected StateFactory,Fusion.Drivers.Graphics factory
return Fusion.Drivers.Graphics.StateFactory

factoryXray protected property

protected StateFactory,Fusion.Drivers.Graphics factoryXray
return Fusion.Drivers.Graphics.StateFactory

firstBuffer protected property

protected VertexBuffer firstBuffer
return VertexBuffer

indexBuffer protected property

protected IndexBuffer,Fusion.Drivers.Graphics indexBuffer
return Fusion.Drivers.Graphics.IndexBuffer

objectsInfo public property

public SelectInfo[] objectsInfo
return SelectInfo[]

secondBuffer protected property

protected VertexBuffer secondBuffer
return VertexBuffer

shader protected property

protected Ubershader,Fusion.Drivers.Graphics shader
return Fusion.Drivers.Graphics.Ubershader