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

This class is used by CLandscape and IG/Pacs to compute interpolated influence of lights (biLinear-like) on a square. +More... +

+#include <light_influence_interpolator.h> +

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

Public Types

enum  { NumLightPerCorner = 2 + }
 We support only 2 light per corner. More...


Public Methods

 CLightInfluenceInterpolator ()
 Constructor. No-op !! More...

void interpolate (std::vector< CPointLightInfluence > &pointLightList, float subX, float subY)
 solve the biLinear (regrouping multiple influence of light at same id), and add CPointLightInfluence to the list. More...


Public Attributes

CCorner Corners [4]
 The User must setup Lights correctly for each corner (ie set NULL for each light not here). More...

+


Detailed Description

+This class is used by CLandscape and IG/Pacs to compute interpolated influence of lights (biLinear-like) on a square. +

+It works only with CPointLightNamed.

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

+ +

+Definition at line 48 of file light_influence_interpolator.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
anonymous enum +
+
+ + + + + +
+   + + +

+We support only 2 light per corner. +

+

+Enumeration values:
+ + +
NumLightPerCorner  +
+
+ +

+Definition at line 53 of file light_influence_interpolator.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CLightInfluenceInterpolator::CLightInfluenceInterpolator   [inline]
+
+ + + + + +
+   + + +

+Constructor. No-op !! +

+ +

+Definition at line 77 of file light_influence_interpolator.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CLightInfluenceInterpolator::interpolate std::vector< CPointLightInfluence > &   pointLightList,
float   subX,
float   subY
+
+ + + + + +
+   + + +

+solve the biLinear (regrouping multiple influence of light at same id), and add CPointLightInfluence to the list. +

+

+Parameters:
+ + + +
subX  +E [0, 1] is the x coord for biLinear
subY  +E [0, 1] is the y coord for biLinear
+
+

+Definition at line 38 of file light_influence_interpolator.cpp. +

+References Corners, id, NL3D::CLightInfluenceInterpolator::CCorner::Influence, NL3D::CLightInfluenceInterpolator::CCorner::Lights, nlassert, and NumLightPerCorner.

+


Member Data Documentation

+

+ + + + +
+ + +
CCorner NL3D::CLightInfluenceInterpolator::Corners[4] +
+
+ + + + + +
+   + + +

+The User must setup Lights correctly for each corner (ie set NULL for each light not here). +

+Corner order is TL(0,0), TR(1,0), BL(0,1), BR(1,1). +

+Definition at line 71 of file light_influence_interpolator.h. +

+Referenced by interpolate.

+


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