Klamp't  0.9.0
ViewGrasp.h
1 #ifndef VIEW_GRASP_H
2 #define VIEW_GRASP_H
3 
4 #include <Klampt/Contact/Grasp.h>
5 #include <KrisLibrary/robotics/Stability.h>
6 #include <KrisLibrary/GLdraw/GLColor.h>
7 #include "ViewHold.h"
8 
9 namespace Klampt {
10 
14 struct ViewGrasp
15 {
16  ViewGrasp();
17  void Draw(const Grasp& g);
18 
19  ViewRobot* viewRobot;
20  ViewContact viewContact;
21  GLDraw::GLColor forceColor;
22 };
23 
24 } //namespace Klampt
25 
26 #endif
Draws the robot (potentially color-coded)
Definition: ViewRobot.h:14
Displays a contact point using OpenGL.
Definition: ViewHold.h:15
Displays a grasp using OpenGL.
Definition: ViewGrasp.h:14
Slightly more sophisticated than a Stance, a Grasp allows some of the robot&#39;s degrees of freedom to b...
Definition: Grasp.h:17
Definition: ContactDistance.h:6