TODO. More...
#include <DrawPlantsShadowTask.h>
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< Plants > | plants |
Plant models and amplification parameters. | |
Private Attributes | |
string | terrain |
Name of the terrain to be amplified. |
TODO.
proland::DrawPlantsShadowTask::DrawPlantsShadowTask | ( | const string & | terrain, | |
ptr< Plants > | plants | |||
) |
Creates a new DrawPlantsTask.
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.
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.
ptr<Plants> proland::DrawPlantsShadowTask::plants [protected] |
Plant models and amplification parameters.
string proland::DrawPlantsShadowTask::terrain [private] |
Name of the terrain to be amplified.