#include <CEventMotion.hpp>
|
enum class | EButtonMotion {
Movement
, Keyboard
, Left
, LeftRelease
,
DoubleLeft
, DoubleLeftRelease
, Right
, RightRelease
} |
|
enum class | EActionAfterEvent {
None
, Redraw
, UpdateElement
, UpdateAll
,
DeleteElement
} |
|
|
| CEventMotion ()=delete |
|
| CEventMotion (CEventMotion::EButtonMotion bto, const std::optional< iv::math::geometry::Point2d > &pixelPoint, CCanvas *canvasRef, class CDialog *dlgFatherRef, IGraphics *graphicsRef, const iv::ui::KeysPressed &keysPressed) |
|
| CEventMotion (const CEventMotion &eventMotion) |
|
virtual | ~CEventMotion () |
|
void | appendMove (double dx, double dy) |
|
void | appendScale (double sx, double sy) |
|
void | runActionAfter () |
|
void | updateCanvas () |
|
CEventMotion::EActionAfterEvent | getActionAfter () const |
|
CEventMotion::EButtonMotion | getButton () const |
|
CDialog * | getDialogFatherRef () |
|
void | getDistancePixelToWorld (double distancePixel, double *distanceWorld) |
|
IGraphics * | getGraphics () |
|
bool | getPositionCapture (double *xCaptured, double *yCaptured) const |
|
bool | getPositionPixels (double *xPixel, double *yPixel) const |
|
bool | getPositionWorld (double *x, double *y) |
|
void | getPosWorldToPixel (double xWorld, double yWorld, double *xPixel, double *yPixel) const |
|
void | getRelativePositionToView (double *xRel, double *yRel) const |
|
void | setActionAfterEvt (CEventMotion::EActionAfterEvent actionAfter) |
|
void | setHasCapture (bool hasCapture, double xCaptured, double yCaptured) |
|
void | setProcessed () |
|
void | setRelativePositionToView (double xRel, double yRel) |
|
bool | isModified () const |
|
bool | isProcessed () const |
|
bool | isControl () const |
|
bool | isShift () const |
|
bool | isDelete () const |
|
bool | isArrowKey () const |
|
iv::ui::KeysPressed | getKeysPressed () const |
|
◆ EActionAfterEvent
Enumerator |
---|
None | |
Redraw | |
UpdateElement | |
UpdateAll | |
DeleteElement | |
◆ EButtonMotion
Enumerator |
---|
Movement | |
Keyboard | |
Left | |
LeftRelease | |
DoubleLeft | |
DoubleLeftRelease | |
Right | |
RightRelease | |
◆ CEventMotion() [1/3]
CEventMotion::CEventMotion |
( |
| ) |
|
|
delete |
◆ CEventMotion() [2/3]
◆ CEventMotion() [3/3]
CEventMotion::CEventMotion |
( |
const CEventMotion & | eventMotion | ) |
|
◆ ~CEventMotion()
CEventMotion::~CEventMotion |
( |
| ) |
|
|
virtualdefault |
◆ appendMove()
void CEventMotion::appendMove |
( |
double | dx, |
|
|
double | dy ) |
◆ appendScale()
void CEventMotion::appendScale |
( |
double | sx, |
|
|
double | sy ) |
◆ getActionAfter()
◆ getButton()
◆ getDialogFatherRef()
CDialog * CEventMotion::getDialogFatherRef |
( |
| ) |
|
◆ getDistancePixelToWorld()
void CEventMotion::getDistancePixelToWorld |
( |
double | distancePixel, |
|
|
double * | distanceWorld ) |
◆ getGraphics()
◆ getKeysPressed()
◆ getPositionCapture()
bool CEventMotion::getPositionCapture |
( |
double * | xCaptured, |
|
|
double * | yCaptured ) const |
◆ getPositionPixels()
bool CEventMotion::getPositionPixels |
( |
double * | xPixel, |
|
|
double * | yPixel ) const |
◆ getPositionWorld()
bool CEventMotion::getPositionWorld |
( |
double * | x, |
|
|
double * | y ) |
◆ getPosWorldToPixel()
void CEventMotion::getPosWorldToPixel |
( |
double | xWorld, |
|
|
double | yWorld, |
|
|
double * | xPixel, |
|
|
double * | yPixel ) const |
◆ getRelativePositionToView()
void CEventMotion::getRelativePositionToView |
( |
double * | xRel, |
|
|
double * | yRel ) const |
◆ isArrowKey()
bool CEventMotion::isArrowKey |
( |
| ) |
const |
|
nodiscard |
◆ isControl()
bool CEventMotion::isControl |
( |
| ) |
const |
|
nodiscard |
◆ isDelete()
bool CEventMotion::isDelete |
( |
| ) |
const |
|
nodiscard |
◆ isModified()
bool CEventMotion::isModified |
( |
| ) |
const |
|
nodiscard |
◆ isProcessed()
bool CEventMotion::isProcessed |
( |
| ) |
const |
|
nodiscard |
◆ isShift()
bool CEventMotion::isShift |
( |
| ) |
const |
|
nodiscard |
◆ runActionAfter()
void CEventMotion::runActionAfter |
( |
| ) |
|
◆ setActionAfterEvt()
◆ setHasCapture()
void CEventMotion::setHasCapture |
( |
bool | hasCapture, |
|
|
double | xCaptured, |
|
|
double | yCaptured ) |
◆ setProcessed()
void CEventMotion::setProcessed |
( |
| ) |
|
◆ setRelativePositionToView()
void CEventMotion::setRelativePositionToView |
( |
double | xRel, |
|
|
double | yRel ) |
◆ updateCanvas()
void CEventMotion::updateCanvas |
( |
| ) |
|
◆ m_actionAfter
◆ m_bto
◆ m_canvasRef
◆ m_dlgFatherRef
CDialog* CEventMotion::m_dlgFatherRef |
|
private |
◆ m_graphicsRefOpt
◆ m_hasCapture
bool CEventMotion::m_hasCapture |
|
private |
◆ m_isProcessed
bool CEventMotion::m_isProcessed |
|
private |
◆ m_keysPressed
◆ m_pixelPoint
◆ m_transformation
◆ m_transformationInversedOpt
CMatrix4x4 CEventMotion::m_transformationInversedOpt |
|
private |
◆ m_xCaptureOpt
double CEventMotion::m_xCaptureOpt |
|
private |
◆ m_xRelativeToViewOpt
double CEventMotion::m_xRelativeToViewOpt |
|
private |
◆ m_yCaptureOpt
double CEventMotion::m_yCaptureOpt |
|
private |
◆ m_yRelativeToViewOpt
double CEventMotion::m_yRelativeToViewOpt |
|
private |
The documentation for this class was generated from the following files: