Public Types | |
enum | SelectMode { STATUS_SEEK_First, STATUS_SEEK_Second } |
Public Member Functions | |
virtual void | activated (ViewProviderSketch *sketchgui) |
DrawSketchHandlerFillet () | |
virtual void | mouseMove (Base::Vector2D onSketchPos) |
virtual bool | pressButton (Base::Vector2D onSketchPos) |
virtual bool | releaseButton (Base::Vector2D onSketchPos) |
virtual | ~DrawSketchHandlerFillet () |
Protected Attributes | |
int | firstCurve |
Base::Vector2D | firstPos |
SelectMode | Mode |
Definition at line 1219 of file CommandCreateGeo.cpp.
Definition at line 1227 of file CommandCreateGeo.cpp.
DrawSketchHandlerFillet::DrawSketchHandlerFillet | ( | ) | [inline] |
Definition at line 1222 of file CommandCreateGeo.cpp.
virtual DrawSketchHandlerFillet::~DrawSketchHandlerFillet | ( | ) | [inline, virtual] |
Definition at line 1223 of file CommandCreateGeo.cpp.
References Gui::Selection().
virtual void DrawSketchHandlerFillet::activated | ( | ViewProviderSketch * | sketchgui | ) | [inline, virtual] |
Reimplemented from SketcherGui::DrawSketchHandler.
Definition at line 1232 of file CommandCreateGeo.cpp.
References cursor_createfillet, Gui::ViewProviderDocumentObject::getObject(), Gui::Selection(), and SketcherGui::DrawSketchHandler::setCursor().
virtual void DrawSketchHandlerFillet::mouseMove | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 1239 of file CommandCreateGeo.cpp.
virtual bool DrawSketchHandlerFillet::pressButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 1243 of file CommandCreateGeo.cpp.
virtual bool DrawSketchHandlerFillet::releaseButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 1248 of file CommandCreateGeo.cpp.
References draftlibs::fcvec::angle(), Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Sketcher::end, firstCurve, firstPos, Base::Vector2D::fX, Base::Vector2D::fY, Sketcher::SketchObject::Geometry, Base::Vector3< _Precision >::GetAngle(), Part::GeomLineSegment::getClassTypeId(), Sketcher::SketchObject::getCoincidentPoints(), App::DocumentObject::getDocument(), Part::GeomLineSegment::getEndPoint(), Sketcher::SketchObject::getGeoVertexIndex(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), SketcherGui::ViewProviderSketch::getPreselectCurve(), SketcherGui::ViewProviderSketch::getPreselectPoint(), SketcherGui::ViewProviderSketch::getSketchObject(), Part::GeomLineSegment::getStartPoint(), Part::Geometry::getTypeId(), Part::PropertyGeometryList::getValues(), Mod::PartDesign::Scripts::Gear::l1, Mod::PartDesign::Scripts::Gear::l2, Base::Vector3< _Precision >::Length(), Mode, Sketcher::none, Gui::Command::openCommand(), SketcherGui::ViewProviderSketch::purgeHandler(), Gui::Selection(), KDL::sin(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, STATUS_SEEK_First, STATUS_SEEK_Second, Part::suggestFilletRadius(), and Gui::Command::updateActive().
int DrawSketchHandlerFillet::firstCurve [protected] |
Definition at line 1354 of file CommandCreateGeo.cpp.
Referenced by releaseButton().
Base::Vector2D DrawSketchHandlerFillet::firstPos [protected] |
Definition at line 1355 of file CommandCreateGeo.cpp.
Referenced by releaseButton().
SelectMode DrawSketchHandlerFillet::Mode [protected] |
Definition at line 1353 of file CommandCreateGeo.cpp.
Referenced by releaseButton().