Klamp't  0.8.1
Public Member Functions | Public Attributes | List of all members
RobotLinkPoseWidget Class Reference

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

#include <RobotPoseWidget.h>

Inheritance diagram for RobotLinkPoseWidget:

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

Robotrobot
 
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: