Public Types | |
enum | SelectMode { STATUS_SEEK_First, STATUS_SEEK_Second, STATUS_End } |
mode table More... | |
Public Member Functions | |
virtual void | activated (ViewProviderSketch *sketchgui) |
DrawSketchHandlerLine () | |
virtual void | mouseMove (Base::Vector2D onSketchPos) |
virtual bool | pressButton (Base::Vector2D onSketchPos) |
virtual bool | releaseButton (Base::Vector2D onSketchPos) |
virtual | ~DrawSketchHandlerLine () |
Protected Attributes | |
std::vector< Base::Vector2D > | EditCurve |
SelectMode | Mode |
std::vector< AutoConstraint > | sugConstr1 |
std::vector< AutoConstraint > | sugConstr2 |
Definition at line 122 of file CommandCreateGeo.cpp.
mode table
Definition at line 128 of file CommandCreateGeo.cpp.
DrawSketchHandlerLine::DrawSketchHandlerLine | ( | ) | [inline] |
Definition at line 125 of file CommandCreateGeo.cpp.
virtual DrawSketchHandlerLine::~DrawSketchHandlerLine | ( | ) | [inline, virtual] |
Definition at line 126 of file CommandCreateGeo.cpp.
virtual void DrawSketchHandlerLine::activated | ( | ViewProviderSketch * | sketchgui | ) | [inline, virtual] |
Reimplemented from SketcherGui::DrawSketchHandler.
Definition at line 134 of file CommandCreateGeo.cpp.
References cursor_createline, and SketcherGui::DrawSketchHandler::setCursor().
virtual void DrawSketchHandlerLine::mouseMove | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 139 of file CommandCreateGeo.cpp.
References SketcherGui::DrawSketchHandler::applyCursor(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, SketcherExample::f, Mode, SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::setPositionText(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_SEEK_First, STATUS_SEEK_Second, sugConstr1, and sugConstr2.
virtual bool DrawSketchHandlerLine::pressButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 160 of file CommandCreateGeo.cpp.
References SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Mode, SketcherGui::DrawSketchHandler::sketchgui, STATUS_End, STATUS_SEEK_First, and STATUS_SEEK_Second.
virtual bool DrawSketchHandlerLine::releaseButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 174 of file CommandCreateGeo.cpp.
References Gui::Command::commitCommand(), SketcherGui::DrawSketchHandler::createAutoConstraints(), Gui::Command::Doc, Gui::Command::doCommand(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Sketcher::end, SketcherGui::DrawSketchHandler::getHighestCurveIndex(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Mode, Gui::Command::openCommand(), SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, STATUS_End, sugConstr1, sugConstr2, SketcherGui::DrawSketchHandler::unsetCursor(), and Gui::Command::updateActive().
std::vector<Base::Vector2D> DrawSketchHandlerLine::EditCurve [protected] |
Definition at line 207 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
SelectMode DrawSketchHandlerLine::Mode [protected] |
Definition at line 206 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerLine::sugConstr1 [protected] |
Definition at line 208 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerLine::sugConstr2 [protected] |
Definition at line 208 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().