DrawSketchHandlerCoincident Class Reference

Public Member Functions

virtual void activated (ViewProviderSketch *)
 
 DrawSketchHandlerCoincident ()
 
virtual void mouseMove (Base::Vector2d onSketchPos)
 
virtual bool pressButton (Base::Vector2d onSketchPos)
 
virtual bool releaseButton (Base::Vector2d onSketchPos)
 
virtual ~DrawSketchHandlerCoincident ()
 
- Public Member Functions inherited from SketcherGui::DrawSketchHandler
void createAutoConstraints (const std::vector< AutoConstraint > &autoConstrs, int geoId, Sketcher::PointPos pointPos=Sketcher::none, bool createowncommand=true)
 
virtual void deactivated (ViewProviderSketch *)
 
 DrawSketchHandler ()
 
int getHighestCurveIndex (void)
 
int getHighestVertexIndex (void)
 
virtual bool onSelectionChanged (const Gui::SelectionChanges &)
 
virtual void quit (void)
 
virtual void registerPressedKey (bool, int)
 
void renderSuggestConstraintsCursor (std::vector< AutoConstraint > &suggestedConstraints)
 
void resetPositionText (void)
 
int seekAutoConstraint (std::vector< AutoConstraint > &suggestedConstraints, const Base::Vector2d &Pos, const Base::Vector2d &Dir, AutoConstraint::TargetType type=AutoConstraint::VERTEX)
 
void setPositionText (const Base::Vector2d &Pos)
 
void setPositionText (const Base::Vector2d &Pos, const SbString &text)
 
virtual ~DrawSketchHandler ()
 

Protected Attributes

int GeoId1
 
int GeoId2
 
Sketcher::PointPos PosId1
 
Sketcher::PointPos PosId2
 
- Protected Attributes inherited from SketcherGui::DrawSketchHandler
QCursor actCursor
 
QCursor oldCursor
 
ViewProviderSketchsketchgui
 

Additional Inherited Members

- Protected Member Functions inherited from SketcherGui::DrawSketchHandler
void applyCursor (QCursor &newCursor)
 
void applyCursor (void)
 
void setCrosshairColor ()
 
void setCursor (const QPixmap &p, int x, int y)
 
void unsetCursor (void)
 

Constructor & Destructor Documentation

◆ DrawSketchHandlerCoincident()

DrawSketchHandlerCoincident::DrawSketchHandlerCoincident ( )

References GeoId1, GeoId2, Sketcher::none, PosId1, and PosId2.

◆ ~DrawSketchHandlerCoincident()

virtual DrawSketchHandlerCoincident::~DrawSketchHandlerCoincident ( )
virtual

Member Function Documentation

◆ activated()

◆ mouseMove()

virtual void DrawSketchHandlerCoincident::mouseMove ( Base::Vector2d  onSketchPos)
virtual

◆ pressButton()

virtual bool DrawSketchHandlerCoincident::pressButton ( Base::Vector2d  onSketchPos)
virtual

◆ releaseButton()

Member Data Documentation

◆ GeoId1

int DrawSketchHandlerCoincident::GeoId1
protected

◆ GeoId2

int DrawSketchHandlerCoincident::GeoId2
protected

◆ PosId1

Sketcher::PointPos DrawSketchHandlerCoincident::PosId1
protected

◆ PosId2

Sketcher::PointPos DrawSketchHandlerCoincident::PosId2
protected

The documentation for this class was generated from the following file:
  • src/Mod/Sketcher/Gui/CommandConstraints.cpp