Public Member Functions | |
PlantInstance (const helios::vec3 &a_base_position, float a_current_age, const std::string &a_plant_name, helios::Context *a_context_ptr) | |
Data Fields | |
std::vector< std::shared_ptr< Shoot > > | shoot_tree |
helios::vec3 | base_position |
float | current_age |
float | time_since_dormancy = 0 |
helios::Context * | context_ptr |
std::string | plant_name |
std::pair< std::string, float > | epicormic_shoot_probability_perlength_per_day |
float | dd_to_dormancy_break = 0 |
float | dd_to_flower_initiation = 0 |
float | dd_to_flower_opening = 0 |
float | dd_to_fruit_set = 0 |
float | dd_to_fruit_maturity = 0 |
float | dd_to_dormancy = 0 |
float | max_leaf_lifespan = 1e6 |
bool | is_evergreen = false |
float | max_age = 999 |
CarbohydrateParameters | carb_parameters |
bool | attraction_points_enabled = false |
Flag indicating if attraction points are enabled for this plant. | |
std::vector< helios::vec3 > | attraction_points |
Vector of attraction point positions for this plant. | |
float | attraction_cone_half_angle_rad = 80.f * M_PI / 180.f |
Attraction detection cone half-angle in radians for this plant. | |
float | attraction_cone_height = 0.1f |
Attraction detection cone height in meters for this plant. | |
float | attraction_weight = 0.6f |
Weight factor for attraction vs natural growth for this plant (0.0 = ignore attraction, 1.0 = full attraction) | |
float | attraction_obstacle_reduction_factor = 0.5f |
Reduction factor for attraction weight when hard obstacles are present for this plant (0.0 = no attraction, 1.0 = full attraction) | |
Definition at line 1570 of file PlantArchitecture.h.
|
inline |
Definition at line 1572 of file PlantArchitecture.h.
float PlantInstance::attraction_cone_half_angle_rad = 80.f * M_PI / 180.f |
Attraction detection cone half-angle in radians for this plant.
Definition at line 1606 of file PlantArchitecture.h.
float PlantInstance::attraction_cone_height = 0.1f |
Attraction detection cone height in meters for this plant.
Definition at line 1609 of file PlantArchitecture.h.
float PlantInstance::attraction_obstacle_reduction_factor = 0.5f |
Reduction factor for attraction weight when hard obstacles are present for this plant (0.0 = no attraction, 1.0 = full attraction)
Definition at line 1615 of file PlantArchitecture.h.
std::vector<helios::vec3> PlantInstance::attraction_points |
Vector of attraction point positions for this plant.
Definition at line 1603 of file PlantArchitecture.h.
bool PlantInstance::attraction_points_enabled = false |
Flag indicating if attraction points are enabled for this plant.
Definition at line 1600 of file PlantArchitecture.h.
float PlantInstance::attraction_weight = 0.6f |
Weight factor for attraction vs natural growth for this plant (0.0 = ignore attraction, 1.0 = full attraction)
Definition at line 1612 of file PlantArchitecture.h.
helios::vec3 PlantInstance::base_position |
Definition at line 1576 of file PlantArchitecture.h.
CarbohydrateParameters PlantInstance::carb_parameters |
Definition at line 1595 of file PlantArchitecture.h.
helios::Context* PlantInstance::context_ptr |
Definition at line 1579 of file PlantArchitecture.h.
float PlantInstance::current_age |
Definition at line 1577 of file PlantArchitecture.h.
float PlantInstance::dd_to_dormancy = 0 |
Definition at line 1589 of file PlantArchitecture.h.
float PlantInstance::dd_to_dormancy_break = 0 |
Definition at line 1584 of file PlantArchitecture.h.
float PlantInstance::dd_to_flower_initiation = 0 |
Definition at line 1585 of file PlantArchitecture.h.
float PlantInstance::dd_to_flower_opening = 0 |
Definition at line 1586 of file PlantArchitecture.h.
float PlantInstance::dd_to_fruit_maturity = 0 |
Definition at line 1588 of file PlantArchitecture.h.
float PlantInstance::dd_to_fruit_set = 0 |
Definition at line 1587 of file PlantArchitecture.h.
std::pair<std::string, float> PlantInstance::epicormic_shoot_probability_perlength_per_day |
Definition at line 1581 of file PlantArchitecture.h.
bool PlantInstance::is_evergreen = false |
Definition at line 1591 of file PlantArchitecture.h.
float PlantInstance::max_age = 999 |
Definition at line 1593 of file PlantArchitecture.h.
float PlantInstance::max_leaf_lifespan = 1e6 |
Definition at line 1590 of file PlantArchitecture.h.
std::string PlantInstance::plant_name |
Definition at line 1580 of file PlantArchitecture.h.
std::vector<std::shared_ptr<Shoot> > PlantInstance::shoot_tree |
Definition at line 1575 of file PlantArchitecture.h.
float PlantInstance::time_since_dormancy = 0 |
Definition at line 1578 of file PlantArchitecture.h.