OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Region.PhysicsModule.Meshing.Meshmerizer Class Reference
Inheritance diagram for OpenSim.Region.PhysicsModule.Meshing.Meshmerizer:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.PhysicsModule.Meshing.Meshmerizer:
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 Close ()
 This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. 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 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 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...
 
List< Vector3 > GetBoundingHull (Vector3 size)
 temporary prototype code - please do not use until the interface has been finalized! More...
 
List< List< Vector3 > > GetConvexHulls (Vector3 size)
 temporary prototype code - please do not use until the interface has been finalized! More...
 
IMesh CreateMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod)
 
IMesh CreateMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache, bool convex, bool forOde)
 
IMesh CreateMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical)
 
IMesh CreateMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex, bool forOde)
 
IMesh CreateMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool shouldCache)
 
IMesh GetMesh (String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical, bool convex)
 
void ReleaseMesh (IMesh imesh)
 
void ExpireReleaseMeshs ()
 
void ExpireFileCache ()
 

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 50 of file Meshmerizer.cs.

Member Function Documentation

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.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 128 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.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 124 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.CreateMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod 
)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 945 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.CreateMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod,
bool  isPhysical,
bool  shouldCache,
bool  convex,
bool  forOde 
)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 950 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.CreateMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod,
bool  isPhysical 
)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 955 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.CreateMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod,
bool  isPhysical,
bool  convex,
bool  forOde 
)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 960 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.CreateMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod,
bool  isPhysical,
bool  shouldCache 
)
inline

Definition at line 965 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.ExpireFileCache ( )
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 1025 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.ExpireReleaseMeshs ( )
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 1024 of file Meshmerizer.cs.

List<Vector3> OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.GetBoundingHull ( Vector3  size)
inline

temporary prototype code - please do not use until the interface has been finalized!

Parameters
sizevalue to scale the hull points by
Returns
a list of vertices in the bounding hull if it exists and has been successfully decoded, otherwise null

Definition at line 911 of file Meshmerizer.cs.

List<List<Vector3> > OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.GetConvexHulls ( Vector3  size)
inline

temporary prototype code - please do not use until the interface has been finalized!

Parameters
sizevalue to scale the hull points by
Returns
a list of hulls if they exist and have been successfully decoded, otherwise null

Definition at line 928 of file Meshmerizer.cs.

IMesh OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.GetMesh ( String  primName,
PrimitiveBaseShape  primShape,
Vector3  size,
float  lod,
bool  isPhysical,
bool  convex 
)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 1018 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.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 90 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.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 144 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.ReleaseMesh ( IMesh  imesh)
inline

Implements OpenSim.Region.PhysicsModules.SharedBase.IMesher.

Definition at line 1023 of file Meshmerizer.cs.

void OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.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 136 of file Meshmerizer.cs.

Property Documentation

string OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.Name
get

Definition at line 81 of file Meshmerizer.cs.

Type OpenSim.Region.PhysicsModule.Meshing.Meshmerizer.ReplaceableInterface
get

Definition at line 86 of file Meshmerizer.cs.


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