Public Types | |
enum | SelectMode { STATUS_SEEK_First, STATUS_SEEK_Second, STATUS_Close } |
mode table More... | |
Public Member Functions | |
virtual void | activated (ViewProviderSketch *sketchgui) |
DrawSketchHandlerCircle () | |
virtual void | mouseMove (Base::Vector2D onSketchPos) |
virtual bool | pressButton (Base::Vector2D onSketchPos) |
virtual bool | releaseButton (Base::Vector2D onSketchPos) |
virtual | ~DrawSketchHandlerCircle () |
Protected Attributes | |
std::vector< Base::Vector2D > | EditCurve |
SelectMode | Mode |
std::vector< AutoConstraint > | sugConstr1 |
std::vector< AutoConstraint > | sugConstr2 |
Definition at line 930 of file CommandCreateGeo.cpp.
mode table
Definition at line 936 of file CommandCreateGeo.cpp.
DrawSketchHandlerCircle::DrawSketchHandlerCircle | ( | ) | [inline] |
Definition at line 933 of file CommandCreateGeo.cpp.
virtual DrawSketchHandlerCircle::~DrawSketchHandlerCircle | ( | ) | [inline, virtual] |
Definition at line 934 of file CommandCreateGeo.cpp.
virtual void DrawSketchHandlerCircle::activated | ( | ViewProviderSketch * | sketchgui | ) | [inline, virtual] |
Reimplemented from SketcherGui::DrawSketchHandler.
Definition at line 942 of file CommandCreateGeo.cpp.
References cursor_createcircle, and SketcherGui::DrawSketchHandler::setCursor().
virtual void DrawSketchHandlerCircle::mouseMove | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 947 of file CommandCreateGeo.cpp.
References draftlibs::fcvec::angle(), SketcherGui::DrawSketchHandler::applyCursor(), KDL::cos(), SketcherGui::CURVE, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, SketcherExample::f, Base::Vector2D::fX, Base::Vector2D::fY, M_PI, Mode, SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::setPositionText(), KDL::sin(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_SEEK_First, STATUS_SEEK_Second, sugConstr1, and sugConstr2.
virtual bool DrawSketchHandlerCircle::pressButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 976 of file CommandCreateGeo.cpp.
References EditCurve, Mode, STATUS_Close, STATUS_SEEK_First, and STATUS_SEEK_Second.
virtual bool DrawSketchHandlerCircle::releaseButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 988 of file CommandCreateGeo.cpp.
References Gui::Command::commitCommand(), SketcherGui::DrawSketchHandler::createAutoConstraints(), Gui::Command::Doc, Gui::Command::doCommand(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, SketcherGui::DrawSketchHandler::getHighestCurveIndex(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Sketcher::mid, Mode, Sketcher::none, Gui::Command::openCommand(), SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, KDL::sqrt(), STATUS_Close, sugConstr1, sugConstr2, SketcherGui::DrawSketchHandler::unsetCursor(), and Gui::Command::updateActive().
std::vector<Base::Vector2D> DrawSketchHandlerCircle::EditCurve [protected] |
Definition at line 1026 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
SelectMode DrawSketchHandlerCircle::Mode [protected] |
Definition at line 1025 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerCircle::sugConstr1 [protected] |
Definition at line 1027 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerCircle::sugConstr2 [protected] |
Definition at line 1027 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().