28 using OpenSim.Framework;
31 namespace OpenSim.
Region.Framework.Interfaces
36 bool Tainted(
int x,
int y);
39 void ModifyTerrain(
float height,
float seconds, byte brushsize, byte action,
float north,
float west,
42 void CheckHeightValues();
43 float[] GetHeights1D();
44 float[,] GetHeights2D();
45 double[,] GetHeights2DD();
46 void GetHeights1D(
float[] heights);
47 void SetHeights2D(
float[,] heights);
48 void SetHeights2D(
double[,] heights);
49 void SwapRevertMaps();
51 bool RunTerrainCmd(
string[] args, ref
string resultText,
string simName);
52 void SetRange(
float min,
float max);
53 void LoadFromFileF64(
string filename);
54 void LoadFromFileF32(
string filename);
55 void LoadFromFileF32(
string filename,
int dimensionX,
int dimensionY,
int lowerboundX,
int lowerboundY);
56 void LoadFromFileIMG(
string filename,
int dimensionX,
int dimensionY,
int lowerboundX,
int lowerboundY);
57 void LoadFromFileSLRAW(
string filename);
58 void WriteToFileF64(
string filename);
59 void WriteToFileF32(
string filename);
60 void WriteToFileRAW(
string filename);
61 void WriteToFileHiRAW(
string filename);
62 void SetSeed(
int val);
63 void RaiseTerrain(
double rx,
double ry,
double size,
double amount);
64 void LowerTerrain(
double rx,
double ry,
double size,
double amount);
65 void FlattenTerrain(
double rx,
double ry,
double size,
double amount);
66 void NoiseTerrain(
double rx,
double ry,
double size,
double amount);
67 void RevertTerrain(
double rx,
double ry,
double size,
double amount);
68 void SmoothTerrain(
double rx,
double ry,
double size,
double amount);
69 void HillsGenerator();
70 double GetHeight(
int x,
int y);
71 void ExportImage(
string filename,
string gradientmap);
72 byte[] ExportJpegImage(
string gradientmap);
77 System.Drawing.Bitmap CreateMapTile();
78 System.Drawing.Bitmap CreateViewImage(Vector3 camPos, Vector3 camDir,
float fov,
int width,
int height,
bool useTextures);
79 byte[] WriteJpeg2000Image();
delegate void ModifyTerrain(UUID user, float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId)