From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNL3D_1_1CLodCharacterShapeBuild.html | 569 +++++++++++++++++++++ 1 file changed, 569 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CLodCharacterShapeBuild.html (limited to 'docs/doxygen/nel/classNL3D_1_1CLodCharacterShapeBuild.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CLodCharacterShapeBuild.html b/docs/doxygen/nel/classNL3D_1_1CLodCharacterShapeBuild.html new file mode 100644 index 00000000..f95142e5 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CLodCharacterShapeBuild.html @@ -0,0 +1,569 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NL3D::CLodCharacterShapeBuild Class Reference

A build structure information for building a CLodCharacterShape This is the structure exported from the 3D editor. +More... +

+#include <lod_character_shape.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CLodCharacterShapeBuild ()
void compile (const std::vector< bool > &triangleSelection, uint textureOverSample=25)
 compile the lod: compute Texture Information. More...

void serial (NLMISC::IStream &f)
 serial. More...

const CPixelInfogetTextureInfoPtr ()
 get TextureInfo. More...

uint getTextureInfoWidth () const
uint getTextureInfoHeight () const

Public Attributes

std::vector< CVector > Vertices
std::vector< CMesh::CSkinWeightSkinWeights
std::vector< CUV > UVs
std::vector< CVector > Normals
std::vector< std::string > BonesNames
std::vector< uint32TriangleIndices

Private Attributes

std::vector< CPixelInfo_TextureInfo
uint32 _Width
uint32 _Height
+


Detailed Description

+A build structure information for building a CLodCharacterShape This is the structure exported from the 3D editor. +

+

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2002
+

+ +

+Definition at line 46 of file lod_character_shape.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CLodCharacterShapeBuild::CLodCharacterShapeBuild  
+
+ + + + + +
+   + + +

+ +

+Definition at line 57 of file lod_character_shape.cpp. +

+References _Height, and _Width.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CLodCharacterShapeBuild::compile const std::vector< bool > &   triangleSelection,
uint   textureOverSample = 25
+
+ + + + + +
+   + + +

+compile the lod: compute Texture Information. +

+

+Parameters:
+ + + +
triangleSelection.  +If not same size as triangles, not used. Else texture info is filled only with triangles whose their triangleSelection[triId]==true
textureOverSample  +is rounded to the best square (4,9,...). Prefer a srq(oddVal): 1,9,25,49 etc... NB: overSamples are not averaged, but the nearest sample to the texel center is taken.
+
+

+Definition at line 65 of file lod_character_shape.cpp. +

+References _Height, _TextureInfo, _Width, min, NL3D_CLOD_TEXT_HEIGHT, NL3D_CLOD_TEXT_WIDTH, nlassert, Normals, NLMISC::sqr, TriangleIndices, UVs, v, Vertices, x, and y.

+

+ + + + +
+ + + + + + + + + +
uint NL3D::CLodCharacterShapeBuild::getTextureInfoHeight   const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 111 of file lod_character_shape.h. +

+References _Height.

+

+ + + + +
+ + + + + + + + + +
const CLodCharacterShapeBuild::CPixelInfo * NL3D::CLodCharacterShapeBuild::getTextureInfoPtr  
+
+ + + + + +
+   + + +

+get TextureInfo. +

+ +

+Definition at line 312 of file lod_character_shape.cpp. +

+References _TextureInfo.

+

+ + + + +
+ + + + + + + + + +
uint NL3D::CLodCharacterShapeBuild::getTextureInfoWidth   const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 110 of file lod_character_shape.h. +

+References _Width.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CLodCharacterShapeBuild::serial NLMISC::IStream  f
+
+ + + + + +
+   + + +

+serial. +

+ +

+Definition at line 272 of file lod_character_shape.cpp. +

+References _Height, _TextureInfo, _Width, BonesNames, NL3D_CLOD_TEXT_HEIGHT, NL3D_CLOD_TEXT_WIDTH, Normals, NLMISC::IStream::serial, NLMISC::IStream::serialCheck, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, SkinWeights, TriangleIndices, UVs, and Vertices.

+


Member Data Documentation

+

+ + + + +
+ + +
uint32 NL3D::CLodCharacterShapeBuild::_Height [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 117 of file lod_character_shape.h. +

+Referenced by CLodCharacterShapeBuild, compile, getTextureInfoHeight, and serial.

+

+ + + + +
+ + +
std::vector<CPixelInfo> NL3D::CLodCharacterShapeBuild::_TextureInfo [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 116 of file lod_character_shape.h. +

+Referenced by compile, getTextureInfoPtr, and serial.

+

+ + + + +
+ + +
uint32 NL3D::CLodCharacterShapeBuild::_Width [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 117 of file lod_character_shape.h. +

+Referenced by CLodCharacterShapeBuild, compile, getTextureInfoWidth, and serial.

+

+ + + + +
+ + +
std::vector<std::string> NL3D::CLodCharacterShapeBuild::BonesNames +
+
+ + + + + +
+   + + +

+ +

+Definition at line 89 of file lod_character_shape.h. +

+Referenced by serial.

+

+ + + + +
+ + +
std::vector<CVector> NL3D::CLodCharacterShapeBuild::Normals +
+
+ + + + + +
+   + + +

+ +

+Definition at line 86 of file lod_character_shape.h. +

+Referenced by compile, and serial.

+

+ + + + +
+ + +
std::vector<CMesh::CSkinWeight> NL3D::CLodCharacterShapeBuild::SkinWeights +
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file lod_character_shape.h. +

+Referenced by serial.

+

+ + + + +
+ + +
std::vector<uint32> NL3D::CLodCharacterShapeBuild::TriangleIndices +
+
+ + + + + +
+   + + +

+ +

+Definition at line 92 of file lod_character_shape.h. +

+Referenced by compile, and serial.

+

+ + + + +
+ + +
std::vector<CUV> NL3D::CLodCharacterShapeBuild::UVs +
+
+ + + + + +
+   + + +

+ +

+Definition at line 83 of file lod_character_shape.h. +

+Referenced by compile, and serial.

+

+ + + + +
+ + +
std::vector<CVector> NL3D::CLodCharacterShapeBuild::Vertices +
+
+ + + + + +
+   + + +

+ +

+Definition at line 77 of file lod_character_shape.h. +

+Referenced by compile, and serial.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1