16#ifndef CPP_APP_IMNODE_H
17#define CPP_APP_IMNODE_H
22#include "nlohmann/json.hpp"
40 "Dynamics",
"GN&C",
"Assemblies",
"Environment",
"Power",
"Sensors",
"Actuators",
"Initial States",
"Visuals",
"Logging",
"Custom"};
72 void fromJson(
const nlohmann::json &j);
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
node_types_e
Node type definition to allow config writer to identify custom nodes.
Definition ImNode.h:29
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31
@ CESIUM_VIZ
Definition ImNode.h:37
@ FRAME
Definition ImNode.h:34
@ STANDARD
Definition ImNode.h:30
@ TEXT_NODE
Definition ImNode.h:33
@ SIM_EXEC
Definition ImNode.h:32
@ LOGGER
Definition ImNode.h:35
@ VIZKIT
Definition ImNode.h:36
const std::vector< std::string > NODE_CATEGORIES
Definition ImNode.h:39
Hold all data related to a visual node in the ImGUI UX.
Definition ImNode.h:43
std::vector< Connection > outputs
A list of all outputs from the node.
Definition ImNode.h:52
std::string displayname
The display name for the node.
Definition ImNode.h:60
ImVec2 location
Location of the node on the GUI canvas.
Definition ImNode.h:64
std::vector< Connection > inputs
A list of all inputs to the node.
Definition ImNode.h:50
std::string py_module
The module from which the ImNode is imported.
Definition ImNode.h:68
int hidden
Whether or not this node has been hidden in the GUI via deletion.
Definition ImNode.h:48
node_types_e node_type
Node type information – most will be STANDARD.
Definition ImNode.h:58
long unique_id
The unique ID of the node given by the ImGUI UX.
Definition ImNode.h:46
nlohmann::json toJson()
Create json object from Node.
Definition ImNode.cpp:72
std::string default_config_name
Assigned default configuration (empty if none).
Definition ImNode.h:66
std::string class_type
The type of the node's base class (model type or similar).
Definition ImNode.h:54
std::vector< ImNode > children
A list of all child nodes to this node.
Definition ImNode.h:56
std::string name
The name of the node.
Definition ImNode.h:44
std::string category
The category to which the node belongs.
Definition ImNode.h:62
void fromJson(const nlohmann::json &j)
Create Node object from json.
Definition ImNode.cpp:21
void dump()
Output all node information.
Definition ImNode.cpp:100