OpenSim
|
A group of regions arranged in a rectangle, possibly with holes. More...
Public Member Functions | |
ArchiveScenesGroup () | |
void | AddScene (Scene scene) |
void | CalcSceneLocations () |
Called after all the scenes have been added. Performs calculations that require knowledge of all the scenes. More... | |
string | GetRegionDir (UUID regionID) |
Returns the subdirectory where the region is stored. More... | |
void | ForEachScene (Action< Scene > action) |
Performs an action on all the scenes in this order: rows from South to North, and within each row West to East. More... | |
bool | TryGetScene (Point location, out Scene scene) |
Returns the scene at position 'location'. More... | |
Protected Attributes | |
Dictionary< UUID, string > | m_regionDirs |
The subdirectory where each region is stored in the archive. More... | |
Properties | |
SortedDictionary< uint, SortedDictionary< uint, Scene > > | Regions [get, set] |
All the regions. The outer dictionary contains rows (key: Y coordinate). The inner dictionaries contain each row's regions (key: X coordinate). More... | |
Rectangle | Rect [get, set] |
The grid coordinates of the regions' bounding box. More... | |
A group of regions arranged in a rectangle, possibly with holes.
The regions usually (but not necessarily) belong to an archive file, in which case we store additional information used to create the archive (e.g., each region's directory within the archive).
Definition at line 46 of file ArchiveScenesGroup.cs.
|
inline |
Definition at line 65 of file ArchiveScenesGroup.cs.
|
inline |
Definition at line 72 of file ArchiveScenesGroup.cs.
|
inline |
Called after all the scenes have been added. Performs calculations that require knowledge of all the scenes.
Definition at line 91 of file ArchiveScenesGroup.cs.
|
inline |
Performs an action on all the scenes in this order: rows from South to North, and within each row West to East.
action |
Definition at line 145 of file ArchiveScenesGroup.cs.
|
inline |
Returns the subdirectory where the region is stored.
regionID |
Definition at line 135 of file ArchiveScenesGroup.cs.
|
inline |
Returns the scene at position 'location'.
location | A location in the grid |
scene | The scene at this location |
Definition at line 162 of file ArchiveScenesGroup.cs.
|
protected |
The subdirectory where each region is stored in the archive.
Definition at line 57 of file ArchiveScenesGroup.cs.
|
getset |
The grid coordinates of the regions' bounding box.
Definition at line 62 of file ArchiveScenesGroup.cs.
|
getset |
All the regions. The outer dictionary contains rows (key: Y coordinate). The inner dictionaries contain each row's regions (key: X coordinate).
Definition at line 52 of file ArchiveScenesGroup.cs.