#include <CToolsViewCad.hpp>
|
static void | drawMoveCopy (const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > &objsCaptured, const std::set< uint64_t > &indObjsInRectangleOpt, double xBase, double yBase, double xSecond, double ySecond, IGraphics *graphics) |
|
static void | drawObjsMarked (const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > &objsCaptured, const std::set< uint64_t > &indObjsInRectangleOpt, IGraphics *graphics) |
|
static void | drawRectangleSelectionObjs (const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > &objsCaptured, const std::set< uint64_t > &indObjsInRectangle, double xFirst, double yFirst, double xSecond, double ySecond, IGraphics *graphics) |
|
static std::set< uint64_t > | getIndObjsInRectangle (const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > &objsCaptured, double xFirst, double yFirst, double xSecond, double ySecond) |
|
static void | getPointOrthogonal (const CEventMotion *evt, double xFirst, double yFirst, double *xSecond, double *ySecond) |
|
static void | getPointOrthogonalWorld (CEventMotion *evt, double xFirst, double yFirst, double *xSecond, double *ySecond) |
|
static iv::math::geometry::Point2d | getWorldPoint (CEventMotion *evt, std::optional< iv::math::geometry::Point2d > previousPoint=std::nullopt) |
|
static iv::math::geometry::Point2d | getViewRelativePoint (CEventMotion *evt, std::optional< iv::math::geometry::Point2d > previousPoint=std::nullopt) |
|
◆ CToolsViewCad() [1/3]
CToolsViewCad::CToolsViewCad |
( |
| ) |
|
|
delete |
◆ ~CToolsViewCad()
CToolsViewCad::~CToolsViewCad |
( |
| ) |
|
|
delete |
◆ CToolsViewCad() [2/3]
◆ CToolsViewCad() [3/3]
◆ drawMoveCopy()
void CToolsViewCad::drawMoveCopy |
( |
const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > & | objsCaptured, |
|
|
const std::set< uint64_t > & | indObjsInRectangleOpt, |
|
|
double | xBase, |
|
|
double | yBase, |
|
|
double | xSecond, |
|
|
double | ySecond, |
|
|
IGraphics * | graphics ) |
|
static |
◆ drawObjsMarked()
void CToolsViewCad::drawObjsMarked |
( |
const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > & | objsCaptured, |
|
|
const std::set< uint64_t > & | indObjsInRectangleOpt, |
|
|
IGraphics * | graphics ) |
|
static |
◆ drawRectangleSelectionObjs()
void CToolsViewCad::drawRectangleSelectionObjs |
( |
const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > & | objsCaptured, |
|
|
const std::set< uint64_t > & | indObjsInRectangle, |
|
|
double | xFirst, |
|
|
double | yFirst, |
|
|
double | xSecond, |
|
|
double | ySecond, |
|
|
IGraphics * | graphics ) |
|
static |
◆ getIndObjsInRectangle()
std::set< uint64_t > CToolsViewCad::getIndObjsInRectangle |
( |
const std::shared_ptr< std::vector< std::shared_ptr< AbstractObjCapture > > > & | objsCaptured, |
|
|
double | xFirst, |
|
|
double | yFirst, |
|
|
double | xSecond, |
|
|
double | ySecond ) |
|
static |
◆ getPointOrthogonal()
void CToolsViewCad::getPointOrthogonal |
( |
const CEventMotion * | evt, |
|
|
double | xFirst, |
|
|
double | yFirst, |
|
|
double * | xSecond, |
|
|
double * | ySecond ) |
|
static |
◆ getPointOrthogonalWorld()
void CToolsViewCad::getPointOrthogonalWorld |
( |
CEventMotion * | evt, |
|
|
double | xFirst, |
|
|
double | yFirst, |
|
|
double * | xSecond, |
|
|
double * | ySecond ) |
|
static |
◆ getViewRelativePoint()
◆ getWorldPoint()
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following files: