20#ifndef RSNAPRESTRICTION_H
21#define RSNAPRESTRICTION_H
40 documentInterface(documentInterface),
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition RDocumentInterface.h:97
Abstract base class for all snap restriction implementations.
Definition RSnapRestriction.h:37
RVector getLastSnap() const
Definition RSnapRestriction.h:53
RSnapRestriction(RDocumentInterface *documentInterface=NULL)
Definition RSnapRestriction.h:39
RDocumentInterface * documentInterface
Definition RSnapRestriction.h:62
RVector lastSnap
Definition RSnapRestriction.h:63
virtual ~RSnapRestriction()
Definition RSnapRestriction.h:42
void reset()
Definition RSnapRestriction.h:57
virtual void hideUiOptions()
Definition RSnapRestriction.h:51
virtual RVector restrictSnap(const RVector &position, const RVector &relativeZero)=0
virtual void showUiOptions()
Definition RSnapRestriction.h:50
Represents a 3d vector (x/y/z).
Definition RVector.h:47
static const RVector invalid
invalid vector
Definition RVector.h:335
#define QCADCORE_EXPORT
Definition core_global.h:10
#define NULL
Definition opennurbs_system.h:256