|
QCAD Application Framework
CAD Application Development and Automation.
|
RSnap implementation for coordinate snap. More...
Public Member Functions | |
| void | getCoordinate () |
| void | getCoordinateEvent () |
| void | hideUiOptions () |
| void | initAction (void guiAction) |
| void | RSnapCoordinate (void guiAction) |
| void | showUiOptions () |
| void | snap (void position, void view) |
| void | update () |
Public Member Functions inherited from RSnap | |
| QSet< REntity::Id > | getEntityIds () |
| RVector | getLastSnap () const |
| RSnap::Status | getStatus () const |
| void | reset () |
| RSnap () | |
| virtual RVector | snap (const RVector &position, RGraphicsView &view, double range=RNANDOUBLE)=0 |
| virtual RVector | snap (RMouseEvent &event) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| virtual | ~RSnap () |
Public Attributes | |
| int | coordinate |
| int | relative |
Additional Inherited Members | |
Public Types inherited from RSnap | |
| enum | Status { Unknown, Free, Grid, Endpoint, OnEntity, Center, Middle, Distance, Intersection, IntersectionManual, Reference, Perpendicular, Coordinate, CoordinatePolar } |
| Snap status, returned by snap tools (most importantly auto snap tool) to indicate what snap was used. More... | |
Protected Attributes inherited from RSnap | |
| QSet< REntity::Id > | entityIds |
| RVector | lastSnap |
| RSnap::Status | status |
RSnap implementation for coordinate snap.
|
inline |
|
inline |
Reimplemented in RSnapCoordinatePolar.
|
inline |
|
inlinevirtual |
Reimplemented from RSnap.
|
inline |
Reimplemented in RSnapCoordinatePolar.
|
inlinevirtual |
Reimplemented from RSnap.
|
inline |
|
inline |
| int RSnapCoordinate::coordinate |
| int RSnapCoordinate::relative |