1.3.49
 
Loading...
Searching...
No Matches
PhytomerParameters Struct Reference

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
 

Detailed Description

Definition at line 511 of file PlantArchitecture.h.

Constructor & Destructor Documentation

◆ PhytomerParameters() [1/2]

PhytomerParameters::PhytomerParameters ( )

Default constructor - does not set random number generator.

Definition at line 138 of file PlantArchitecture.cpp.

◆ PhytomerParameters() [2/2]

PhytomerParameters::PhytomerParameters ( std::minstd_rand0 *  generator)
explicit

Constructor - sets random number generator.

Definition at line 141 of file PlantArchitecture.cpp.

Friends And Related Symbol Documentation

◆ Phytomer

friend struct Phytomer
friend

Definition at line 791 of file PlantArchitecture.h.

◆ PlantArchitecture

friend class PlantArchitecture
friend

Definition at line 790 of file PlantArchitecture.h.

◆ Shoot

friend struct Shoot
friend

Definition at line 792 of file PlantArchitecture.h.

Field Documentation

◆ inflorescence

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.

◆ internode

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.

◆ leaf

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.

◆ peduncle

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.

◆ petiole

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.

◆ phytomer_callback_function

void(* PhytomerParameters::phytomer_callback_function) (std::shared_ptr< Phytomer > phytomer_ptr) = nullptr
Parameters
[in]phytomer_ptrPointer to the phytomer to which the function will be applied

Definition at line 781 of file PlantArchitecture.h.

◆ phytomer_creation_function

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
Parameters
[in]phytomer_ptrPointer to the phytomer to which the function will be applied
[in]shoot_node_indexIndex of the phytomer within the shoot starting from 0 at the shoot base
[in]parent_shoot_node_indexNode index of the current shoot along it's parent shoot
[in]shoot_max_nodesMaximum number of phytomers in the shoot
[in]plant_ageAge of the plant in days

Definition at line 775 of file PlantArchitecture.h.


The documentation for this struct was generated from the following files: