proland::TweakRivers Class Reference

A TweakBarHandler to control rivers rendering and animation. More...

#include <TweakRivers.h>

List of all members.

Public Member Functions

 TweakRivers (ptr< DrawRiversTask > drawer, bool active)
 Creates a new TweakRivers.
virtual ~TweakRivers ()
 Deletes this TweakRivers.

Protected Member Functions

 TweakRivers ()
 Creates an uninitialized TweakRivers.
virtual void init (ptr< DrawRiversTask > drawer, bool active)
 Initializes this TweakRivers.

Private Attributes

ptr< DrawRiversTask > drawer
 The task that draws and animate rivers.
TwBar * currentBar
 The bar that currently contains the TweakBar data for this TweakRivers.
int * barStates
 Stores the opened state of each groups.

Detailed Description

A TweakBarHandler to control rivers rendering and animation.

Author:
Antoine Begault

Constructor & Destructor Documentation

proland::TweakRivers::TweakRivers ( ptr< DrawRiversTask >  drawer,
bool  active 
)

Creates a new TweakRivers.

Parameters:
drawer the task that draws and animate rivers.
active true if this TweakBarHandler must be initialy active.
virtual proland::TweakRivers::~TweakRivers (  )  [virtual]

Deletes this TweakRivers.

proland::TweakRivers::TweakRivers (  )  [protected]

Creates an uninitialized TweakRivers.


Member Function Documentation

virtual void proland::TweakRivers::init ( ptr< DrawRiversTask >  drawer,
bool  active 
) [protected, virtual]

Initializes this TweakRivers.

See TweakRivers.


Member Data Documentation

Stores the opened state of each groups.

The bar that currently contains the TweakBar data for this TweakRivers.

Stored to retrieve barStates at each changes.

ptr<DrawRiversTask> proland::TweakRivers::drawer [private]

The task that draws and animate rivers.


Generated on Sat May 12 09:43:15 2012 for proland by  doxygen 1.6.1