#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< 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. | |
Variables | |
constexpr float | C_molecular_wt = 12.01 |
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.
enum BudState |
Definition at line 265 of file PlantArchitecture.h.
|
inline |
Definition at line 253 of file PlantArchitecture.h.
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.
[in] | radial_subdivisions | Number 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] | radii | Radius of the tube at each specified vertex. |
[in] | colors | Color of the tube at each specified vertex. |
[in] | context_ptr | Pointer to the Helios context. |
|
constexpr |
Definition at line 25 of file PlantArchitecture.h.