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_1CPointLightNamedArray.html | 483 +++++++++++++++++++++ 1 file changed, 483 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CPointLightNamedArray.html (limited to 'docs/doxygen/nel/classNL3D_1_1CPointLightNamedArray.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CPointLightNamedArray.html b/docs/doxygen/nel/classNL3D_1_1CPointLightNamedArray.html new file mode 100644 index 00000000..26276e62 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPointLightNamedArray.html @@ -0,0 +1,483 @@ + + + + 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::CPointLightNamedArray Class Reference

A class used bi CInstanceGroup and CZone. +More... +

+#include <point_light_named_array.h> +

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

Public Methods

 CPointLightNamedArray ()
 Constructor. More...

void clear ()
 clear All: pointLights and map. More...

void build (const std::vector< CPointLightNamed > &pointLights, std::vector< uint > &indexRemap)
 sort pointLights and make Groups by name for setFactor(). More...

const std::vector< CPointLightNamed > & getPointLights () const
 get the pointLights sorted (const version). More...

std::vector< CPointLightNamed > & getPointLights ()
 get the pointLights sorted (mutable version). Be sure what you do! More...

void setPointLightFactor (const std::string &lightGroupName, NLMISC::CRGBA nFactor)
 set the Light factor for all pointLights "lightGroupName". More...

void serial (NLMISC::IStream &f)

Private Types

typedef std::map< std::string,
+ CPointLightGroup
TPLGMap
typedef std::map< std::string,
+ CPointLightGroup >::iterator 
ItPLGMap

Private Attributes

std::vector< CPointLightNamed_PointLights
 List of pointLight. More...

TPLGMap _PointLightGroupMap
 Info for LightGroupName and setPointLightFactor. More...

+


Detailed Description

+A class used bi CInstanceGroup and CZone. +

+Just a list of pointLights, grouped by name.

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

+ +

+Definition at line 43 of file point_light_named_array.h.


Member Typedef Documentation

+

+ + + + +
+ + +
typedef std::map<std::string, CPointLightGroup>::iterator NL3D::CPointLightNamedArray::ItPLGMap [private] +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by setPointLightFactor.

+

+ + + + +
+ + +
typedef std::map<std::string, CPointLightGroup> NL3D::CPointLightNamedArray::TPLGMap [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 88 of file point_light_named_array.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CPointLightNamedArray::CPointLightNamedArray  
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 39 of file point_light_named_array.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CPointLightNamedArray::build const std::vector< CPointLightNamed > &   pointLights,
std::vector< uint > &   indexRemap
+
+ + + + + +
+   + + +

+sort pointLights and make Groups by name for setFactor(). +

+indexRemap gets news Ids for pointLights. eg: old PointLight n°0 is now at indexRemap[0]. +

+Definition at line 66 of file point_light_named_array.cpp. +

+References _PointLightGroupMap, and _PointLights.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CPointLightNamedArray::clear  
+
+ + + + + +
+   + + +

+clear All: pointLights and map. +

+ +

+Definition at line 58 of file point_light_named_array.cpp. +

+References _PointLightGroupMap, and _PointLights.

+

+ + + + +
+ + + + + + + + + +
std::vector<CPointLightNamed>& NL3D::CPointLightNamedArray::getPointLights   [inline]
+
+ + + + + +
+   + + +

+get the pointLights sorted (mutable version). Be sure what you do! +

+ +

+Definition at line 64 of file point_light_named_array.h. +

+References _PointLights.

+

+ + + + +
+ + + + + + + + + +
const std::vector<CPointLightNamed>& NL3D::CPointLightNamedArray::getPointLights   const [inline]
+
+ + + + + +
+   + + +

+get the pointLights sorted (const version). +

+ +

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

+References _PointLights.

+

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

+ +

+Definition at line 145 of file point_light_named_array.cpp. +

+References _PointLightGroupMap, _PointLights, NLMISC::IStream::serialCont, and NLMISC::IStream::serialVersion.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CPointLightNamedArray::setPointLightFactor const std::string &   lightGroupName,
NLMISC::CRGBA   nFactor
+
+ + + + + +
+   + + +

+set the Light factor for all pointLights "lightGroupName". +

+ +

+Definition at line 124 of file point_light_named_array.cpp. +

+References _PointLightGroupMap, _PointLights, ItPLGMap, and nlassert.

+


Member Data Documentation

+

+ + + + +
+ + +
TPLGMap NL3D::CPointLightNamedArray::_PointLightGroupMap [private] +
+
+ + + + + +
+   + + +

+Info for LightGroupName and setPointLightFactor. +

+ +

+Definition at line 91 of file point_light_named_array.h. +

+Referenced by build, clear, serial, and setPointLightFactor.

+

+ + + + +
+ + +
std::vector<CPointLightNamed> NL3D::CPointLightNamedArray::_PointLights [private] +
+
+ + + + + +
+   + + +

+List of pointLight. +

+ +

+Definition at line 75 of file point_light_named_array.h. +

+Referenced by build, clear, getPointLights, serial, and setPointLightFactor.

+


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