OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Properties | List of all members
OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule Class Reference
Inheritance diagram for OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule:
Collaboration graph
[legend]

Public Member Functions

void Initialise (IConfigSource source)
 This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More...
 
void AddRegion (Scene scene)
 This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More...
 
void RegionLoaded (Scene scene)
 This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module. More...
 
void RemoveRegion (Scene scene)
 This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More...
 
void Close ()
 This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More...
 
Bitmap CreateMapTile ()
 
Bitmap CreateViewImage (Vector3 camPos, Vector3 camDir, float fov, int width, int height, bool useTextures)
 
Bitmap CreateMapTile (Viewport viewport, bool useTextures)
 
byte[] WriteJpeg2000Image ()
 
string GetOrCreateMaterial (WarpRenderer renderer, Color4 faceColor, UUID textureID)
 

Static Public Member Functions

static Color4 GetAverageColor (UUID textureID, byte[] j2kData, out int width, out int height)
 

Properties

string Name [get]
 
Type ReplaceableInterface [get]
 
- Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase
string Name [get]
 
Type ReplaceableInterface [get]
 If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More...
 

Detailed Description

Definition at line 58 of file Warp3DImageModule.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.AddRegion ( Scene  scene)
inline

This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 115 of file Warp3DImageModule.cs.

void OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.Close ( )
inline

This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 139 of file Warp3DImageModule.cs.

Bitmap OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.CreateMapTile ( )
inline
Bitmap OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.CreateMapTile ( Viewport  viewport,
bool  useTextures 
)
inline

Definition at line 197 of file Warp3DImageModule.cs.

Bitmap OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.CreateViewImage ( Vector3  camPos,
Vector3  camDir,
float  fov,
int  width,
int  height,
bool  useTextures 
)
inline
static Color4 OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.GetAverageColor ( UUID  textureID,
byte[]  j2kData,
out int  width,
out int  height 
)
inlinestatic

Definition at line 716 of file Warp3DImageModule.cs.

string OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.GetOrCreateMaterial ( WarpRenderer  renderer,
Color4  faceColor,
UUID  textureID 
)
inline

Definition at line 634 of file Warp3DImageModule.cs.

void OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.Initialise ( IConfigSource  source)
inline

This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.

Parameters
sourceA IConfigSource

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 88 of file Warp3DImageModule.cs.

void OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.RegionLoaded ( Scene  scene)
inline

This will be called once for every scene loaded. In a shared module this will be multiple times in one instance, while a nonshared module instance will only be called once. This method is called after AddRegion has been called in all modules for that scene, providing an opportunity to request another module's interface, or hook an event from another module.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 131 of file Warp3DImageModule.cs.

void OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.RemoveRegion ( Scene  scene)
inline

This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.

Parameters
sceneA Scene

Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.

Definition at line 135 of file Warp3DImageModule.cs.

byte [] OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.WriteJpeg2000Image ( )
inline

Property Documentation

string OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.Name
get

Definition at line 144 of file Warp3DImageModule.cs.

Type OpenSim.Region.CoreModules.World.Warp3DMap.Warp3DImageModule.ReplaceableInterface
get

Definition at line 149 of file Warp3DImageModule.cs.


The documentation for this class was generated from the following file: