# 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

Inheritance graph
[legend]
Collaboration diagram for NL3D::CLandscapeModel:

Collaboration graph
[legend]
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...


Public Attributes

CLandscape Landscape

Static Public Methods

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


Protected Methods

 CLandscapeModel ()
virtual ~CLandscapeModel ()

Private Attributes

bool _ActiveAdditive
float _Additive
std::vector<CPlane> CurrentPyramid

Static Private Methods

IModelcreator ()

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 ( ) [inline, protected]
 

Definition at line 97 of file landscape_model.h.

NL3D::CLandscapeModel::~CLandscapeModel ( ) [inline, protected, virtual]
 

Definition at line 103 of file landscape_model.h.


Member Function Documentation

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

Reimplemented from NL3D::CTransform.

Definition at line 106 of file landscape_model.h.

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.

float NL3D::CLandscapeModel::getAdditive ( ) const [inline]
 

Get additive value.

Returns:
the additive value. [0, 1]

Definition at line 73 of file landscape_model.h.

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.

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 39 of file landscape_model.cpp.

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.


Friends And Related Function Documentation

class CLandscapeClipObs [friend]
 

Definition at line 111 of file landscape_model.h.

class CLandscapeRenderObs [friend]
 

Definition at line 112 of file landscape_model.h.


Member Data Documentation

std::vector< CPlane > NL3D::CLandscapeModel::CurrentPyramid [private]
 

Definition at line 114 of file landscape_model.h.

CLandscape NL3D::CLandscapeModel::Landscape
 

Definition at line 58 of file landscape_model.h.

bool NL3D::CLandscapeModel::_ActiveAdditive [private]
 

Definition at line 108 of file landscape_model.h.

float NL3D::CLandscapeModel::_Additive [private]
 

Definition at line 109 of file landscape_model.h.


The documentation for this class was generated from the following files: