QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RSnapReference.h
Go to the documentation of this file.
1
20#ifndef RSNAPREFERENCE_H
21#define RSNAPREFERENCE_H
22
23#include "snap_global.h"
24
25#include "RSnapEntityBase.h"
26
27class RMouseEvent;
28
37public:
39 virtual ~RSnapReference() {}
40
41protected:
42 virtual QList<RVector> snapEntity(
43 QSharedPointer<REntity> entity,
44 const RVector& point,
45 const RBox& queryBox,
46 RGraphicsView& view,
47 QList<RObject::Id>* subEntityIds = NULL);
48};
49
51
52#endif
Q_DECLARE_METATYPE(RMath *)
Represents a box e.g.
Definition RBox.h:46
Graphics view.
Definition RGraphicsView.h:67
A mouse event for a graphics scene.
Definition RMouseEvent.h:42
Base class for entity based snap classes.
Definition RSnapEntityBase.h:39
virtual QList< RVector > snapEntity(QSharedPointer< REntity > entity, const RVector &point, const RBox &queryBox, RGraphicsView &view, QList< RObject::Id > *subEntityIds=NULL)=0
Abstract base class for all grid and object snap implementations.
Definition RSnap.h:43
Reference snapper implementation.
Definition RSnapReference.h:36
RSnapReference()
Definition RSnapReference.h:38
virtual ~RSnapReference()
Definition RSnapReference.h:39
Represents a 3d vector (x/y/z).
Definition RVector.h:47
#define NULL
Definition opennurbs_system.h:256
#define QCADSNAP_EXPORT
Definition snap_global.h:10