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_1UVisualCollisionManager.html | 317 +++++++++++++++++++++ 1 file changed, 317 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1UVisualCollisionManager.html (limited to 'docs/doxygen/nel/classNL3D_1_1UVisualCollisionManager.html') diff --git a/docs/doxygen/nel/classNL3D_1_1UVisualCollisionManager.html b/docs/doxygen/nel/classNL3D_1_1UVisualCollisionManager.html new file mode 100644 index 00000000..920b07a4 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1UVisualCollisionManager.html @@ -0,0 +1,317 @@ + + + + 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::UVisualCollisionManager Class Reference

Interface to visual collision manager. +More... +

+#include <u_visual_collision_manager.h> +

+

Inheritance diagram for NL3D::UVisualCollisionManager: +

+ +NL3D::CVisualCollisionManagerUser + +List of all members. + + + + + + + + + + + + +

Public Methods

virtual void setLandscape (ULandscape *landscape)=0
 setup the landscape used for this collision manager. More...

virtual UVisualCollisionEntitycreateEntity ()=0
 create an entity. More...

virtual void deleteEntity (UVisualCollisionEntity *entity)=0
 delete an entity. More...

virtual void setSunContributionPower (float power, float maxThreshold)=0
 Build a lighting table to remap sun contribution from landscape to sun contribution for objects. More...


Protected Methods

 UVisualCollisionManager ()
virtual ~UVisualCollisionManager ()
+

Detailed Description

+Interface to visual collision manager. +

+

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

+ +

+Definition at line 46 of file u_visual_collision_manager.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::UVisualCollisionManager::UVisualCollisionManager   [inline, protected]
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file u_visual_collision_manager.h.

+

+ + + + +
+ + + + + + + + + +
virtual NL3D::UVisualCollisionManager::~UVisualCollisionManager   [inline, protected, virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file u_visual_collision_manager.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
virtual UVisualCollisionEntity* NL3D::UVisualCollisionManager::createEntity   [pure virtual]
+
+ + + + + +
+   + + +

+create an entity. +

+NB: CVisualCollisionManager owns this ptr, and you must delete it with deleteEntity(). NB: all CVisualCollisionEntity are deleted when this manager is deleted. +

+Implemented in NL3D::CVisualCollisionManagerUser.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::UVisualCollisionManager::deleteEntity UVisualCollisionEntity  entity [pure virtual]
+
+ + + + + +
+   + + +

+delete an entity. +

+ +

+Implemented in NL3D::CVisualCollisionManagerUser.

+

+ + + + +
+ + + + + + + + + + +
virtual void NL3D::UVisualCollisionManager::setLandscape ULandscape  landscape [pure virtual]
+
+ + + + + +
+   + + +

+setup the landscape used for this collision manager. +

+ptr is kept, and manager must be cleared when the landscape is deleted. +

+Implemented in NL3D::CVisualCollisionManagerUser.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
virtual void NL3D::UVisualCollisionManager::setSunContributionPower float   power,
float   maxThreshold
[pure virtual]
+
+ + + + + +
+   + + +

+Build a lighting table to remap sun contribution from landscape to sun contribution for objects. +

+The value remap the landscape sun contribution (0 ~ 1) to an object sun contribution (0 ~1) using the following formula: +

+objectSunContribution = min ( powf ( landscapeSunContribution / maxThreshold, power ), 1 ); +

+Default is 0.5 (=> sqrt) for power and 0.5 for maxThreshold. +

+Implemented in NL3D::CVisualCollisionManagerUser.

+


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