OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
PrimMesher.SculptMesh Class Reference

Public Types

enum  SculptType {
  SculptType.sphere = 1, SculptType.torus = 2, SculptType.plane = 3, SculptType.cylinder = 4,
  SculptType.sphere = 1, SculptType.torus = 2, SculptType.plane = 3, SculptType.cylinder = 4
}
 
enum  SculptType {
  SculptType.sphere = 1, SculptType.torus = 2, SculptType.plane = 3, SculptType.cylinder = 4,
  SculptType.sphere = 1, SculptType.torus = 2, SculptType.plane = 3, SculptType.cylinder = 4
}
 

Public Member Functions

SculptMesh SculptMeshFromFile (string fileName, SculptType sculptType, int lod, bool viewerMode)
 
 SculptMesh (string fileName, int sculptType, int lod, int viewerMode, int mirror, int invert)
 
 SculptMesh (float[,] zMap, float xBegin, float xEnd, float yBegin, float yEnd, bool viewerMode)
 ** Experimental ** May disappear from future versions ** not recommeneded for use in applications Construct a sculpt mesh from a 2D array of floats More...
 
 SculptMesh (Bitmap sculptBitmap, SculptType sculptType, int lod, bool viewerMode)
 
 SculptMesh (Bitmap sculptBitmap, SculptType sculptType, int lod, bool viewerMode, bool mirror, bool invert)
 
 SculptMesh (List< List< Coord >> rows, SculptType sculptType, bool viewerMode, bool mirror, bool invert)
 
SculptMesh Copy ()
 Duplicates a SculptMesh object. All object properties are copied by value, including lists. More...
 
 SculptMesh (SculptMesh sm)
 
void AddPos (float x, float y, float z)
 Adds a value to each XYZ vertex coordinate in the mesh More...
 
void AddRot (Quat q)
 Rotates the mesh More...
 
void Scale (float x, float y, float z)
 
void DumpRaw (String path, String name, String title)
 
 SculptMesh (Bitmap sculptBitmap, SculptType sculptType, int lod, bool mirror, bool invert)
 
SculptMesh Copy ()
 Duplicates a SculptMesh object. All object properties are copied by value, including lists. More...
 
 SculptMesh (SculptMesh sm)
 
void Scale (float x, float y, float z)
 
void DumpRaw (String path, String name, String title)
 

Public Attributes

List< Coordcoords
 
List< Facefaces
 
List< ViewerFaceviewerFaces
 
List< Coordnormals
 
List< UVCoorduvs
 

Detailed Description

Definition at line 44 of file SculptMesh.cs.

Member Enumeration Documentation

Enumerator
sphere 
torus 
plane 
cylinder 
sphere 
torus 
plane 
cylinder 

Definition at line 44 of file SculptMesh.cs.

Enumerator
sphere 
torus 
plane 
cylinder 
sphere 
torus 
plane 
cylinder 

Definition at line 53 of file SculptMesh.cs.

Constructor & Destructor Documentation

PrimMesher.SculptMesh.SculptMesh ( string  fileName,
int  sculptType,
int  lod,
int  viewerMode,
int  mirror,
int  invert 
)
inline

Definition at line 66 of file SculptMesh.cs.

Here is the caller graph for this function:

PrimMesher.SculptMesh.SculptMesh ( float  zMap[,],
float  xBegin,
float  xEnd,
float  yBegin,
float  yEnd,
bool  viewerMode 
)
inline

** Experimental ** May disappear from future versions ** not recommeneded for use in applications Construct a sculpt mesh from a 2D array of floats

Parameters
zMap
xBegin
xEnd
yBegin
yEnd
viewerMode

Definition at line 84 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( Bitmap  sculptBitmap,
SculptType  sculptType,
int  lod,
bool  viewerMode 
)
inline

Definition at line 178 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( Bitmap  sculptBitmap,
SculptType  sculptType,
int  lod,
bool  viewerMode,
bool  mirror,
bool  invert 
)
inline

Definition at line 183 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( List< List< Coord >>  rows,
SculptType  sculptType,
bool  viewerMode,
bool  mirror,
bool  invert 
)
inline

Definition at line 189 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( SculptMesh  sm)
inline

Definition at line 474 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( Bitmap  sculptBitmap,
SculptType  sculptType,
int  lod,
bool  mirror,
bool  invert 
)
inline

Definition at line 47 of file SculptMesh.cs.

PrimMesher.SculptMesh.SculptMesh ( SculptMesh  sm)
inline

Definition at line 184 of file SculptMesh.cs.

Member Function Documentation

void PrimMesher.SculptMesh.AddPos ( float  x,
float  y,
float  z 
)
inline

Adds a value to each XYZ vertex coordinate in the mesh

Parameters
x
y
z

Definition at line 539 of file SculptMesh.cs.

void PrimMesher.SculptMesh.AddRot ( Quat  q)
inline

Rotates the mesh

Parameters
q

Definition at line 571 of file SculptMesh.cs.

SculptMesh PrimMesher.SculptMesh.Copy ( )
inline

Duplicates a SculptMesh object. All object properties are copied by value, including lists.

Returns

Definition at line 179 of file SculptMesh.cs.

Here is the call graph for this function:

SculptMesh PrimMesher.SculptMesh.Copy ( )
inline

Duplicates a SculptMesh object. All object properties are copied by value, including lists.

Returns

Definition at line 469 of file SculptMesh.cs.

Here is the call graph for this function:

void PrimMesher.SculptMesh.DumpRaw ( String  path,
String  name,
String  title 
)
inline

Definition at line 200 of file SculptMesh.cs.

void PrimMesher.SculptMesh.DumpRaw ( String  path,
String  name,
String  title 
)
inline

Definition at line 626 of file SculptMesh.cs.

void PrimMesher.SculptMesh.Scale ( float  x,
float  y,
float  z 
)
inline

Definition at line 190 of file SculptMesh.cs.

void PrimMesher.SculptMesh.Scale ( float  x,
float  y,
float  z 
)
inline

Definition at line 603 of file SculptMesh.cs.

SculptMesh PrimMesher.SculptMesh.SculptMeshFromFile ( string  fileName,
SculptType  sculptType,
int  lod,
bool  viewerMode 
)
inline

Definition at line 57 of file SculptMesh.cs.

Here is the call graph for this function:

Member Data Documentation

List< Coord > PrimMesher.SculptMesh.coords

Definition at line 46 of file SculptMesh.cs.

List< Face > PrimMesher.SculptMesh.faces

Definition at line 47 of file SculptMesh.cs.

List<Coord> PrimMesher.SculptMesh.normals

Definition at line 50 of file SculptMesh.cs.

List<UVCoord> PrimMesher.SculptMesh.uvs

Definition at line 51 of file SculptMesh.cs.

List<ViewerFace> PrimMesher.SculptMesh.viewerFaces

Definition at line 49 of file SculptMesh.cs.


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