Klamp't  0.9.0
Public Member Functions | Public Attributes | List of all members
Klampt::RobotLinkPoseWidget Class Reference

A widget that allows the robot's driven links to be posed. More...

#include <RobotPoseWidget.h>

Inheritance diagram for Klampt::RobotLinkPoseWidget:

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

RobotModelrobot
 
ViewRobotviewRobot
 
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
 

Detailed Description

A widget that allows the robot's driven links to be posed.


The documentation for this class was generated from the following file: