qCC_db  version 2.5.4 (Qt) - 19 Apr 2014
 All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
ccInteractor Class Reference

Interactor interface (entity that can be dragged or clicked in a 3D view) More...

#include <ccInteractor.h>

Inheritance diagram for ccInteractor:
Inheritance graph
[legend]

Public Member Functions

virtual bool acceptClick (int x, int y, Qt::MouseButton button)
 Called on mouse click.
 
virtual bool move2D (int x, int y, int dx, int dy, int screenWidth, int screenHeight)
 Called on mouse move (for 2D interactors) More...
 
virtual bool move3D (const CCVector3 &u)
 Called on mouse move (for 3D interactors) More...
 

Detailed Description

Interactor interface (entity that can be dragged or clicked in a 3D view)

Member Function Documentation

virtual bool ccInteractor::move2D ( int  x,
int  y,
int  dx,
int  dy,
int  screenWidth,
int  screenHeight 
)
inlinevirtual

Called on mouse move (for 2D interactors)

Returns
true if a movement occurs

Reimplemented in cc2DLabel, and ccClipBox.

virtual bool ccInteractor::move3D ( const CCVector3 &  u)
inlinevirtual

Called on mouse move (for 3D interactors)

Returns
true if a movement occurs

Reimplemented in ccClipBox.


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