1.3.49
 
Loading...
Searching...
No Matches
PlantArchitecture.h File Reference
#include <functional>
#include <utility>
#include "Context.h"
#include "Hungarian.h"
#include "Assets.h"

Go to the source code of this file.

Data Structures

struct  RandomParameter_float
 Random architecture model parameter value of type float. More...
 
struct  RandomParameter_int
 Random architecture model parameter value of type int. More...
 
struct  AxisRotation
 
struct  CarbohydrateParameters
 
struct  VegetativeBud
 
struct  FloralBud
 
struct  LeafPrototype
 
struct  PhytomerParameters
 
struct  ShootParameters
 
struct  Phytomer
 
struct  Shoot
 
struct  PlantInstance
 
class  PlantArchitecture
 

Enumerations

enum  BudState {
  BUD_DORMANT = 0 , BUD_ACTIVE = 1 , BUD_FLOWER_CLOSED = 2 , BUD_FLOWER_OPEN = 3 ,
  BUD_FRUITING = 4 , BUD_DEAD = 5
}
 

Functions

AxisRotation make_AxisRotation (float a_pitch, float a_yaw, float a_roll)
 
std::vector< uintmakeTubeFromCones (uint radial_subdivisions, const std::vector< helios::vec3 > &vertices, const std::vector< float > &radii, const std::vector< helios::RGBcolor > &colors, helios::Context *context_ptr)
 Add geometry to the Context consisting of a series of Cone objects to form a tube-like shape.
 

Variables

constexpr float C_molecular_wt = 12.01
 

Detailed Description

Primary header file for plant architecture plug-in.

Copyright (C) 2016-2025 Brian Bailey

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file PlantArchitecture.h.

Enumeration Type Documentation

◆ BudState

enum BudState

Definition at line 265 of file PlantArchitecture.h.

Function Documentation

◆ make_AxisRotation()

AxisRotation make_AxisRotation ( float  a_pitch,
float  a_yaw,
float  a_roll 
)
inline

Definition at line 253 of file PlantArchitecture.h.

◆ makeTubeFromCones()

std::vector< uint > makeTubeFromCones ( uint  radial_subdivisions,
const std::vector< helios::vec3 > &  vertices,
const std::vector< float > &  radii,
const std::vector< helios::RGBcolor > &  colors,
helios::Context context_ptr 
)

Add geometry to the Context consisting of a series of Cone objects to form a tube-like shape.

Parameters
[in]radial_subdivisionsNumber of subdivisions around the circumference of each cone (must be be >= 3).
[in]vertices(x,y,z) Cartesian coordinates of vertices forming the centerline of the tube.
[in]radiiRadius of the tube at each specified vertex.
[in]colorsColor of the tube at each specified vertex.
[in]context_ptrPointer to the Helios context.
Returns
Vector of Object IDs of the cones forming the tube.

Variable Documentation

◆ C_molecular_wt

constexpr float C_molecular_wt = 12.01
constexpr

Definition at line 25 of file PlantArchitecture.h.