Public Types | |
enum SELECT_MODE { STATUS_SEEK_FIRST_CONTROLPOINT, STATUS_SEEK_ADDITIONAL_CONTROLPOINTS, STATUS_CLOSE } | |
modes More... | |
Protected Attributes | |
int ConstrMethod | |
int CurrentConstraint | |
std::vector< Base::Vector2d > EditCurve | |
int FirstPoleGeoId | |
bool IsClosed | |
SELECT_MODE Mode | |
std::vector< std::vector< AutoConstraint > > sugConstr | |
![]() | |
QCursor actCursor | |
QCursor oldCursor | |
ViewProviderSketch * sketchgui | |
Additional Inherited Members | |
![]() | |
void applyCursor (QCursor &newCursor) | |
void applyCursor (void) | |
void setCrosshairColor () | |
void setCursor (const QPixmap &p, int x, int y) | |
void unsetCursor (void) | |
Member Enumeration Documentation
◆ SELECT_MODE
Constructor & Destructor Documentation
◆ DrawSketchHandlerBSpline()
DrawSketchHandlerBSpline::DrawSketchHandlerBSpline | ( | int | constructionMethod | ) |
References sugConstr.
◆ ~DrawSketchHandlerBSpline()
|
virtual |
Member Function Documentation
◆ activated()
|
virtual |
Reimplemented from SketcherGui::DrawSketchHandler.
References SketcherGui::DrawSketchHandler::setCrosshairColor(), and SketcherGui::DrawSketchHandler::setCursor().
◆ mouseMove()
|
virtual |
Implements SketcherGui::DrawSketchHandler.
References SketcherGui::DrawSketchHandler::applyCursor(), CurrentConstraint, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Mode, SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::setPositionText(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_SEEK_ADDITIONAL_CONTROLPOINTS, STATUS_SEEK_FIRST_CONTROLPOINT, and sugConstr.
◆ pressButton()
|
virtual |
Implements SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), Gui::cmdAppObjectArgs(), Sketcher::Coincident, Base::Console(), ConstrMethod, SketcherGui::DrawSketchHandler::createAutoConstraints(), CurrentConstraint, EditCurve, Base::ConsoleSingleton::Error(), FirstPoleGeoId, SketcherGui::DrawSketchHandler::getHighestCurveIndex(), Gui::ViewProviderDocumentObject::getObject(), IsClosed, Sketcher::mid, Mode, Gui::Command::openCommand(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_CLOSE, STATUS_SEEK_ADDITIONAL_CONTROLPOINTS, STATUS_SEEK_FIRST_CONTROLPOINT, and sugConstr.
◆ quit()
|
virtual |
Reimplemented from SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), SketcherGui::DrawSketchHandler::applyCursor(), CurrentConstraint, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, App::GetApplication(), ParameterGrp::GetBool(), Gui::ViewProviderDocumentObject::getObject(), App::Application::GetParameterGroupByPath(), IsClosed, Mode, releaseButton(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_CLOSE, STATUS_SEEK_FIRST_CONTROLPOINT, sugConstr, and SketcherGui::tryAutoRecomputeIfNotSolve().
◆ releaseButton()
|
virtual |
Implements SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), SketcherGui::DrawSketchHandler::applyCursor(), Gui::cmdAppObjectArgs(), Gui::Command::commitCommand(), Base::Console(), Sketcher::SketchObject::Constraints, ConstrMethod, SketcherGui::Construction, CurrentConstraint, Gui::Command::Doc, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Sketcher::end, Base::ConsoleSingleton::Error(), FirstPoleGeoId, SketcherGui::geometryCreationMode, App::GetApplication(), ParameterGrp::GetBool(), SketcherGui::DrawSketchHandler::getHighestCurveIndex(), Gui::ViewProviderDocumentObject::getObject(), Gui::Command::getObjectCmd(), App::Application::GetParameterGroupByPath(), Sketcher::PropertyConstraintList::getValues(), IsClosed, Sketcher::mid, Mode, SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, STATUS_CLOSE, STATUS_SEEK_FIRST_CONTROLPOINT, sugConstr, SketcherGui::tryAutoRecomputeIfNotSolve(), and SketcherGui::DrawSketchHandler::unsetCursor().
Referenced by quit().
Member Data Documentation
◆ ConstrMethod
|
protected |
Referenced by pressButton(), and releaseButton().
◆ CurrentConstraint
|
protected |
Referenced by mouseMove(), pressButton(), quit(), and releaseButton().
◆ EditCurve
|
protected |
Referenced by mouseMove(), pressButton(), quit(), and releaseButton().
◆ FirstPoleGeoId
|
protected |
Referenced by pressButton(), and releaseButton().
◆ IsClosed
|
protected |
Referenced by pressButton(), quit(), and releaseButton().
◆ Mode
|
protected |
Referenced by mouseMove(), pressButton(), quit(), and releaseButton().
◆ sugConstr
|
protected |
Referenced by DrawSketchHandlerBSpline(), mouseMove(), pressButton(), quit(), and releaseButton().
The documentation for this class was generated from the following file:
- src/Mod/Sketcher/Gui/CommandCreateGeo.cpp