Go to the source code of this file.
Data Structures | |
| union | digitPtr |
| Digit pointer object; union of int* and float*. More... | |
| struct | obj |
| Struct to represent an object or canopy. More... | |
| struct | taggedPtr |
| Struct to combine int* and float* objects. Also contains a bool* which is used to indicate that the associated object needs to be updated. More... | |
| union | distUnion |
| Distribution union object; union of normal_distribution, uniform_real_distribution, and weibull_distribution. More... | |
| struct | distribution |
| Struct to combine distribution objects (flag: -1 = N/A, 0 = normal, 1 = uniform, 2 = weibull) (repeat: false = randomize once per recording, true = randomize for every image) More... | |
| struct | bandGroup |
| Band group struct. More... | |
| struct | canopy |
| Canopy struct. More... | |
| struct | object |
| Object struct. More... | |
| struct | rig |
| Rig struct. More... | |
| class | ProjectBuilder |
Functions | |
| void | BuildGeometry (const std::string &xml_input_file, PlantArchitecture *plant_architecture_ptr, helios::Context *context_ptr) |
| void | InitializeRadiation (const std::string &xml_input_file, SolarPosition *solarposition_ptr, RadiationModel *radiation_ptr, helios::Context *context_ptr) |
| void | InitializeEnergyBalance (const std::string &xml_input_file, BLConductanceModel *boundarylayerconductancemodel, EnergyBalanceModel *energybalancemodel, helios::Context *context_ptr) |
| void | InitializeSimulation (const std::string &xml_input_file, helios::Context *context_ptr) |
| std::string | vec_to_string (const helios::vec2 &v) |
| Function to convert vector to string. | |
| std::string | vec_to_string (const helios::vec3 &v) |
| Function to convert vector to string. | |
| std::string | vec_to_string (const helios::int2 &v) |
| Function to convert vector to string. | |
| std::vector< helios::vec3 > | interpolate (const std::vector< int > &keypoints, const std::vector< helios::vec3 > &positions, int num_points) |
| Function to return interpolated vector based on keypoints. | |
| void | toggle_button (const char *str_id, bool *v) |
| ImGUI toggle button function. | |
| std::string | file_dialog () |
| Function to open file dialog. | |
| std::string | save_as_file_dialog (std::vector< std::string > extensions) |
| Function to open save as file dialog. | |
| std::vector< std::string > | get_xml_node_values (const std::string &xml_file, const std::string &label_name, const std::string &node_name) |
| Function to get node labels for a given set of nodes. | |
| taggedPtr | createTaggedPtr (int *ptr, bool *dirty) |
| Function to create a tagged pointer object from an int pointer. | |
| taggedPtr | createTaggedPtr (float *ptr, bool *dirty) |
| Function to create a tagged pointer object from a float pointer. | |
| taggedPtr | createTaggedPtr (int *ptr) |
| Function to create a tagged pointer object from an int pointer. | |
| taggedPtr | createTaggedPtr (float *ptr) |
| Function to create a tagged pointer object from a float pointer. | |
| bool | parse_distribution (const std::string &input_string, distribution &converted_distribution) |
| distribution | createDistribution (const std::normal_distribution< float > &dist, bool randomize_repeat) |
| Function to create a distribution struct from a normal distribution. | |
| distribution | createDistribution (const std::uniform_real_distribution< float > &dist, bool randomize_repeat) |
| Function to create a distribution struct from a uniform real distribution. | |
| distribution | createDistribution (const std::weibull_distribution< float > &dist, bool randomize_repeat) |
| Function to create a distribution struct from a weibull distribution. | |
ProjectBuilder header.
Copyright (C) 2016-2026 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 ProjectBuilder.h.
| distribution createDistribution | ( | const std::normal_distribution< float > & | dist, |
| bool | randomize_repeat | ||
| ) |
Function to create a distribution struct from a normal distribution.
| [in] | dist | Distribution |
| [in] | randomize_repeat | If true, randomize for every image. |
Definition at line 5917 of file ProjectBuilder.cpp.
| distribution createDistribution | ( | const std::uniform_real_distribution< float > & | dist, |
| bool | randomize_repeat | ||
| ) |
Function to create a distribution struct from a uniform real distribution.
| [in] | dist | Distribution |
| [in] | randomize_repeat | If true, randomize for every image. |
Definition at line 5925 of file ProjectBuilder.cpp.
| distribution createDistribution | ( | const std::weibull_distribution< float > & | dist, |
| bool | randomize_repeat | ||
| ) |
Function to create a distribution struct from a weibull distribution.
| [in] | dist | Distribution |
| [in] | randomize_repeat | If true, randomize for every image. |
Definition at line 5933 of file ProjectBuilder.cpp.
| taggedPtr createTaggedPtr | ( | float * | ptr | ) |
Function to create a tagged pointer object from a float pointer.
| [in] | ptr | Float pointer |
Definition at line 5885 of file ProjectBuilder.cpp.
| taggedPtr createTaggedPtr | ( | float * | ptr, |
| bool * | dirty | ||
| ) |
Function to create a tagged pointer object from a float pointer.
| [in] | ptr | Float pointer |
| [in] | dirty | Bool used to determine if associated object needs update |
Definition at line 5901 of file ProjectBuilder.cpp.
| taggedPtr createTaggedPtr | ( | int * | ptr | ) |
Function to create a tagged pointer object from an int pointer.
| [in] | ptr | Int pointer |
Definition at line 5893 of file ProjectBuilder.cpp.
| taggedPtr createTaggedPtr | ( | int * | ptr, |
| bool * | dirty | ||
| ) |
Function to create a tagged pointer object from an int pointer.
| [in] | ptr | Int pointer |
| [in] | dirty | Bool used to determine if associated object needs update |
Definition at line 5909 of file ProjectBuilder.cpp.
| std::string file_dialog | ( | ) |
Function to open file dialog.
Definition at line 165 of file ProjectBuilder.cpp.
| std::vector< std::string > get_xml_node_values | ( | const std::string & | xml_file, |
| const std::string & | label_name, | ||
| const std::string & | node_name | ||
| ) |
Function to get node labels for a given set of nodes.
| [in] | xml_file | Path to the XML file |
| [in] | label_name | Name of the label |
| [in] | node_name | Name of the XML nodes to get labels from |
Definition at line 360 of file ProjectBuilder.cpp.
| void InitializeEnergyBalance | ( | const std::string & | xml_input_file, |
| BLConductanceModel * | boundarylayerconductancemodel, | ||
| EnergyBalanceModel * | energybalancemodel, | ||
| helios::Context * | context_ptr | ||
| ) |
Definition at line 5 of file InitializeEnergyBalance.cpp.
| void InitializeRadiation | ( | const std::string & | xml_input_file, |
| SolarPosition * | solarposition_ptr, | ||
| RadiationModel * | radiation_ptr, | ||
| helios::Context * | context_ptr | ||
| ) |
Definition at line 6 of file InitializeRadiation.cpp.
| void InitializeSimulation | ( | const std::string & | xml_input_file, |
| helios::Context * | context_ptr | ||
| ) |
Definition at line 5 of file InitializeSimulation.cpp.
| std::vector< helios::vec3 > interpolate | ( | const std::vector< int > & | keypoints, |
| const std::vector< helios::vec3 > & | positions, | ||
| int | num_points | ||
| ) |
Function to return interpolated vector based on keypoints.
| [in] | keypoints | Vector of keypoints |
| [in] | positions | Vector of position vectors |
| [in] | num_points | Total number of points (including points in positions) |
| bool parse_distribution | ( | const std::string & | input_string, |
| distribution & | converted_distribution | ||
| ) |
Definition at line 1372 of file ProjectBuilder.cpp.
| std::string save_as_file_dialog | ( | std::vector< std::string > | extensions | ) |
Function to open save as file dialog.
| [in] | extensions | List of possible extensions |
Definition at line 237 of file ProjectBuilder.cpp.
| void toggle_button | ( | const char * | str_id, |
| bool * | v | ||
| ) |
ImGUI toggle button function.
| [in] | str_id | String ID |
| [in] | v | Boolean representing on or off |
Definition at line 128 of file ProjectBuilder.cpp.
| std::string vec_to_string | ( | const helios::int2 & | v | ) |
Function to convert vector to string.
| [in] | v | Vector input |
Definition at line 78 of file ProjectBuilder.cpp.
| std::string vec_to_string | ( | const helios::vec2 & | v | ) |
Function to convert vector to string.
| [in] | v | Vector input |
Definition at line 84 of file ProjectBuilder.cpp.
| std::string vec_to_string | ( | const helios::vec3 & | v | ) |
Function to convert vector to string.
| [in] | v | Vector input |
Definition at line 90 of file ProjectBuilder.cpp.