Klamp't
0.8.1
|
A widget that allows the robot's driven links to be posed. More...
#include <RobotPoseWidget.h>
Public Member Functions | |
RobotLinkPoseWidget (Robot *robot, ViewRobot *viewRobot) | |
void | Set (Robot *robot, ViewRobot *viewRobot) |
Initializer. | |
void | SetActiveDofs (const vector< int > &activeDofs) |
Sets the active dofs. | |
virtual bool | Hover (int x, int y, Camera::Viewport &viewport, double &distance) |
virtual bool | BeginDrag (int x, int y, Camera::Viewport &viewport, double &distance) |
virtual void | Drag (int dx, int dy, Camera::Viewport &viewport) |
virtual void | DrawGL (Camera::Viewport &viewport) |
Public Attributes | |
Robot * | robot |
ViewRobot * | viewRobot |
Config | poseConfig |
GLDraw::GLColor | highlightColor |
int | hoverLink |
int | affectedLink |
int | affectedDriver |
vector< int > | activeDofs |
vector< int > | highlightedLinks |
Vector3 | hoverPt |
bool | draw |
vector< GLDraw::GeometryAppearance > | poserAppearance |
A widget that allows the robot's driven links to be posed.