12 #include <boost/shared_ptr.hpp>
13 #include <motion_file/motionfile.h>
15 #include <trajectory_editor/jointperspective.h>
17 class BasicSpace :
public QWidget
21 typedef boost::shared_ptr<motionfile::Keyframe> KeyframePtr;
23 BasicSpace(
const std::vector<std::string> &joint_list, QWidget *parent = 0);
27 void setFrame(KeyframePtr frame);
28 void updateJointList(
const std::vector<std::string>& jointList);
30 virtual void handlePerspectiveUpdate(
const joint_perspective::JointPerspective &perspective){};
31 virtual void handleApplyRulePart(KeyframePtr frame,
const motionfile::RulePart &part,
double delta){};
37 virtual void updateFrame();
39 void clearlayout(QLayout *layout);
42 KeyframePtr m_current_frame;
43 std::vector<std::string> m_joint_list;