C# 클래스 WhiteCore.Modules.WorldMap.MapImageModule

상속: IMapImageGenerator, INonSharedRegionModule, IDisposable
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
ClearWebCachedImages ( int regionX, int regionY, int sizeX, int sizeY ) : void

Clears the web cached images.

ClearWorldviewCachedImages ( UUID regionID ) : void
Close ( ) : void
CreateMapTile ( Bitmap &terrainBMP, Bitmap &mapBMP ) : void
CreateMapTile ( byte &terrain, byte &map ) : void
CreateMapTileAsync ( object worthless ) : void
CreateTerrainTexture ( ) : void

Create a terrain texture for this scene

CreateTerrainTexture ( bool forced ) : void

Create a terrain texture for this scene

CreateViewImage ( System.Vector3 camPos, System.Vector3 camDir, float fov, int width, int height, bool useTextures ) : Bitmap
CreateViewTileImage ( int size ) : Bitmap
Dispose ( ) : void
HandleUpdateWorldMapConsoleCommand ( IScene scene, string cmdparams ) : void

Update the world map

Initialise ( IConfigSource source ) : void
RegenerateMaptile ( string ID, byte data ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SetUpTimers ( ) : void
StartupComplete ( IScene scene, List data ) : void
UpdateWorldMaps ( ) : void

보호된 메소드들

메소드 설명
CreateMapTileAsyncCompleted ( IAsyncResult iar ) : void

비공개 메소드들

메소드 설명
DeserializeCache ( string file ) : bool
DrawObjectVolume ( IScene whichScene, Bitmap mapbmp ) : Bitmap
GenerateOverlay ( ) : byte[]

Generates the overlay.

GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
OnTimedCreateNewMapImage ( object source, System.Timers.ElapsedEventArgs e ) : void
OnUpdateRegion ( object source, System.Timers.ElapsedEventArgs e ) : void
OverlayBitmapText ( Image bMap, string overlayText ) : Bitmap
ReadCacheMap ( ) : void
SaveCache ( ) : void
SerializeCache ( ) : OSDMap
computeAverageColor ( Bitmap bmp ) : Color
computeAverageColor ( UUID textureID, Color defaultColor ) : Color
fetchTexture ( UUID id ) : Bitmap
project ( System.Vector3 point3d, System.Vector3 originpos ) : Point

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

ClearWebCachedImages() 공개 메소드

Clears the web cached images.
public ClearWebCachedImages ( int regionX, int regionY, int sizeX, int sizeY ) : void
regionX int Region x.
regionY int Region y.
sizeX int
sizeY int
리턴 void

ClearWorldviewCachedImages() 공개 메소드

public ClearWorldviewCachedImages ( UUID regionID ) : void
regionID UUID
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

CreateMapTile() 공개 메소드

public CreateMapTile ( Bitmap &terrainBMP, Bitmap &mapBMP ) : void
terrainBMP System.Drawing.Bitmap
mapBMP System.Drawing.Bitmap
리턴 void

CreateMapTile() 공개 메소드

public CreateMapTile ( byte &terrain, byte &map ) : void
terrain byte
map byte
리턴 void

CreateMapTileAsync() 공개 메소드

public CreateMapTileAsync ( object worthless ) : void
worthless object
리턴 void

CreateMapTileAsyncCompleted() 보호된 메소드

protected CreateMapTileAsyncCompleted ( IAsyncResult iar ) : void
iar IAsyncResult
리턴 void

CreateTerrainTexture() 공개 메소드

Create a terrain texture for this scene
public CreateTerrainTexture ( ) : void
리턴 void

CreateTerrainTexture() 공개 메소드

Create a terrain texture for this scene
public CreateTerrainTexture ( bool forced ) : void
forced bool
리턴 void

CreateViewImage() 공개 메소드

public CreateViewImage ( System.Vector3 camPos, System.Vector3 camDir, float fov, int width, int height, bool useTextures ) : Bitmap
camPos System.Vector3
camDir System.Vector3
fov float
width int
height int
useTextures bool
리턴 System.Drawing.Bitmap

CreateViewTileImage() 공개 메소드

public CreateViewTileImage ( int size ) : Bitmap
size int
리턴 System.Drawing.Bitmap

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

HandleUpdateWorldMapConsoleCommand() 공개 메소드

Update the world map
public HandleUpdateWorldMapConsoleCommand ( IScene scene, string cmdparams ) : void
scene IScene
cmdparams string
리턴 void

Initialise() 공개 메소드

public Initialise ( IConfigSource source ) : void
source IConfigSource
리턴 void

RegenerateMaptile() 공개 메소드

public RegenerateMaptile ( string ID, byte data ) : void
ID string
data byte
리턴 void

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

SetUpTimers() 공개 메소드

public SetUpTimers ( ) : void
리턴 void

StartupComplete() 공개 메소드

public StartupComplete ( IScene scene, List data ) : void
scene IScene
data List
리턴 void

UpdateWorldMaps() 공개 메소드

public UpdateWorldMaps ( ) : void
리턴 void