Public Types | |
enum | SelectMode { STATUS_SEEK_First, STATUS_SEEK_Second, STATUS_Do, STATUS_Close } |
mode table More... | |
Public Member Functions | |
virtual void | activated (ViewProviderSketch *sketchgui) |
DrawSketchHandlerLineSet () | |
virtual void | mouseMove (Base::Vector2D onSketchPos) |
virtual bool | pressButton (Base::Vector2D onSketchPos) |
virtual bool | releaseButton (Base::Vector2D onSketchPos) |
virtual | ~DrawSketchHandlerLineSet () |
Protected Attributes | |
std::vector< Base::Vector2D > | EditCurve |
int | firstCurve |
int | firstPoint |
Base::Vector2D | lastPos |
SelectMode | Mode |
int | previousCurve |
std::vector< AutoConstraint > | sugConstr1 |
std::vector< AutoConstraint > | sugConstr2 |
Definition at line 483 of file CommandCreateGeo.cpp.
mode table
STATUS_SEEK_First |
enum value ----. |
STATUS_SEEK_Second |
enum value ----. |
STATUS_Do | |
STATUS_Close |
Definition at line 490 of file CommandCreateGeo.cpp.
DrawSketchHandlerLineSet::DrawSketchHandlerLineSet | ( | ) | [inline] |
Definition at line 486 of file CommandCreateGeo.cpp.
virtual DrawSketchHandlerLineSet::~DrawSketchHandlerLineSet | ( | ) | [inline, virtual] |
Definition at line 488 of file CommandCreateGeo.cpp.
virtual void DrawSketchHandlerLineSet::activated | ( | ViewProviderSketch * | sketchgui | ) | [inline, virtual] |
Reimplemented from SketcherGui::DrawSketchHandler.
Definition at line 497 of file CommandCreateGeo.cpp.
References cursor_createlineset, and SketcherGui::DrawSketchHandler::setCursor().
virtual void DrawSketchHandlerLineSet::mouseMove | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 502 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 DrawSketchHandlerLineSet::pressButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 522 of file CommandCreateGeo.cpp.
References SketcherGui::DrawSketchHandler::applyCursor(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, firstCurve, firstPoint, SketcherGui::DrawSketchHandler::getHighestCurveIndex(), SketcherGui::DrawSketchHandler::getHighestVertexIndex(), SketcherGui::ViewProviderSketch::getPreselectPoint(), Mode, SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_Close, STATUS_Do, STATUS_SEEK_First, STATUS_SEEK_Second, and SketcherGui::DrawSketchHandler::unsetCursor().
virtual bool DrawSketchHandlerLineSet::releaseButton | ( | Base::Vector2D | onSketchPos | ) | [inline, virtual] |
Implements SketcherGui::DrawSketchHandler.
Definition at line 551 of file CommandCreateGeo.cpp.
References SketcherGui::DrawSketchHandler::applyCursor(), Sketcher::Coincident, Gui::Command::commitCommand(), SketcherGui::DrawSketchHandler::createAutoConstraints(), Gui::Command::Doc, Gui::Command::doCommand(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Sketcher::end, firstCurve, Sketcher::SketchObject::Geometry, Part::GeomLineSegment::getClassTypeId(), Part::GeomLineSegment::getEndPoint(), SketcherGui::DrawSketchHandler::getHighestCurveIndex(), App::DocumentObject::getNameInDocument(), SketcherGui::DrawSketchHandler::getObject(), Gui::ViewProviderDocumentObject::getObject(), Part::Geometry::getTypeId(), Part::PropertyGeometryList::getValues(), Mode, Gui::Command::openCommand(), previousCurve, SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, STATUS_Close, STATUS_Do, STATUS_SEEK_Second, sugConstr1, sugConstr2, SketcherGui::DrawSketchHandler::unsetCursor(), Gui::Command::updateActive(), Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
std::vector<Base::Vector2D> DrawSketchHandlerLineSet::EditCurve [protected] |
Definition at line 634 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
int DrawSketchHandlerLineSet::firstCurve [protected] |
Definition at line 637 of file CommandCreateGeo.cpp.
Referenced by pressButton(), and releaseButton().
int DrawSketchHandlerLineSet::firstPoint [protected] |
Definition at line 636 of file CommandCreateGeo.cpp.
Referenced by pressButton().
Base::Vector2D DrawSketchHandlerLineSet::lastPos [protected] |
Definition at line 635 of file CommandCreateGeo.cpp.
SelectMode DrawSketchHandlerLineSet::Mode [protected] |
Definition at line 633 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), pressButton(), and releaseButton().
int DrawSketchHandlerLineSet::previousCurve [protected] |
Definition at line 638 of file CommandCreateGeo.cpp.
Referenced by releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerLineSet::sugConstr1 [protected] |
Definition at line 639 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().
std::vector<AutoConstraint> DrawSketchHandlerLineSet::sugConstr2 [protected] |
Definition at line 639 of file CommandCreateGeo.cpp.
Referenced by mouseMove(), and releaseButton().