From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/class_l_mesh.html | 1831 ++++++++++++++++++++++++++++++++++++ 1 file changed, 1831 insertions(+) create mode 100644 Doc/doxygen/html/class_l_mesh.html (limited to 'Doc/doxygen/html/class_l_mesh.html') diff --git a/Doc/doxygen/html/class_l_mesh.html b/Doc/doxygen/html/class_l_mesh.html new file mode 100644 index 0000000..b70c729 --- /dev/null +++ b/Doc/doxygen/html/class_l_mesh.html @@ -0,0 +1,1831 @@ + + + + + +Starshatter_Open: LMesh Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ +

#include <l3ds.h>

+
+Inheritance diagram for LMesh:
+
+
+ + +LObject +LObject + +
+ +

List of all members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 LMesh ()
virtual ~LMesh ()
void Clear ()
uint GetVertexCount ()
void SetVertexArraySize (uint value)
uint GetTriangleCount ()
void SetTriangleArraySize (uint value)
const LVector4GetVertex (uint index)
const LVector3GetNormal (uint index)
const LVector2GetUV (uint index)
const LVector3GetTangent (uint index)
const LVector3GetBinormal (uint index)
void SetVertex (const LVector4 &vec, uint index)
void SetNormal (const LVector3 &vec, uint index)
void SetUV (const LVector2 &vec, uint index)
void SetTangent (const LVector3 &vec, uint index)
void SetBinormal (const LVector3 &vec, uint index)
const LTriangleGetTriangle (uint index)
LTriangle2 GetTriangle2 (uint index)
LMatrix4 GetMatrix ()
void SetMatrix (LMatrix4 m)
void Optimize (LOptimizationLevel value)
void SetTri (const LTri &tri, uint index)
LTriGetTri (uint index)
uint GetMaterial (uint index)
uint AddMaterial (uint id)
uint GetMaterialCount ()
 LMesh ()
virtual ~LMesh ()
void Clear ()
DWORD GetVertexCount ()
void SetVertexArraySize (DWORD value)
DWORD GetTriangleCount ()
void SetTriangleArraySize (DWORD value)
const LVector4GetVertex (DWORD index)
const LVector3GetNormal (DWORD index)
const LVector2GetUV (DWORD index)
const LVector3GetTangent (DWORD index)
const LVector3GetBinormal (DWORD index)
void SetVertex (const LVector4 &vec, DWORD index)
void SetNormal (const LVector3 &vec, DWORD index)
void SetUV (const LVector2 &vec, DWORD index)
void SetTangent (const LVector3 &vec, DWORD index)
void SetBinormal (const LVector3 &vec, DWORD index)
const LTriangleGetTriangle (DWORD index)
LTriangle2 GetTriangle2 (DWORD index)
LMatrix4 GetMatrix ()
void SetMatrix (LMatrix4 m)
void Optimize (LOptimizationLevel value)
void SetTri (const LTri &tri, DWORD index)
LTriGetTri (DWORD index)
DWORD GetMaterial (DWORD index)
DWORD AddMaterial (DWORD id)
DWORD GetMaterialCount ()
- Public Member Functions inherited from LObject
 LObject ()
virtual ~LObject ()
virtual const std::string & GetName ()
virtual void SetName (const std::string &value)
bool IsObject (const std::string &name)
 LObject ()
virtual ~LObject ()
virtual const char * GetName ()
virtual bool IsObject (const const char *name)
+ + + + + + + +

+Protected Member Functions

void CalcNormals (bool useSmoothingGroups)
void CalcTextureSpace ()
void TransformVertices ()
void CalcNormals (bool useSmoothingGroups)
void CalcTextureSpace ()
void TransformVertices ()
+ + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

std::vector< LVector4m_vertices
std::vector< LVector3m_normals
std::vector< LVector3m_binormals
std::vector< LVector3m_tangents
std::vector< LVector2m_uv
std::vector< LTrianglem_triangles
std::vector< LTrim_tris
LMatrix4 m_matrix
std::vector< uintm_materials
List< LVector4vertices
List< LVector3normals
List< LVector3binormals
List< LVector3tangents
List< LVector2uv
List< LTriangletriangles
List< LTritris
Matrix matrix
List< DWORD > materials
- Protected Attributes inherited from LObject
std::string m_name
Text name
+

Detailed Description

+
+

Definition at line 207 of file l3ds.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
LMesh::LMesh ()
+
+ +

Definition at line 398 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
LMesh::~LMesh ()
+
+virtual
+
+ +

Definition at line 404 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
LMesh::LMesh ()
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
virtual LMesh::~LMesh ()
+
+virtual
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
DWORD LMesh::AddMaterial (DWORD id)
+
+ +
+
+ +
+
+ + + + + + + + +
uint LMesh::AddMaterial (uint id)
+
+ +

Definition at line 842 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void LMesh::CalcNormals (bool useSmoothingGroups)
+
+protected
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
void LMesh::CalcNormals (bool useSmoothingGroups)
+
+protected
+
+ +

Definition at line 560 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void LMesh::CalcTextureSpace ()
+
+protected
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void LMesh::CalcTextureSpace ()
+
+protected
+
+ +

Definition at line 716 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
void LMesh::Clear ()
+
+ +
+
+ +
+
+ + + + + + + +
void LMesh::Clear ()
+
+ +

Definition at line 409 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LVector3& LMesh::GetBinormal (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LVector3 & LMesh::GetBinormal (uint index)
+
+ +

Definition at line 467 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
DWORD LMesh::GetMaterial (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
uint LMesh::GetMaterial (uint index)
+
+ +

Definition at line 837 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
DWORD LMesh::GetMaterialCount ()
+
+ +
+
+ +
+
+ + + + + + + +
uint LMesh::GetMaterialCount ()
+
+ +

Definition at line 848 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
LMatrix4 LMesh::GetMatrix ()
+
+ +
+
+ +
+
+ + + + + + + +
LMatrix4 LMesh::GetMatrix ()
+
+ +

Definition at line 542 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LVector3& LMesh::GetNormal (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LVector3 & LMesh::GetNormal (uint index)
+
+ +

Definition at line 452 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LVector3& LMesh::GetTangent (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LVector3 & LMesh::GetTangent (uint index)
+
+ +

Definition at line 462 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
LTri& LMesh::GetTri (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
LTri & LMesh::GetTri (uint index)
+
+ +

Definition at line 832 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LTriangle& LMesh::GetTriangle (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LTriangle & LMesh::GetTriangle (uint index)
+
+ +

Definition at line 507 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
LTriangle2 LMesh::GetTriangle2 (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
LTriangle2 LMesh::GetTriangle2 (uint index)
+
+ +

Definition at line 512 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
DWORD LMesh::GetTriangleCount ()
+
+ +
+
+ +
+
+ + + + + + + +
uint LMesh::GetTriangleCount ()
+
+ +

Definition at line 436 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LVector2& LMesh::GetUV (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LVector2 & LMesh::GetUV (uint index)
+
+ +

Definition at line 457 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
const LVector4& LMesh::GetVertex (DWORD index)
+
+ +
+
+ +
+
+ + + + + + + + +
const LVector4 & LMesh::GetVertex (uint index)
+
+ +

Definition at line 447 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + +
DWORD LMesh::GetVertexCount ()
+
+ +
+
+ +
+
+ + + + + + + +
uint LMesh::GetVertexCount ()
+
+ +

Definition at line 422 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void LMesh::Optimize (LOptimizationLevel value)
+
+ +
+
+ +
+
+ + + + + + + + +
void LMesh::Optimize (LOptimizationLevel value)
+
+ +

Definition at line 806 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetBinormal (const LVector3vec,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetBinormal (const LVector3vec,
uint index 
)
+
+ +

Definition at line 500 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetMatrix (LMatrix4 m)
+
+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetMatrix (LMatrix4 m)
+
+ +

Definition at line 547 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetNormal (const LVector3vec,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetNormal (const LVector3vec,
uint index 
)
+
+ +

Definition at line 479 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetTangent (const LVector3vec,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetTangent (const LVector3vec,
uint index 
)
+
+ +

Definition at line 493 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetTri (const LTritri,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetTri (const LTritri,
uint index 
)
+
+ +

Definition at line 825 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetTriangleArraySize (DWORD value)
+
+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetTriangleArraySize (uint value)
+
+ +

Definition at line 441 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetUV (const LVector2vec,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetUV (const LVector2vec,
uint index 
)
+
+ +

Definition at line 486 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetVertex (const LVector4vec,
DWORD index 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void LMesh::SetVertex (const LVector4vec,
uint index 
)
+
+ +

Definition at line 472 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetVertexArraySize (DWORD value)
+
+ +
+
+ +
+
+ + + + + + + + +
void LMesh::SetVertexArraySize (uint value)
+
+ +

Definition at line 427 of file l3ds.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void LMesh::TransformVertices ()
+
+protected
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void LMesh::TransformVertices ()
+
+protected
+
+ +

Definition at line 552 of file l3ds.cpp.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
List<LVector3> LMesh::binormals
+
+protected
+
+ +

Definition at line 184 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LVector3> LMesh::m_binormals
+
+protected
+
+ +

Definition at line 268 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<uint> LMesh::m_materials
+
+protected
+
+ +

Definition at line 282 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
LMatrix4 LMesh::m_matrix
+
+protected
+
+ +

Definition at line 279 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LVector3> LMesh::m_normals
+
+protected
+
+ +

Definition at line 267 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LVector3> LMesh::m_tangents
+
+protected
+
+ +

Definition at line 269 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LTriangle> LMesh::m_triangles
+
+protected
+
+ +

Definition at line 273 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LTri> LMesh::m_tris
+
+protected
+
+ +

Definition at line 276 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LVector2> LMesh::m_uv
+
+protected
+
+ +

Definition at line 270 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<LVector4> LMesh::m_vertices
+
+protected
+
+ +

Definition at line 266 of file l3ds.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<DWORD> LMesh::materials
+
+protected
+
+ +

Definition at line 198 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
Matrix LMesh::matrix
+
+protected
+
+ +

Definition at line 195 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LVector3> LMesh::normals
+
+protected
+
+ +

Definition at line 183 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LVector3> LMesh::tangents
+
+protected
+
+ +

Definition at line 185 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LTriangle> LMesh::triangles
+
+protected
+
+ +

Definition at line 189 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LTri> LMesh::tris
+
+protected
+
+ +

Definition at line 192 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LVector2> LMesh::uv
+
+protected
+
+ +

Definition at line 186 of file M3DS.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
List<LVector4> LMesh::vertices
+
+protected
+
+ +

Definition at line 182 of file M3DS.h.

+ +
+
+
The documentation for this class was generated from the following files:
    +
  • D:/SRC/StarshatterSVN/Magic2/l3ds.h
  • +
  • D:/SRC/StarshatterSVN/Magic2/M3DS.h
  • +
  • D:/SRC/StarshatterSVN/Magic2/l3ds.cpp
  • +
+
+
+ + + + -- cgit v1.1