![]() |
WarpTwin
Documentation for WarpTwin models and classes.
|
Hold all data related to a visual node in the ImGUI UX. More...
#include <ImNode.h>
Public Member Functions | |
| void | fromJson (const nlohmann::json &j) |
| Create Node object from json. | |
| nlohmann::json | toJson () |
| Create json object from Node. | |
| void | dump () |
| Output all node information. | |
Public Attributes | |
| std::string | name |
| The name of the node. | |
| long | unique_id |
| The unique ID of the node given by the ImGUI UX. | |
| int | hidden = 0 |
| Whether or not this node has been hidden in the GUI via deletion. | |
| std::vector< Connection > | inputs |
| A list of all inputs to the node. | |
| std::vector< Connection > | outputs |
| A list of all outputs from the node. | |
| std::string | class_type |
| The type of the node's base class (model type or similar). | |
| std::vector< ImNode > | children |
| A list of all child nodes to this node. | |
| node_types_e | node_type |
| Node type information – most will be STANDARD. | |
| std::string | displayname |
| The display name for the node. | |
| std::string | category |
| The category to which the node belongs. | |
| ImVec2 | location |
| Location of the node on the GUI canvas. | |
| std::string | default_config_name = "" |
| Assigned default configuration (empty if none). | |
| std::string | py_module = "" |
| The module from which the ImNode is imported. | |
Hold all data related to a visual node in the ImGUI UX.
| void warptwin::ImNode::dump | ( | ) |
Output all node information.
| void warptwin::ImNode::fromJson | ( | const nlohmann::json & | j | ) |
| nlohmann::json warptwin::ImNode::toJson | ( | ) |
| std::string warptwin::ImNode::category |
The category to which the node belongs.
| std::vector<ImNode> warptwin::ImNode::children |
A list of all child nodes to this node.
| std::string warptwin::ImNode::class_type |
The type of the node's base class (model type or similar).
| std::string warptwin::ImNode::default_config_name = "" |
Assigned default configuration (empty if none).
| std::string warptwin::ImNode::displayname |
The display name for the node.
| int warptwin::ImNode::hidden = 0 |
Whether or not this node has been hidden in the GUI via deletion.
| std::vector<Connection> warptwin::ImNode::inputs |
A list of all inputs to the node.
| ImVec2 warptwin::ImNode::location |
Location of the node on the GUI canvas.
| std::string warptwin::ImNode::name |
The name of the node.
| node_types_e warptwin::ImNode::node_type |
Node type information – most will be STANDARD.
| std::vector<Connection> warptwin::ImNode::outputs |
A list of all outputs from the node.
| std::string warptwin::ImNode::py_module = "" |
The module from which the ImNode is imported.
| long warptwin::ImNode::unique_id |
The unique ID of the node given by the ImGUI UX.