From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html | 489 +++++++++++++++++++++ 1 file changed, 489 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html (limited to 'docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html b/docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html new file mode 100644 index 00000000..1a796a22 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CMRMLevelDetail.html @@ -0,0 +1,489 @@ + + + + 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::CMRMLevelDetail Class Reference

Degradation Control for MRM. +More... +

+#include <mrm_level_detail.h> +

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

Public Methods

 CMRMLevelDetail ()
 Constructor. More...

void compileDistanceSetup ()
 compile OODistanceDelta and DistancePow. More...

float getLevelDetailFromDist (float dist)
 return a float [0,1], computed from a distance (should be >0). More...

float getNumTriangles (float dist)
 return number of triangles for a distance. More...

float getLevelDetailFromPolyCount (float polygonCount)
 return a float [0,1], computed from number of poly wanted (should be >0). More...


Public Attributes

uint32 MinFaceUsed
 For Load balancing, the min number of faces this MRM use. More...

uint32 MaxFaceUsed
 For Load balancing, the max number of faces this MRM use. More...

float DistanceFinest
 The MRM has its max faces when dist<=DistanceFinest. nlassert if <0. More...

float DistanceMiddle
 The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest. More...

float DistanceCoarsest
 The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle. More...

float OODistanceDelta
 compiled info (public for faster serial). More...

float DistancePow
+


Detailed Description

+Degradation Control for MRM. +

+used by CMeshMRM and CSkeletonModel

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

+ +

+Definition at line 51 of file mrm_level_detail.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CMRMLevelDetail::CMRMLevelDetail   [inline]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 73 of file mrm_level_detail.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NL3D::CMRMLevelDetail::compileDistanceSetup  
+
+ + + + + +
+   + + +

+compile OODistanceDelta and DistancePow. +

+ +

+Definition at line 37 of file mrm_level_detail.cpp. +

+References DistanceCoarsest, DistanceFinest, DistanceMiddle, DistancePow, and OODistanceDelta.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CMRMLevelDetail::getLevelDetailFromDist float   dist
+
+ + + + + +
+   + + +

+return a float [0,1], computed from a distance (should be >0). +

+ +

+Definition at line 50 of file mrm_level_detail.cpp. +

+References DistanceCoarsest, DistanceFinest, DistancePow, and OODistanceDelta. +

+Referenced by getNumTriangles.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CMRMLevelDetail::getLevelDetailFromPolyCount float   polygonCount [inline]
+
+ + + + + +
+   + + +

+return a float [0,1], computed from number of poly wanted (should be >0). +

+ +

+Definition at line 101 of file mrm_level_detail.h. +

+References NLMISC::clamp, MaxFaceUsed, MinFaceUsed, and NL3D_MRM_LD_SHIFT_POLY_COUNT.

+

+ + + + +
+ + + + + + + + + + +
float NL3D::CMRMLevelDetail::getNumTriangles float   dist [inline]
+
+ + + + + +
+   + + +

+return number of triangles for a distance. +

+ +

+Definition at line 82 of file mrm_level_detail.h. +

+References getLevelDetailFromDist, MaxFaceUsed, MinFaceUsed, and NL3D_MRM_LD_SHIFT_POLY_COUNT.

+


Member Data Documentation

+

+ + + + +
+ + +
float NL3D::CMRMLevelDetail::DistanceCoarsest +
+
+ + + + + +
+   + + +

+The MRM has faces/Divisor when dist>=DistanceCoarsest. nlassert if <= DistanceMiddle. +

+ +

+Definition at line 65 of file mrm_level_detail.h. +

+Referenced by compileDistanceSetup, and getLevelDetailFromDist.

+

+ + + + +
+ + +
float NL3D::CMRMLevelDetail::DistanceFinest +
+
+ + + + + +
+   + + +

+The MRM has its max faces when dist<=DistanceFinest. nlassert if <0. +

+ +

+Definition at line 61 of file mrm_level_detail.h. +

+Referenced by compileDistanceSetup, and getLevelDetailFromDist.

+

+ + + + +
+ + +
float NL3D::CMRMLevelDetail::DistanceMiddle +
+
+ + + + + +
+   + + +

+The MRM has 50% of its faces at dist==DistanceMiddle. nlassert if <= DistanceFinest. +

+ +

+Definition at line 63 of file mrm_level_detail.h. +

+Referenced by compileDistanceSetup.

+

+ + + + +
+ + +
float NL3D::CMRMLevelDetail::DistancePow +
+
+ + + + + +
+   + + +

+ +

+Definition at line 69 of file mrm_level_detail.h. +

+Referenced by compileDistanceSetup, and getLevelDetailFromDist.

+

+ + + + +
+ + +
uint32 NL3D::CMRMLevelDetail::MaxFaceUsed +
+
+ + + + + +
+   + + +

+For Load balancing, the max number of faces this MRM use. +

+ +

+Definition at line 58 of file mrm_level_detail.h. +

+Referenced by getLevelDetailFromPolyCount, and getNumTriangles.

+

+ + + + +
+ + +
uint32 NL3D::CMRMLevelDetail::MinFaceUsed +
+
+ + + + + +
+   + + +

+For Load balancing, the min number of faces this MRM use. +

+ +

+Definition at line 56 of file mrm_level_detail.h. +

+Referenced by getLevelDetailFromPolyCount, and getNumTriangles.

+

+ + + + +
+ + +
float NL3D::CMRMLevelDetail::OODistanceDelta +
+
+ + + + + +
+   + + +

+compiled info (public for faster serial). +

+ +

+Definition at line 68 of file mrm_level_detail.h. +

+Referenced by compileDistanceSetup, and getLevelDetailFromDist.

+


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