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

Public Member Functions

 WorldDragWidget (RobotWorld *world=NULL)
 
void Set (RobotWorld *world)
 
void Enable (bool active)
 
virtual void SetHighlight (bool value)
 
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 EndDrag ()
 
virtual void Drag (int dx, int dy, Camera::Viewport &viewport)
 
virtual void DrawGL (Camera::Viewport &viewport)
 

Public Attributes

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