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 |
| NitrogenParameters | nitrogen_parameters |
| Parameters for the nitrogen model. | |
| float | root_nitrogen_pool_gN = 0 |
| Root nitrogen pool (g N) | |
| float | available_nitrogen_pool_gN = 0 |
| Available nitrogen pool for leaves to draw from (g N) | |
| float | cumulative_N_uptake_gN = 0 |
| Cumulative nitrogen uptake tracking (g N) | |
| std::map< std::string, ShootParameters > | shoot_types_snapshot |
| 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 1697 of file PlantArchitecture.h.
|
inline |
Definition at line 1699 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 1749 of file PlantArchitecture.h.
| float PlantInstance::attraction_cone_height = 0.1f |
Attraction detection cone height in meters for this plant.
Definition at line 1752 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 1758 of file PlantArchitecture.h.
| std::vector<helios::vec3> PlantInstance::attraction_points |
Vector of attraction point positions for this plant.
Definition at line 1746 of file PlantArchitecture.h.
| bool PlantInstance::attraction_points_enabled = false |
Flag indicating if attraction points are enabled for this plant.
Definition at line 1743 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 1755 of file PlantArchitecture.h.
| float PlantInstance::available_nitrogen_pool_gN = 0 |
Available nitrogen pool for leaves to draw from (g N)
Definition at line 1732 of file PlantArchitecture.h.
| helios::vec3 PlantInstance::base_position |
Definition at line 1703 of file PlantArchitecture.h.
| CarbohydrateParameters PlantInstance::carb_parameters |
Definition at line 1722 of file PlantArchitecture.h.
| helios::Context* PlantInstance::context_ptr |
Definition at line 1706 of file PlantArchitecture.h.
| float PlantInstance::cumulative_N_uptake_gN = 0 |
Cumulative nitrogen uptake tracking (g N)
Definition at line 1734 of file PlantArchitecture.h.
| float PlantInstance::current_age |
Definition at line 1704 of file PlantArchitecture.h.
| float PlantInstance::dd_to_dormancy = 0 |
Definition at line 1716 of file PlantArchitecture.h.
| float PlantInstance::dd_to_dormancy_break = 0 |
Definition at line 1711 of file PlantArchitecture.h.
| float PlantInstance::dd_to_flower_initiation = 0 |
Definition at line 1712 of file PlantArchitecture.h.
| float PlantInstance::dd_to_flower_opening = 0 |
Definition at line 1713 of file PlantArchitecture.h.
| float PlantInstance::dd_to_fruit_maturity = 0 |
Definition at line 1715 of file PlantArchitecture.h.
| float PlantInstance::dd_to_fruit_set = 0 |
Definition at line 1714 of file PlantArchitecture.h.
| std::pair<std::string, float> PlantInstance::epicormic_shoot_probability_perlength_per_day |
Definition at line 1708 of file PlantArchitecture.h.
| bool PlantInstance::is_evergreen = false |
Definition at line 1718 of file PlantArchitecture.h.
| float PlantInstance::max_age = 999 |
Definition at line 1720 of file PlantArchitecture.h.
| float PlantInstance::max_leaf_lifespan = 1e6 |
Definition at line 1717 of file PlantArchitecture.h.
| NitrogenParameters PlantInstance::nitrogen_parameters |
Parameters for the nitrogen model.
Definition at line 1727 of file PlantArchitecture.h.
| std::string PlantInstance::plant_name |
Definition at line 1707 of file PlantArchitecture.h.
| float PlantInstance::root_nitrogen_pool_gN = 0 |
Root nitrogen pool (g N)
Definition at line 1730 of file PlantArchitecture.h.
| std::vector<std::shared_ptr<Shoot> > PlantInstance::shoot_tree |
Definition at line 1702 of file PlantArchitecture.h.
| std::map<std::string, ShootParameters> PlantInstance::shoot_types_snapshot |
Snapshot of shoot parameters that were active when this plant was created This prevents parameter contamination between different plant types
Definition at line 1738 of file PlantArchitecture.h.
| float PlantInstance::time_since_dormancy = 0 |
Definition at line 1705 of file PlantArchitecture.h.