NL3D::CCloudScapeUser Class Reference

#include <cloud_scape_user.h>

Inheritance diagram for NL3D::CCloudScapeUser:

NL3D::UCloudScape

Detailed Description

implementation of UWaterInstance methods

Definition at line 36 of file cloud_scape_user.h.

Public Member Functions

virtual void anim (double dt)
 CCloudScapeUser (CScene *scene)
virtual uint32 getMemSize ()
virtual void init (SCloudScapeSetup *pCSS=NULL)
virtual bool isDebugQuadEnabled ()
virtual void render ()
virtual void set (SCloudScapeSetup &css)
virtual void setDebugQuad (bool b)
virtual void setNbCloudToUpdateIn80ms (uint32 n)
virtual void setQuality (float threshold)
virtual ~CCloudScapeUser ()

Data Fields

CCloudScape_CS
CScene_Scene


Constructor & Destructor Documentation

NL3D::CCloudScapeUser::CCloudScapeUser CScene scene  ) 
 

Definition at line 39 of file cloud_scape_user.cpp.

References _CS, _Scene, NL3D::CScene::getDriver(), and nlassert.

00039                                                : UCloudScape ()
00040 {
00041         nlassert(scene);
00042         _Scene = scene;
00043         _CS = new CCloudScape(_Scene->getDriver());
00044 }

NL3D::CCloudScapeUser::~CCloudScapeUser  )  [virtual]
 

Definition at line 47 of file cloud_scape_user.cpp.

References _CS.

00048 {
00049         delete _CS;
00050 }


Member Function Documentation

void NL3D::CCloudScapeUser::anim double  dt  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 65 of file cloud_scape_user.cpp.

References _CS, _Scene, NL3D::CCloudScape::anim(), and NL3D::CScene::getCam().

00066 {
00067         _CS->anim (dt, _Scene->getCam());
00068 }

uint32 NL3D::CCloudScapeUser::getMemSize  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 77 of file cloud_scape_user.cpp.

References _CS, NL3D::CCloudScape::getMemSize(), and uint32.

00078 {
00079         return _CS->getMemSize();
00080 }

void NL3D::CCloudScapeUser::init SCloudScapeSetup pCSS = NULL  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 53 of file cloud_scape_user.cpp.

References _CS, _Scene, NL3D::CScene::getCam(), and NL3D::CCloudScape::init().

00054 {
00055         _CS->init (pCSS, _Scene->getCam());
00056 }

bool NL3D::CCloudScapeUser::isDebugQuadEnabled  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 95 of file cloud_scape_user.cpp.

References _CS, and NL3D::CCloudScape::isDebugQuadEnabled().

00096 {
00097         return _CS->isDebugQuadEnabled ();
00098 }

void NL3D::CCloudScapeUser::render  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 71 of file cloud_scape_user.cpp.

References _CS, and NL3D::CCloudScape::render().

00072 {
00073         _CS->render ();
00074 }

void NL3D::CCloudScapeUser::set SCloudScapeSetup css  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 59 of file cloud_scape_user.cpp.

References _CS, and NL3D::CCloudScape::set().

00060 {
00061         _CS->set (css);
00062 }

void NL3D::CCloudScapeUser::setDebugQuad bool  b  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 101 of file cloud_scape_user.cpp.

References _CS, and NL3D::CCloudScape::setDebugQuad().

00102 {
00103         _CS->setDebugQuad (b);
00104 }

void NL3D::CCloudScapeUser::setNbCloudToUpdateIn80ms uint32  n  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 89 of file cloud_scape_user.cpp.

References _CS, NL3D::CCloudScape::setNbCloudToUpdateIn80ms(), and uint32.

00090 {
00091         _CS->setNbCloudToUpdateIn80ms (n);
00092 }

void NL3D::CCloudScapeUser::setQuality float  threshold  )  [virtual]
 

Implements NL3D::UCloudScape.

Definition at line 83 of file cloud_scape_user.cpp.

References _CS, and NL3D::CCloudScape::setQuality().

00084 {
00085         _CS->setQuality (threshold);
00086 }


Field Documentation

CCloudScape* NL3D::CCloudScapeUser::_CS
 

Definition at line 61 of file cloud_scape_user.h.

Referenced by anim(), CCloudScapeUser(), getMemSize(), init(), isDebugQuadEnabled(), render(), set(), setDebugQuad(), setNbCloudToUpdateIn80ms(), setQuality(), and ~CCloudScapeUser().

CScene* NL3D::CCloudScapeUser::_Scene
 

Definition at line 62 of file cloud_scape_user.h.

Referenced by anim(), CCloudScapeUser(), and init().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 06:45:10 2004 for NeL by doxygen 1.3.6