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

Public Member Functions

override void ClearTaint ()
 
override void TaintAllTerrain ()
 
override void ClearLand ()
 
override void ClearLand (float pHeight)
 
override bool IsTaintedAt (int xx, int yy, bool clearOnTest)
 
override bool IsTaintedAt (int xx, int yy)
 
override bool GetDatabaseBlob (out int DBRevisionCode, out Array blob)
 
override float[] GetCompressedMap ()
 
override TerrainData Clone ()
 
override float[] GetFloatsSerialized ()
 
override double[,] GetDoubles ()
 
short ToCompressedHeightshort (float pHeight)
 
ushort ToCompressedHeightushort (float pHeight)
 
float FromCompressedHeight (short pHeight)
 
float FromCompressedHeight (ushort pHeight)
 
 HeightmapTerrainData (double[,] pTerrain)
 
 HeightmapTerrainData (int pX, int pY, int pZ)
 
 HeightmapTerrainData (float[] cmap, float pCompressionFactor, int pX, int pY, int pZ)
 
 HeightmapTerrainData (int pSizeX, int pSizeY, int pSizeZ, int pFormatCode, byte[] pBlob)
 
Array ToLegacyTerrainSerialization ()
 
void FromLegacyTerrainSerialization (byte[] pBlob)
 
Array ToCompressedTerrainSerializationV2D ()
 
Array ToCompressedTerrainSerializationV2DGzip ()
 
void FromCompressedTerrainSerialization2D (byte[] pBlob)
 
void FromCompressedTerrainSerializationV2D (byte[] pBlob)
 
void FromCompressedTerrainSerializationV2DGZip (byte[] pBlob)
 

Properties

override float this[int x, int y] [get, set]
 
override float this[int x, int y, int z] [get, set]
 
override float CompressionFactor [get]
 
- Properties inherited from OpenSim.Framework.TerrainData
int SizeX [get, set]
 
int SizeY [get, set]
 
int SizeZ [get, set]
 
abstract float this[int x, int y] [get, set]
 
abstract float this[int x, int y, int z] [get, set]
 
abstract float CompressionFactor [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenSim.Framework.TerrainData
static TerrainData CreateFromDatabaseBlobFactory (int pSizeX, int pSizeY, int pSizeZ, int pFormatCode, byte[] pBlob)
 
- Public Attributes inherited from OpenSim.Framework.TerrainData
const float DefaultTerrainHeight = 21f
 

Detailed Description

Definition at line 120 of file TerrainData.cs.

Constructor & Destructor Documentation

OpenSim.Framework.HeightmapTerrainData.HeightmapTerrainData ( double  pTerrain[,])
inline

Definition at line 319 of file TerrainData.cs.

OpenSim.Framework.HeightmapTerrainData.HeightmapTerrainData ( int  pX,
int  pY,
int  pZ 
)
inline

Definition at line 342 of file TerrainData.cs.

OpenSim.Framework.HeightmapTerrainData.HeightmapTerrainData ( float[]  cmap,
float  pCompressionFactor,
int  pX,
int  pY,
int  pZ 
)
inline

Definition at line 355 of file TerrainData.cs.

OpenSim.Framework.HeightmapTerrainData.HeightmapTerrainData ( int  pSizeX,
int  pSizeY,
int  pSizeZ,
int  pFormatCode,
byte[]  pBlob 
)
inline

Definition at line 367 of file TerrainData.cs.

Member Function Documentation

override void OpenSim.Framework.HeightmapTerrainData.ClearLand ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 166 of file TerrainData.cs.

override void OpenSim.Framework.HeightmapTerrainData.ClearLand ( float  pHeight)
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 171 of file TerrainData.cs.

override void OpenSim.Framework.HeightmapTerrainData.ClearTaint ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 147 of file TerrainData.cs.

override TerrainData OpenSim.Framework.HeightmapTerrainData.Clone ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 239 of file TerrainData.cs.

float OpenSim.Framework.HeightmapTerrainData.FromCompressedHeight ( short  pHeight)
inline

Definition at line 307 of file TerrainData.cs.

float OpenSim.Framework.HeightmapTerrainData.FromCompressedHeight ( ushort  pHeight)
inline

Definition at line 312 of file TerrainData.cs.

void OpenSim.Framework.HeightmapTerrainData.FromCompressedTerrainSerialization2D ( byte[]  pBlob)
inline

Definition at line 536 of file TerrainData.cs.

void OpenSim.Framework.HeightmapTerrainData.FromCompressedTerrainSerializationV2D ( byte[]  pBlob)
inline

Definition at line 576 of file TerrainData.cs.

void OpenSim.Framework.HeightmapTerrainData.FromCompressedTerrainSerializationV2DGZip ( byte[]  pBlob)
inline

Definition at line 618 of file TerrainData.cs.

void OpenSim.Framework.HeightmapTerrainData.FromLegacyTerrainSerialization ( byte[]  pBlob)
inline

Definition at line 418 of file TerrainData.cs.

override float [] OpenSim.Framework.HeightmapTerrainData.GetCompressedMap ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 226 of file TerrainData.cs.

override bool OpenSim.Framework.HeightmapTerrainData.GetDatabaseBlob ( out int  DBRevisionCode,
out Array  blob 
)
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 201 of file TerrainData.cs.

override double [,] OpenSim.Framework.HeightmapTerrainData.GetDoubles ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 266 of file TerrainData.cs.

override float [] OpenSim.Framework.HeightmapTerrainData.GetFloatsSerialized ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 250 of file TerrainData.cs.

override bool OpenSim.Framework.HeightmapTerrainData.IsTaintedAt ( int  xx,
int  yy,
bool  clearOnTest 
)
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 181 of file TerrainData.cs.

override bool OpenSim.Framework.HeightmapTerrainData.IsTaintedAt ( int  xx,
int  yy 
)
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 194 of file TerrainData.cs.

override void OpenSim.Framework.HeightmapTerrainData.TaintAllTerrain ( )
inlinevirtual

Implements OpenSim.Framework.TerrainData.

Definition at line 153 of file TerrainData.cs.

short OpenSim.Framework.HeightmapTerrainData.ToCompressedHeightshort ( float  pHeight)
inline

Definition at line 285 of file TerrainData.cs.

ushort OpenSim.Framework.HeightmapTerrainData.ToCompressedHeightushort ( float  pHeight)
inline

Definition at line 296 of file TerrainData.cs.

Array OpenSim.Framework.HeightmapTerrainData.ToCompressedTerrainSerializationV2D ( )
inline

Definition at line 455 of file TerrainData.cs.

Array OpenSim.Framework.HeightmapTerrainData.ToCompressedTerrainSerializationV2DGzip ( )
inline

Definition at line 489 of file TerrainData.cs.

Array OpenSim.Framework.HeightmapTerrainData.ToLegacyTerrainSerialization ( )
inline

Definition at line 393 of file TerrainData.cs.

Property Documentation

override float OpenSim.Framework.HeightmapTerrainData.CompressionFactor
get

Definition at line 223 of file TerrainData.cs.

override float OpenSim.Framework.HeightmapTerrainData.this[int x, int y, int z]
getset

Definition at line 141 of file TerrainData.cs.

override float OpenSim.Framework.HeightmapTerrainData.this[int x, int y]
getset

Definition at line 127 of file TerrainData.cs.


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