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

generates a profile for extrusion More...

Collaboration diagram for PrimMesher.Profile:
Collaboration graph
[legend]

Public Member Functions

 Profile ()
 
 Profile (int sides, float profileStart, float profileEnd, float hollow, int hollowSides, bool createFaces, bool calcVertexNormals)
 
void MakeFaceUVs ()
 
Profile Copy ()
 
Profile Copy (bool needFaces)
 
void AddPos (Coord v)
 
void AddPos (float x, float y, float z)
 
void AddRot (Quat q)
 
void Scale (float x, float y)
 
void FlipNormals ()
 Changes order of the vertex indices and negates the center vertex normal. Does not alter vertex normals of radial vertices More...
 
void AddValue2FaceVertexIndices (int num)
 
void AddValue2FaceNormalIndices (int num)
 
void DumpRaw (String path, String name, String title)
 
 Profile ()
 
 Profile (int sides, float profileStart, float profileEnd, float hollow, int hollowSides, bool hasProfileCut, bool createFaces)
 
Profile Copy ()
 
Profile Copy (bool needFaces)
 
void AddPos (Coord v)
 
void AddPos (float x, float y, float z)
 
void AddRot (Quat q)
 
void Scale (float x, float y)
 
void FlipNormals ()
 Changes order of the vertex indices and negates the center vertex normal. Does not alter vertex normals of radial vertices More...
 
void AddValue2FaceVertexIndices (int num)
 
void DumpRaw (String path, String name, String title)
 

Public Attributes

string errorMessage = null
 
List< Coordcoords
 
List< Facefaces
 
List< CoordvertexNormals
 
List< float > us
 
List< UVCoordfaceUVs
 
List< int > faceNumbers
 
List< int > outerCoordIndices = null
 
List< int > hollowCoordIndices = null
 
List< int > cut1CoordIndices = null
 
List< int > cut2CoordIndices = null
 
Coord faceNormal = new Coord(0.0f, 0.0f, 1.0f)
 
Coord cutNormal1 = new Coord()
 
Coord cutNormal2 = new Coord()
 
int numOuterVerts = 0
 
int numHollowVerts = 0
 
int outerFaceNumber = -1
 
int hollowFaceNumber = -1
 
bool calcVertexNormals = false
 
int bottomFaceNumber = 0
 
int numPrimFaces = 0
 

Detailed Description

generates a profile for extrusion

Definition at line 613 of file PrimMesher.cs.

Constructor & Destructor Documentation

PrimMesher.Profile.Profile ( )
inline

Definition at line 646 of file PrimMesher.cs.

Here is the caller graph for this function:

PrimMesher.Profile.Profile ( int  sides,
float  profileStart,
float  profileEnd,
float  hollow,
int  hollowSides,
bool  createFaces,
bool  calcVertexNormals 
)
inline

Definition at line 656 of file PrimMesher.cs.

PrimMesher.Profile.Profile ( )
inline

Definition at line 516 of file PrimMesher.cs.

PrimMesher.Profile.Profile ( int  sides,
float  profileStart,
float  profileEnd,
float  hollow,
int  hollowSides,
bool  hasProfileCut,
bool  createFaces 
)
inline

Definition at line 522 of file PrimMesher.cs.

Member Function Documentation

void PrimMesher.Profile.AddPos ( Coord  v)
inline

Definition at line 833 of file PrimMesher.cs.

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

Definition at line 838 of file PrimMesher.cs.

void PrimMesher.Profile.AddPos ( Coord  v)
inline

Definition at line 1074 of file PrimMesher.cs.

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

Definition at line 1079 of file PrimMesher.cs.

void PrimMesher.Profile.AddRot ( Quat  q)
inline

Definition at line 854 of file PrimMesher.cs.

void PrimMesher.Profile.AddRot ( Quat  q)
inline

Definition at line 1095 of file PrimMesher.cs.

void PrimMesher.Profile.AddValue2FaceNormalIndices ( int  num)
inline

Definition at line 1189 of file PrimMesher.cs.

void PrimMesher.Profile.AddValue2FaceVertexIndices ( int  num)
inline

Definition at line 906 of file PrimMesher.cs.

void PrimMesher.Profile.AddValue2FaceVertexIndices ( int  num)
inline

Definition at line 1174 of file PrimMesher.cs.

Profile PrimMesher.Profile.Copy ( )
inline

Definition at line 813 of file PrimMesher.cs.

Here is the call graph for this function:

Profile PrimMesher.Profile.Copy ( bool  needFaces)
inline

Definition at line 818 of file PrimMesher.cs.

Here is the call graph for this function:

Profile PrimMesher.Profile.Copy ( )
inline

Definition at line 1040 of file PrimMesher.cs.

Here is the caller graph for this function:

Profile PrimMesher.Profile.Copy ( bool  needFaces)
inline

Definition at line 1045 of file PrimMesher.cs.

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

Definition at line 925 of file PrimMesher.cs.

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

Definition at line 1207 of file PrimMesher.cs.

void PrimMesher.Profile.FlipNormals ( )
inline

Changes order of the vertex indices and negates the center vertex normal. Does not alter vertex normals of radial vertices

Definition at line 886 of file PrimMesher.cs.

void PrimMesher.Profile.FlipNormals ( )
inline

Changes order of the vertex indices and negates the center vertex normal. Does not alter vertex normals of radial vertices

Definition at line 1134 of file PrimMesher.cs.

void PrimMesher.Profile.MakeFaceUVs ( )
inline

Definition at line 1033 of file PrimMesher.cs.

void PrimMesher.Profile.Scale ( float  x,
float  y 
)
inline

Definition at line 863 of file PrimMesher.cs.

void PrimMesher.Profile.Scale ( float  x,
float  y 
)
inline

Definition at line 1116 of file PrimMesher.cs.

Member Data Documentation

int PrimMesher.Profile.bottomFaceNumber = 0

Definition at line 643 of file PrimMesher.cs.

bool PrimMesher.Profile.calcVertexNormals = false

Definition at line 642 of file PrimMesher.cs.

List< Coord > PrimMesher.Profile.coords

Definition at line 619 of file PrimMesher.cs.

List<int> PrimMesher.Profile.cut1CoordIndices = null

Definition at line 629 of file PrimMesher.cs.

List<int> PrimMesher.Profile.cut2CoordIndices = null

Definition at line 630 of file PrimMesher.cs.

Coord PrimMesher.Profile.cutNormal1 = new Coord()

Definition at line 633 of file PrimMesher.cs.

Coord PrimMesher.Profile.cutNormal2 = new Coord()

Definition at line 634 of file PrimMesher.cs.

string PrimMesher.Profile.errorMessage = null

Definition at line 617 of file PrimMesher.cs.

Coord PrimMesher.Profile.faceNormal = new Coord(0.0f, 0.0f, 1.0f)

Definition at line 632 of file PrimMesher.cs.

List<int> PrimMesher.Profile.faceNumbers

Definition at line 624 of file PrimMesher.cs.

List< Face > PrimMesher.Profile.faces

Definition at line 620 of file PrimMesher.cs.

List<UVCoord> PrimMesher.Profile.faceUVs

Definition at line 623 of file PrimMesher.cs.

List< int > PrimMesher.Profile.hollowCoordIndices = null

Definition at line 628 of file PrimMesher.cs.

int PrimMesher.Profile.hollowFaceNumber = -1

Definition at line 640 of file PrimMesher.cs.

int PrimMesher.Profile.numHollowVerts = 0

Definition at line 637 of file PrimMesher.cs.

int PrimMesher.Profile.numOuterVerts = 0

Definition at line 636 of file PrimMesher.cs.

int PrimMesher.Profile.numPrimFaces = 0

Definition at line 644 of file PrimMesher.cs.

List< int > PrimMesher.Profile.outerCoordIndices = null

Definition at line 627 of file PrimMesher.cs.

int PrimMesher.Profile.outerFaceNumber = -1

Definition at line 639 of file PrimMesher.cs.

List<float> PrimMesher.Profile.us

Definition at line 622 of file PrimMesher.cs.

List<Coord> PrimMesher.Profile.vertexNormals

Definition at line 621 of file PrimMesher.cs.


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