Klamp't  0.9.0
ViewIK.h
1 #ifndef VIEW_IK_H
2 #define VIEW_IK_H
3 
4 #include <KrisLibrary/robotics/IK.h>
5 #include "ViewRobot.h"
6 
7 namespace Klampt {
8 
9 struct ViewIKGoal
10 {
11  ViewIKGoal();
12  //draws lines to the desired location
13  void Draw(const IKGoal& goal,RobotModel& robot);
14  //draws the link of the robot at the desired location
15  void DrawLink(const IKGoal& goal,ViewRobot& robotviewer);
16  void DrawLink(const IKGoal& goal,ViewRobot& robotviewer,const Matrix3& refMatrix);
17 
18  GLDraw::GLColor lineColor;
19  GLDraw::GLColor linkColor;
20  Real widgetSize;
21 };
22 
23 } //namespace Klampt
24 
25 #endif
Draws the robot (potentially color-coded)
Definition: ViewRobot.h:14
The main robot type used in RobotSim.
Definition: Robot.h:83
Definition: ContactDistance.h:6
Definition: ViewIK.h:9