proland::DrawPlantsTask Class Reference
[plants]

TODO. More...

#include <DrawPlantsTask.h>

List of all members.

Public Member Functions

 DrawPlantsTask (const string &terrain, ptr< Plants > plants)
 Creates a new DrawPlantsTask.
virtual ~DrawPlantsTask ()
 Deletes a DrawPlantsTask.
virtual ptr< Task > getTask (ptr< Object > context)
 Initializes terrainInfos and creates the actual task that will draw plants.

Protected Member Functions

 DrawPlantsTask ()
 Creates a new DrawPlantsTask.
void init (const string &terrain, ptr< Plants > plants)
 Initializes the field of a DrawPlantsTask.

Protected Attributes

ptr< Plantsplants
 Plant models and amplification parameters.

Private Attributes

string terrain
 Name of the terrain to be amplified.

Detailed Description

TODO.

Author:
Eric Bruneton

Constructor & Destructor Documentation

proland::DrawPlantsTask::DrawPlantsTask ( const string &  terrain,
ptr< Plants plants 
)

Creates a new DrawPlantsTask.

Parameters:
terrain used to determine which subNodes are pointing to the Terrain SceneNodes.
plants the Plants that contains the patterns & models used for our vegetation.
virtual proland::DrawPlantsTask::~DrawPlantsTask (  )  [virtual]

Deletes a DrawPlantsTask.

proland::DrawPlantsTask::DrawPlantsTask (  )  [protected]

Creates a new DrawPlantsTask.


Member Function Documentation

virtual ptr<Task> proland::DrawPlantsTask::getTask ( ptr< Object >  context  )  [virtual]

Initializes terrainInfos and creates the actual task that will draw plants.

void proland::DrawPlantsTask::init ( const string &  terrain,
ptr< Plants plants 
) [protected]

Initializes the field of a DrawPlantsTask.

See DrawPlantsTask().


Member Data Documentation

Plant models and amplification parameters.

Name of the terrain to be amplified.


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