Klamp't
0.9.0
|
A widget that allows the robot's driven links to be posed. More...
#include <RobotPoseWidget.h>
Public Member Functions | |
RobotLinkPoseWidget (RobotModel *robot, ViewRobot *viewRobot) | |
void | Set (RobotModel *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) override |
virtual void | SetHighlight (bool active) override |
virtual bool | BeginDrag (int x, int y, Camera::Viewport &viewport, double &distance) override |
virtual void | Drag (int dx, int dy, Camera::Viewport &viewport) override |
virtual void | DrawGL (Camera::Viewport &viewport) override |
void | InitDefaultAppearance () |
Public Attributes | |
RobotModel * | 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.