5 #ifndef CNOID_BODY_PLUGIN_LINK_GRAPH_VIEW_H
6 #define CNOID_BODY_PLUGIN_LINK_GRAPH_VIEW_H
9 #include <cnoid/Buttons>
10 #include <cnoid/MultiSE3SeqItem>
12 #include <cnoid/GraphWidget>
13 #include <cnoid/ItemList>
14 #include <cnoid/ConnectionSet>
53 std::shared_ptr<MultiSE3Seq> seq;
56 std::vector<GraphDataHandlerPtr> handlers;
59 std::list<ItemInfo> itemInfos;
61 std::set<BodyItemPtr> bodyItems;
66 void onDataItemDisconnectedFromRoot(std::list<ItemInfo>::iterator itemInfoIter);
67 void updateBodyItems();
68 void onBodyItemDisconnectedFromRoot(
BodyItemPtr bodyItem);
69 void setupGraphWidget();
70 void addPositionTrajectory(std::list<ItemInfo>::iterator itemInfoIter,
Link* link, std::shared_ptr<MultiSE3Seq> seq);
71 void onDataItemUpdated(std::list<ItemInfo>::iterator itemInfoIter);
74 std::list<ItemInfo>::iterator itemInfoIter,
75 int linkIndex,
int type,
int axis,
int frame,
int size,
double* out_values);
77 std::list<ItemInfo>::iterator itemInfoIter,
78 int linkIndex,
int type,
int axis,
int frame,
int size,
double* values);