Klamp't  0.9.0
Public Member Functions | Public Attributes | List of all members
Klampt::WorldDragWidget Class Reference
Inheritance diagram for Klampt::WorldDragWidget:

Public Member Functions

 WorldDragWidget (WorldModel *world=NULL)
void Set (WorldModel *world)
void Enable (bool active)
virtual void SetHighlight (bool value) override
virtual bool Hover (int x, int y, Camera::Viewport &viewport, double &distance) override
virtual bool BeginDrag (int x, int y, Camera::Viewport &viewport, double &distance) override
virtual void EndDrag () override
virtual void Drag (int dx, int dy, Camera::Viewport &viewport) override
virtual void DrawGL (Camera::Viewport &viewport) override

Public Attributes

bool active
bool robotsActive
bool objectsActive
bool terrainsActive
GLDraw::GLColor highlightColor
GLDraw::GLColor lineColor
float lineWidth
bool dragging
int hoverID
Vector3 hoverPt
Vector3 dragPt
Real hoverDistance
int highlightID
GLDraw::GLColor originalFaceColor

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