proland::PerlinWaveTile Class Reference
[rivers]

WaveTile are Texture used to advect rivers normal. More...

#include <PerlinWaveTile.h>

Inheritance diagram for proland::PerlinWaveTile:
proland::WaveTile

List of all members.

Classes

struct  Noise
 2D Noise generator. More...

Public Member Functions

 PerlinWaveTile (string &name, int tileSize, int gridSize, float waveLength, int timeLoop)
 Creates a new PerlinWaveTile.
virtual ~PerlinWaveTile ()
 Deletes this PerlinWaveTile.

Protected Member Functions

 PerlinWaveTile ()
 Creates a new PerlinWaveTile.
void init (ptr< Texture2D > tex, int size, int numLodLevel)
 Initializes the fields of a PerlinWaveTile.
virtual void init (string &name, int tileSize, int gridSize, float waveLength, int timeLoop)
 Initializes the fields of a PerlinWaveTile.

Detailed Description

WaveTile are Texture used to advect rivers normal.

They can be updated through time, in order to change the waves profiles. PerlinWaveTile are basically Noise Texture.

Author:
Antoine Begault

Constructor & Destructor Documentation

proland::PerlinWaveTile::PerlinWaveTile ( string &  name,
int  tileSize,
int  gridSize,
float  waveLength,
int  timeLoop 
)

Creates a new PerlinWaveTile.

See WaveTile::WaveTile().

virtual proland::PerlinWaveTile::~PerlinWaveTile (  )  [virtual]

Deletes this PerlinWaveTile.

proland::PerlinWaveTile::PerlinWaveTile (  )  [protected]

Creates a new PerlinWaveTile.


Member Function Documentation

virtual void proland::PerlinWaveTile::init ( string &  name,
int  tileSize,
int  gridSize,
float  waveLength,
int  timeLoop 
) [protected, virtual]

Initializes the fields of a PerlinWaveTile.

See WaveTile::init().

void proland::PerlinWaveTile::init ( ptr< Texture2D >  tex,
int  size,
int  numLodLevel 
) [protected]

Initializes the fields of a PerlinWaveTile.

See WaveTile::init().


Generated on Sat May 12 09:42:59 2012 for proland by  doxygen 1.6.1