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_1CLandscapeModel.html | 607 +++++++++++++++++++++ 1 file changed, 607 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CLandscapeModel.html (limited to 'docs/doxygen/nel/classNL3D_1_1CLandscapeModel.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CLandscapeModel.html b/docs/doxygen/nel/classNL3D_1_1CLandscapeModel.html new file mode 100644 index 00000000..cc696acc --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CLandscapeModel.html @@ -0,0 +1,607 @@ + + + + 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::CLandscapeModel Class Reference

The model for MOT. +More... +

+#include <landscape_model.h> +

+

Inheritance diagram for NL3D::CLandscapeModel: +

+ +NL3D::CTransform +NL3D::IModel +NL3D::ITransformable +NLMISC::CRefCount +NL3D::IAnimatable + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

void setAdditive (float additive)
 Set additive value. More...

float getAdditive () const
 Get additive value. More...

void enableAdditive (bool enable)
 Set additive set. More...

bool isAdditive () const
 Get additive set. More...

virtual void initModel ()
 Override IModel::initModel(), to create CLandscape's VegetableManager's BlendLayer models in the scene. More...


Static Public Methods

void registerBasic ()
 Call at the begining of the program, to register the model, and the basic observers. More...


Public Attributes

CLandscape Landscape

Protected Methods

 CLandscapeModel ()
virtual ~CLandscapeModel ()

Static Private Methods

IModelcreator ()

Private Attributes

bool _ActiveAdditive
float _Additive
CPlane CurrentPyramid [NL3D_TESSBLOCK_NUM_CLIP_PLANE]

Friends

class CLandscapeClipObs
class CLandscapeRenderObs
+

Detailed Description

+The model for MOT. +

+A landscape is not designed to move, but easier here. If you translate/rotate this model, nothing happens. Landscape cannot move. See CLandscape for more information on Landscape.

+See also:
+CLandscape.
+

+ +

+Definition at line 51 of file landscape_model.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CLandscapeModel::CLandscapeModel   [protected]
+
+ + + + + +
+   + + +

+ +

+Definition at line 55 of file landscape_model.cpp. +

+References _ActiveAdditive, _Additive, and Landscape. +

+Referenced by creator.

+

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

+ +

+Definition at line 105 of file landscape_model.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
IModel* NL3D::CLandscapeModel::creator   [inline, static, private]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::CTransform. +

+Definition at line 108 of file landscape_model.h. +

+References CLandscapeModel, and NL3D::IModel::IModel.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CLandscapeModel::enableAdditive bool   enable [inline]
+
+ + + + + +
+   + + +

+Set additive set. +

+

+Parameters:
+ + +
enable  +is true to activbe additive, false to disactive it.
+
+

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

+References _ActiveAdditive.

+

+ + + + +
+ + + + + + + + + +
float NL3D::CLandscapeModel::getAdditive   const [inline]
+
+ + + + + +
+   + + +

+Get additive value. +

+

+Returns:
+the additive value. [0, 1]
+

+Definition at line 73 of file landscape_model.h. +

+References _Additive.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CLandscapeModel::initModel   [virtual]
+
+ + + + + +
+   + + +

+Override IModel::initModel(), to create CLandscape's VegetableManager's BlendLayer models in the scene. +

+ +

+Reimplemented from NL3D::CTransform. +

+Definition at line 67 of file landscape_model.cpp. +

+References NL3D::IModel::_OwnerMot, and Landscape.

+

+ + + + +
+ + + + + + + + + +
bool NL3D::CLandscapeModel::isAdditive   const [inline]
+
+ + + + + +
+   + + +

+Get additive set. +

+

+Returns:
+true to if additive is actived, else false.
+

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

+References _ActiveAdditive.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CLandscapeModel::registerBasic   [static]
+
+ + + + + +
+   + + +

+Call at the begining of the program, to register the model, and the basic observers. +

+ +

+Reimplemented from NL3D::CTransform. +

+Definition at line 46 of file landscape_model.cpp. +

+References NL3D::ClipTravId, NL3D::LandscapeModelId, NL3D::RenderTravId, and NL3D::TransformId.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CLandscapeModel::setAdditive float   additive [inline]
+
+ + + + + +
+   + + +

+Set additive value. +

+

+Parameters:
+ + +
additive  +new additive value. [0, 1]
+
+

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

+References _Additive.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CLandscapeClipObs [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 113 of file landscape_model.h.

+

+ + + + +
+ + +
friend class CLandscapeRenderObs [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 114 of file landscape_model.h.

+


Member Data Documentation

+

+ + + + +
+ + +
bool NL3D::CLandscapeModel::_ActiveAdditive [private] +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by CLandscapeModel, enableAdditive, and isAdditive.

+

+ + + + +
+ + +
float NL3D::CLandscapeModel::_Additive [private] +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by CLandscapeModel, getAdditive, and setAdditive.

+

+ + + + +
+ + +
CPlane NL3D::CLandscapeModel::CurrentPyramid[NL3D_TESSBLOCK_NUM_CLIP_PLANE] [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 117 of file landscape_model.h.

+

+ + + + +
+ + +
CLandscape NL3D::CLandscapeModel::Landscape +
+
+ + + + + +
+   + + +

+ +

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

+Referenced by CLandscapeModel, and initModel.

+


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