Public Member Functions | |
PhytomerParameters () | |
Default constructor - does not set random number generator. | |
PhytomerParameters (std::minstd_rand0 *generator) | |
Constructor - sets random number generator. | |
Data Fields | |
InternodeParameters | internode |
Parameters defining the characteristics of an internode. | |
PetioleParameters | petiole |
Parameters defining the characteristics of the petiole. | |
LeafParameters | leaf |
Parameters defining the characteristics of a leaf. | |
PeduncleParameters | peduncle |
Parameters defining the characteristics of the peduncle (inflorescence supporting structure). | |
InflorescenceParameters | inflorescence |
Parameters defining the characteristics of the inflorescence. | |
void(* | phytomer_creation_function )(std::shared_ptr< Phytomer > phytomer_ptr, uint shoot_node_index, uint parent_shoot_node_index, uint shoot_max_nodes, float plant_age) = nullptr |
void(* | phytomer_callback_function )(std::shared_ptr< Phytomer > phytomer_ptr) = nullptr |
Friends | |
class | PlantArchitecture |
struct | Phytomer |
struct | Shoot |
Definition at line 511 of file PlantArchitecture.h.
PhytomerParameters::PhytomerParameters | ( | ) |
Default constructor - does not set random number generator.
Definition at line 138 of file PlantArchitecture.cpp.
|
explicit |
Constructor - sets random number generator.
Definition at line 141 of file PlantArchitecture.cpp.
|
friend |
Definition at line 791 of file PlantArchitecture.h.
|
friend |
Definition at line 790 of file PlantArchitecture.h.
|
friend |
Definition at line 792 of file PlantArchitecture.h.
InflorescenceParameters PhytomerParameters::inflorescence |
Parameters defining the characteristics of the inflorescence.
Encapsulates all morphological, structural, and functional attributes associated with the inflorescence, such as the number of flowers per peduncle, spacing, angular orientation, scaling factors for both flowers and fruits, and user-defined prototype functions for flower and fruit mesh generation.
Definition at line 765 of file PlantArchitecture.h.
InternodeParameters PhytomerParameters::internode |
Parameters defining the characteristics of an internode.
This variable encapsulates all parameters related to the physical and structural attributes of an internode, including geometrical properties (e.g., length, radius, pitch, phyllotaxis) and appearance parameters (e.g., color, texture).
Definition at line 730 of file PlantArchitecture.h.
LeafParameters PhytomerParameters::leaf |
Parameters defining the characteristics of a leaf.
This variable encapsulates all parameters related to the structure and geometry of a leaf, such as its attachment configuration, angles, scaling factors, spacing, and prototype definition for appearance and texture.
Definition at line 747 of file PlantArchitecture.h.
PeduncleParameters PhytomerParameters::peduncle |
Parameters defining the characteristics of the peduncle (inflorescence supporting structure).
Encapsulates all the geometrical, structural, and visual attributes of the peduncle, including its length, radius, curvature, and appearance details.
Definition at line 755 of file PlantArchitecture.h.
PetioleParameters PhytomerParameters::petiole |
Parameters defining the characteristics of the petiole.
This variable encapsulates all parameters related to the morphological and structural traits of a petiole, such as its length, radius, curvature, taper, and other geometrical and visual attributes.
Definition at line 738 of file PlantArchitecture.h.
void(* PhytomerParameters::phytomer_callback_function) (std::shared_ptr< Phytomer > phytomer_ptr) = nullptr |
[in] | phytomer_ptr | Pointer to the phytomer to which the function will be applied |
Definition at line 781 of file PlantArchitecture.h.
void(* PhytomerParameters::phytomer_creation_function) (std::shared_ptr< Phytomer > phytomer_ptr, uint shoot_node_index, uint parent_shoot_node_index, uint shoot_max_nodes, float plant_age) = nullptr |
[in] | phytomer_ptr | Pointer to the phytomer to which the function will be applied |
[in] | shoot_node_index | Index of the phytomer within the shoot starting from 0 at the shoot base |
[in] | parent_shoot_node_index | Node index of the current shoot along it's parent shoot |
[in] | shoot_max_nodes | Maximum number of phytomers in the shoot |
[in] | plant_age | Age of the plant in days |
Definition at line 775 of file PlantArchitecture.h.