5 #ifndef CNOID_BODY_PLUGIN_KINEMATICS_BAR_H
6 #define CNOID_BODY_PLUGIN_KINEMATICS_BAR_H
8 #include <cnoid/ToolBar>
9 #include "exportdecl.h"
13 class KinematicsBarImpl;
25 ForwardKinematics = 2,
28 AUTO_MODE = PresetKinematics,
29 FK_MODE = ForwardKinematics,
34 bool isForwardKinematicsEnabled()
const;
35 bool isInverseKinematicsEnabled()
const;
38 bool isPositionDraggerEnabled()
const;
39 bool isFootSnapMode()
const;
40 void getSnapThresholds(
double& distance,
double& angle)
const;
41 bool isJointPositionLimitMode()
const;
42 bool isPenetrationBlockMode()
const;
43 double penetrationBlockDepth()
const;
45 bool isCollisionLinkHighlihtMode()
const;
46 int collisionDetectionPriority()
const;
47 SignalProxy<void()> sigCollisionVisualizationChanged();
50 virtual bool storeState(
Archive& archive);
51 virtual bool restoreState(
const Archive& archive);
56 KinematicsBarImpl* impl;