0.1.26
Loading...
Searching...
No Matches
pyhelios.plant_architecture_params.LeafPrototype Class Reference

Detailed Description

Definition at line 175 of file plant_architecture_params.py.

+ Collaboration diagram for pyhelios.plant_architecture_params.LeafPrototype:

Public Member Functions

Dict[str, Any] to_dict (self)
 
"LeafPrototype" from_dict (cls, Dict[str, Any] d)
 

Static Public Attributes

RandomParameterFloat leaf_aspect_ratio = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
 
RandomParameterFloat midrib_fold_fraction = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat longitudinal_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat lateral_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat petiole_roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat wave_period = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat wave_amplitude = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat leaf_buckle_length = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat leaf_buckle_angle = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
tuple leaf_offset = (0.0, 0.0, 0.0)
 
int subdivisions = 1
 
int unique_prototypes = 1
 
bool build_petiolule = False
 
str OBJ_model_file = ""
 
Dict leaf_texture_file = field(default_factory=dict)
 
Optional prototype_function = None
 

Member Function Documentation

◆ from_dict()

"LeafPrototype" pyhelios.plant_architecture_params.LeafPrototype.from_dict ( cls,
Dict[str, Any] d )

Definition at line 214 of file plant_architecture_params.py.

◆ to_dict()

Dict[str, Any] pyhelios.plant_architecture_params.LeafPrototype.to_dict ( self)

Definition at line 193 of file plant_architecture_params.py.

Member Data Documentation

◆ build_petiolule

pyhelios.plant_architecture_params.LeafPrototype.build_petiolule = False
static

Definition at line 188 of file plant_architecture_params.py.

◆ lateral_curvature

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.lateral_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 179 of file plant_architecture_params.py.

◆ leaf_aspect_ratio

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_aspect_ratio = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
static

Definition at line 176 of file plant_architecture_params.py.

◆ leaf_buckle_angle

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_buckle_angle = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 184 of file plant_architecture_params.py.

◆ leaf_buckle_length

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_buckle_length = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 183 of file plant_architecture_params.py.

◆ leaf_offset

pyhelios.plant_architecture_params.LeafPrototype.leaf_offset = (0.0, 0.0, 0.0)
static

Definition at line 185 of file plant_architecture_params.py.

◆ leaf_texture_file

Dict pyhelios.plant_architecture_params.LeafPrototype.leaf_texture_file = field(default_factory=dict)
static

Definition at line 190 of file plant_architecture_params.py.

◆ longitudinal_curvature

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.longitudinal_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 178 of file plant_architecture_params.py.

◆ midrib_fold_fraction

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.midrib_fold_fraction = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 177 of file plant_architecture_params.py.

◆ OBJ_model_file

pyhelios.plant_architecture_params.LeafPrototype.OBJ_model_file = ""
static

Definition at line 189 of file plant_architecture_params.py.

◆ petiole_roll

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.petiole_roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 180 of file plant_architecture_params.py.

◆ prototype_function

Optional pyhelios.plant_architecture_params.LeafPrototype.prototype_function = None
static

Definition at line 191 of file plant_architecture_params.py.

◆ subdivisions

pyhelios.plant_architecture_params.LeafPrototype.subdivisions = 1
static

Definition at line 186 of file plant_architecture_params.py.

◆ unique_prototypes

pyhelios.plant_architecture_params.LeafPrototype.unique_prototypes = 1
static

Definition at line 187 of file plant_architecture_params.py.

◆ wave_amplitude

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.wave_amplitude = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 182 of file plant_architecture_params.py.

◆ wave_period

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.wave_period = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 181 of file plant_architecture_params.py.


The documentation for this class was generated from the following file: