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

Inheritance: Gis.GisLayer
ファイルを表示 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_oe property

public int Flags
return int

Palette public_oe property

public Texture2D Palette
return Texture2D

Texture public_oe property

public Texture2D Texture
return Texture2D

cb protected_oe property

protected ConstantBuffer cb
return ConstantBuffer

constData protected_oe property

protected ConstData constData
return ConstData

currentBuffer protected_oe property

protected VertexBuffer currentBuffer
return VertexBuffer

factory protected_oe property

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

factoryXray protected_oe property

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

firstBuffer protected_oe property

protected VertexBuffer firstBuffer
return VertexBuffer

indexBuffer protected_oe property

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

objectsInfo public_oe property

public SelectInfo[] objectsInfo
return SelectInfo[]

secondBuffer protected_oe property

protected VertexBuffer secondBuffer
return VertexBuffer

shader protected_oe property

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