proland::DrawPlantsShadowTask Class Reference
[plants]

TODO. More...

#include <DrawPlantsShadowTask.h>

List of all members.

Public Member Functions

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

Protected Member Functions

 DrawPlantsShadowTask ()
 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::DrawPlantsShadowTask::DrawPlantsShadowTask ( 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::DrawPlantsShadowTask::~DrawPlantsShadowTask (  )  [virtual]

Deletes a DrawPlantsTask.

proland::DrawPlantsShadowTask::DrawPlantsShadowTask (  )  [protected]

Creates a new DrawPlantsTask.


Member Function Documentation

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

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

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

Initializes the field of a DrawPlantsTask.

See DrawPlantsShadowTask().


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