QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RSnapDistanceExtension Class Reference

RSnap implementation. More...

Inheritance diagram for RSnapDistanceExtension:
RSnapDistance RSnapEntityBase RSnap

List of all members.

Public Member Functions

void hideUiOptions ()
void RSnapDistanceExtension ()
void showUiOptions ()
- Public Member Functions inherited from RSnapDistance
 RSnapDistance ()
 Copyright (c) 2011-2013 by Andrew Mustun.
virtual void setDistance (double d)
virtual ~RSnapDistance ()
- Public Member Functions inherited from RSnapEntityBase
virtual RVector snap (const RVector &position, RGraphicsView &view, double range=RNANDOUBLE)
 Copyright (c) 2011-2013 by Andrew Mustun.
virtual RVector snap (const RVector &position, RGraphicsView &view, const QSet< REntity::Id > &candidates, const RBox &queryBox)
virtual ~RSnapEntityBase ()
- Public Member Functions inherited from RSnap
QSet< REntity::IdgetEntityIds ()
RVector getLastSnap () const
RSnap::Status getStatus () const
void reset ()
 RSnap ()
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 action

Additional Inherited Members

- Protected Member Functions inherited from RSnapDistance
virtual QList< RVectorsnapEntity (QSharedPointer< REntity > entity, const RVector &point, const RBox &queryBox, RGraphicsView &view)

Detailed Description

RSnap implementation.

Extends RSnapDistance with an options toolbar which allows the user to enter the snap distance.


Constructor & Destructor Documentation

void RSnapDistanceExtension::RSnapDistanceExtension ( )
inline

Member Function Documentation

void RSnapDistanceExtension::hideUiOptions ( void  )
inlinevirtual

Reimplemented from RSnapDistance.

void RSnapDistanceExtension::showUiOptions ( void  )
inlinevirtual

Reimplemented from RSnapDistance.


Member Data Documentation

int RSnapDistanceExtension::action

The documentation for this class was generated from the following file: