1#ifndef LIBS_GUI_CEVENTMOTION_HPP_
2#define LIBS_GUI_CEVENTMOTION_HPP_
7#include <bits/stdint-uintn.h>
59 void getPosWorldToPixel(
double xWorld,
double yWorld,
double *xPixel,
double *yPixel)
const;
63 void setHasCapture(
bool hasCapture,
double xCaptured,
double yCaptured);
70 [[nodiscard]]
bool isShift()
const;
Definition CCanvas.hpp:15
Definition CDialog.hpp:21
Definition CEventMotion.hpp:15
double m_yCaptureOpt
Definition CEventMotion.hpp:91
std::optional< iv::math::geometry::Point2d > m_pixelPoint
Definition CEventMotion.hpp:78
double m_yRelativeToViewOpt
Definition CEventMotion.hpp:93
bool isShift() const
Definition CEventMotion.cpp:324
double m_xCaptureOpt
Definition CEventMotion.hpp:90
void getPosWorldToPixel(double xWorld, double yWorld, double *xPixel, double *yPixel) const
Definition CEventMotion.cpp:181
void setHasCapture(bool hasCapture, double xCaptured, double yCaptured)
Definition CEventMotion.cpp:273
void setProcessed()
Definition CEventMotion.cpp:284
void appendMove(double dx, double dy)
Definition CEventMotion.cpp:48
CEventMotion::EActionAfterEvent m_actionAfter
Definition CEventMotion.hpp:77
void getDistancePixelToWorld(double distancePixel, double *distanceWorld)
Definition CEventMotion.cpp:118
CMatrix4x4 m_transformationInversedOpt
Definition CEventMotion.hpp:87
CEventMotion::EButtonMotion m_bto
Definition CEventMotion.hpp:76
void appendScale(double sx, double sy)
Definition CEventMotion.cpp:61
bool isArrowKey() const
Definition CEventMotion.cpp:334
CCanvas * m_canvasRef
Definition CEventMotion.hpp:79
void runActionAfter()
Definition CEventMotion.cpp:78
iv::ui::KeysPressed m_keysPressed
Definition CEventMotion.hpp:95
bool getPositionCapture(double *xCaptured, double *yCaptured) const
Definition CEventMotion.cpp:135
bool isDelete() const
Definition CEventMotion.cpp:329
EButtonMotion
Definition CEventMotion.hpp:19
bool getPositionPixels(double *xPixel, double *yPixel) const
Definition CEventMotion.cpp:151
bool isModified() const
Definition CEventMotion.cpp:295
bool isControl() const
Definition CEventMotion.cpp:319
void updateCanvas()
Definition CEventMotion.cpp:98
bool getPositionWorld(double *x, double *y)
Definition CEventMotion.cpp:163
EActionAfterEvent
Definition CEventMotion.hpp:31
void getRelativePositionToView(double *xRel, double *yRel) const
Definition CEventMotion.cpp:188
bool isProcessed() const
Definition CEventMotion.cpp:314
void setRelativePositionToView(double xRel, double yRel)
Definition CEventMotion.cpp:289
CEventMotion::EActionAfterEvent getActionAfter() const
Definition CEventMotion.cpp:103
CEventMotion::EButtonMotion getButton() const
Definition CEventMotion.cpp:108
double m_xRelativeToViewOpt
Definition CEventMotion.hpp:92
CMatrix4x4 m_transformation
Definition CEventMotion.hpp:86
CDialog * getDialogFatherRef()
Definition CEventMotion.cpp:113
bool m_isProcessed
Definition CEventMotion.hpp:84
bool m_hasCapture
Definition CEventMotion.hpp:89
CDialog * m_dlgFatherRef
Definition CEventMotion.hpp:82
iv::ui::KeysPressed getKeysPressed() const
Definition CEventMotion.cpp:340
IGraphics * getGraphics()
Definition CEventMotion.cpp:130
IGraphics * m_graphicsRefOpt
Definition CEventMotion.hpp:80
void setActionAfterEvt(CEventMotion::EActionAfterEvent actionAfter)
Definition CEventMotion.cpp:194
Definition CMatrix4x4.hpp:23
Definition IGraphics.hpp:20
Definition interactionsStructs.hpp:24