V-ARTContributions
Public Member Functions | Protected Attributes | Friends | List of all members
VART::MouseControl::DragHandler Class Referenceabstract

#include <mousecontrol.h>

Public Member Functions

virtual ~DragHandler ()
 
virtual void OnDrag ()=0
 

Protected Attributes

MouseControlmouseCtrlPtr
 Pointer to mouse controller. More...
 
ViewerGlutOGLviewerPtr
 Pointer to owner viewer. More...
 

Friends

class MouseControl
 

Detailed Description

Drag handler

Handles mouse motion while some button is pressed.

Definition at line 47 of file mousecontrol.h.

Constructor & Destructor Documentation

virtual VART::MouseControl::DragHandler::~DragHandler ( )
inlinevirtual

Definition at line 51 of file mousecontrol.h.

Member Function Documentation

virtual void VART::MouseControl::DragHandler::OnDrag ( )
pure virtual

Friends And Related Function Documentation

friend class MouseControl
friend

Definition at line 49 of file mousecontrol.h.

Member Data Documentation

MouseControl* VART::MouseControl::DragHandler::mouseCtrlPtr
protected

Pointer to mouse controller.

Use this pointer to get access to mouse information such as position and last event.

Definition at line 58 of file mousecontrol.h.

Referenced by VART::MouseControl::SetDragHandler().

ViewerGlutOGL* VART::MouseControl::DragHandler::viewerPtr
protected

Pointer to owner viewer.

Use this pointer to get access to viewer that owns the drag handler.

Definition at line 62 of file mousecontrol.h.

Referenced by VART::MouseControl::SetDragHandler().


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