Public Types | |
enum | BoxMode { STATUS_SEEK_First, STATUS_SEEK_Second, STATUS_End } |
mode table More... | |
Public Member Functions | |
virtual void | activated (ViewProviderSketch *sketchgui) |
DrawSketchHandlerBox () | |
virtual void | mouseMove (Base::Vector2D onSketchPos) |
virtual bool | pressButton (Base::Vector2D onSketchPos) |
virtual bool | releaseButton (Base::Vector2D onSketchPos) |
virtual | ~DrawSketchHandlerBox () |
Protected Attributes | |
std::vector< Base::Vector2D > | EditCurve |
BoxMode | Mode |
std::vector< AutoConstraint > | sugConstr1 |
std::vector< AutoConstraint > | sugConstr2 |
Definition at line 281 of file CommandCreateGeo.cpp.
mode table
Definition at line 287 of file CommandCreateGeo.cpp.
DrawSketchHandlerBox::DrawSketchHandlerBox | ( | ) | [inline] |
Definition at line 284 of file CommandCreateGeo.cpp.
virtual DrawSketchHandlerBox::~DrawSketchHandlerBox | ( | ) | [inline, virtual] |
Definition at line 285 of file CommandCreateGeo.cpp.
virtual void DrawSketchHandlerBox::activated | ( | ViewProviderSketch * | sketchgui | ) | [inline, virtual] |
Reimplemented from SketcherGui::DrawSketchHandler.
Definition at line 293 of file CommandCreateGeo.cpp.
References cursor_createbox, and SketcherGui::DrawSketchHandler::setCursor().
virtual void DrawSketchHandlerBox::mouseMove | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 298 of file CommandCreateGeo.cpp.
References SketcherGui::DrawSketchHandler::applyCursor(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, SketcherExample::f, Base::Vector2D::fX, Base::Vector2D::fY, Mode, SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::setPositionText(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_SEEK_First, STATUS_SEEK_Second, sugConstr1, and sugConstr2.
virtual bool DrawSketchHandlerBox::pressButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 321 of file CommandCreateGeo.cpp.
References SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Base::Vector2D::fX, Base::Vector2D::fY, Mode, SketcherGui::DrawSketchHandler::sketchgui, STATUS_End, STATUS_SEEK_First, and STATUS_SEEK_Second.
virtual bool DrawSketchHandlerBox::releaseButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 338 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> DrawSketchHandlerBox::EditCurve [protected] |
Definition at line 409 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
BoxMode DrawSketchHandlerBox::Mode [protected] |
Definition at line 408 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerBox::sugConstr1 [protected] |
Definition at line 410 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerBox::sugConstr2 [protected] |
Definition at line 410 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().