Go to the source code of this file.
|
std::vector< std::unique_ptr< ImNode > > | Botcraft::Renderer::UnrollTreeStructure (const BaseNode *node, const int index=1) |
| Convert a tree to a vector of ImNode with proper data.
|
|
void | Botcraft::Renderer::PlaceNodesBuchheim (ImNode *root) |
| Apply Buchheim & al.
|
|
void | Botcraft::Renderer::FirstWalk (TreePosNode *v) |
|
void | Botcraft::Renderer::SecondWalk (TreePosNode *v, const float m=0.0f) |
|
TreePosNode * | Botcraft::Renderer::Apportion (TreePosNode *v, TreePosNode *default_ancestor) |
|
TreePosNode * | Botcraft::Renderer::Ancestor (TreePosNode *vim, TreePosNode *v, TreePosNode *default_ancestor) |
|
void | Botcraft::Renderer::ExecuteShifts (TreePosNode *v) |
|
void | Botcraft::Renderer::MoveSubtree (TreePosNode *wm, TreePosNode *wp, const float shift) |
|
void | Botcraft::Renderer::GetMaxWidthPerDepthLevel (TreePosNode *node, std::vector< float > &max_width_depth) |
|
void | Botcraft::Renderer::SetRealNodePos (TreePosNode *node, std::vector< float > &max_width_depth) |
|
ImColor | Botcraft::Renderer::GetNodeColor (const BehaviourNodeType type) |
|
ImColor | Botcraft::Renderer::GetStatusColor (const ImNodeStatus s) |
|
void | Botcraft::Renderer::ToggleNodeVisibility (ImNode *node, const bool b) |
|
ImVec4 | Botcraft::Renderer::ColorInterpolation (const ImVec4 &a, const ImVec4 &b, const float t) |
|
void | Botcraft::Renderer::RecursiveRenderBlackboardJsonNode (const std::string &name, ProtocolCraft::Json::Value &node) |
|
void | Botcraft::Renderer::RecursiveUpdateTimerBlackboardJsonNode (ProtocolCraft::Json::Value &node) |
|
◆ BLACKBOARD_HIGHLIGHT_COLOR
const ImVec4 BLACKBOARD_HIGHLIGHT_COLOR = ImVec4(1.0f, 0.0f, 0.0f, 1.0f) |
|
static |
◆ BLACKBOARD_HIGHLIGHT_DURATION
constexpr double BLACKBOARD_HIGHLIGHT_DURATION = 0.5 |
|
staticconstexpr |
◆ LINK_THICKNESS
constexpr float LINK_THICKNESS = 4.0f |
|
staticconstexpr |
◆ MIN_NODE_WIDTH
constexpr float MIN_NODE_WIDTH = 200.0f |
|
staticconstexpr |
◆ PIN_RADIUS
constexpr float PIN_RADIUS = 5.0f |
|
staticconstexpr |
◆ TREE_SPACING_HORIZONTAL
constexpr float TREE_SPACING_HORIZONTAL = 150.0f |
|
staticconstexpr |
◆ TREE_SPACING_VERTICAL
constexpr float TREE_SPACING_VERTICAL = 50.0f |
|
staticconstexpr |