qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
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. More...
 
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 CCVector3d &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

◆ acceptClick()

virtual bool ccInteractor::acceptClick ( int  x,
int  y,
Qt::MouseButton  button 
)
inlinevirtual

Called on mouse click.

Reimplemented in cc2DLabel.

◆ move2D()

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.

◆ move3D()

virtual bool ccInteractor::move3D ( const CCVector3d &  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: