![]() |
Botcraft 1.21.4
|
Public Member Functions | |
TreePosNode (ImNode *real_node_, TreePosNode *parent_=nullptr, int depth_=0, int sibling_order_number_=1) | |
bool | IsLeaf () const |
TreePosNode * | NextLeft () const |
TreePosNode * | NextRight () const |
TreePosNode * | LeftBrother () const |
bool | IsLeftmostSibling () const |
TreePosNode * | GetLeftMostSibling () const |
Public Attributes | |
float | prelim |
int | depth |
ImNode * | real_node |
TreePosNode * | ancestor |
std::vector< std::unique_ptr< TreePosNode > > | children |
TreePosNode * | parent |
TreePosNode * | thread |
float | mod |
float | change |
float | shift |
int | number |
Definition at line 670 of file BehaviourRenderer.cpp.
|
inline |
|
inline |
Definition at line 737 of file BehaviourRenderer.cpp.
References children, and parent.
Referenced by Botcraft::Renderer::Apportion().
|
inline |
Definition at line 696 of file BehaviourRenderer.cpp.
References children.
Referenced by Botcraft::Renderer::FirstWalk(), NextLeft(), and NextRight().
|
inline |
Definition at line 728 of file BehaviourRenderer.cpp.
References children, and parent.
Referenced by Botcraft::Renderer::FirstWalk().
|
inline |
Definition at line 711 of file BehaviourRenderer.cpp.
References children, and parent.
Referenced by Botcraft::Renderer::Apportion(), and Botcraft::Renderer::FirstWalk().
|
inline |
Definition at line 701 of file BehaviourRenderer.cpp.
References children, IsLeaf(), and thread.
Referenced by Botcraft::Renderer::Apportion().
|
inline |
Definition at line 706 of file BehaviourRenderer.cpp.
References children, IsLeaf(), and thread.
Referenced by Botcraft::Renderer::Apportion().
TreePosNode* Botcraft::Renderer::TreePosNode::ancestor |
Definition at line 749 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Ancestor(), Botcraft::Renderer::Apportion(), and TreePosNode().
float Botcraft::Renderer::TreePosNode::change |
Definition at line 754 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::ExecuteShifts(), Botcraft::Renderer::MoveSubtree(), and TreePosNode().
std::vector<std::unique_ptr<TreePosNode> > Botcraft::Renderer::TreePosNode::children |
Definition at line 750 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Ancestor(), Botcraft::Renderer::ExecuteShifts(), Botcraft::Renderer::FirstWalk(), GetLeftMostSibling(), Botcraft::Renderer::GetMaxWidthPerDepthLevel(), IsLeaf(), IsLeftmostSibling(), LeftBrother(), NextLeft(), NextRight(), Botcraft::Renderer::SecondWalk(), Botcraft::Renderer::SetRealNodePos(), and TreePosNode().
int Botcraft::Renderer::TreePosNode::depth |
Definition at line 747 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::GetMaxWidthPerDepthLevel(), Botcraft::Renderer::SetRealNodePos(), and TreePosNode().
float Botcraft::Renderer::TreePosNode::mod |
Definition at line 753 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Apportion(), Botcraft::Renderer::ExecuteShifts(), Botcraft::Renderer::FirstWalk(), Botcraft::Renderer::MoveSubtree(), Botcraft::Renderer::SecondWalk(), and TreePosNode().
int Botcraft::Renderer::TreePosNode::number |
Definition at line 756 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::MoveSubtree(), and TreePosNode().
TreePosNode* Botcraft::Renderer::TreePosNode::parent |
Definition at line 751 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Ancestor(), GetLeftMostSibling(), IsLeftmostSibling(), LeftBrother(), and TreePosNode().
float Botcraft::Renderer::TreePosNode::prelim |
Definition at line 746 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Apportion(), Botcraft::Renderer::ExecuteShifts(), Botcraft::Renderer::FirstWalk(), Botcraft::Renderer::MoveSubtree(), Botcraft::Renderer::PlaceNodesBuchheim(), Botcraft::Renderer::SecondWalk(), Botcraft::Renderer::SetRealNodePos(), and TreePosNode().
ImNode* Botcraft::Renderer::TreePosNode::real_node |
Definition at line 748 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Apportion(), Botcraft::Renderer::FirstWalk(), Botcraft::Renderer::GetMaxWidthPerDepthLevel(), Botcraft::Renderer::SetRealNodePos(), and TreePosNode().
float Botcraft::Renderer::TreePosNode::shift |
Definition at line 755 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::ExecuteShifts(), Botcraft::Renderer::MoveSubtree(), and TreePosNode().
TreePosNode* Botcraft::Renderer::TreePosNode::thread |
Definition at line 752 of file BehaviourRenderer.cpp.
Referenced by Botcraft::Renderer::Apportion(), NextLeft(), NextRight(), and TreePosNode().