Protected Member Functions | |
void | resetOngoingSequences () |
Protected Member Functions inherited from SketcherGui::DrawSketchHandler | |
virtual QString | getCrosshairCursorSVGName () const |
void | setCursor (const QPixmap &pixmap, int x, int y, bool autoScale=true) |
void | updateCursor () |
updates the actCursor with the icon by calling getCrosshairCursorSVGName(), enabling to set data member dependent icons (i.e. More... | |
void | unsetCursor (void) |
restitutes the cursor that was in use at the moment of starting the DrawSketchHandler (i.e. oldCursor) More... | |
void | applyCursor (void) |
restitutes the DSH cached cursor (e.g. without any tail due to autoconstraints, ...) More... | |
unsigned long | getCrosshairColor () |
returns the color to be used for the crosshair (configurable as a parameter) More... | |
qreal | devicePixelRatio () |
functions to set the cursor to a given svgName (to be migrated to NVI style) More... | |
void | drawEdit (const std::vector< Base::Vector2d > &EditCurve) |
void | drawEdit (const std::list< std::vector< Base::Vector2d > > &list) |
void | drawEdit (const std::vector< Part::Geometry * > &geometries) |
void | drawEditMarkers (const std::vector< Base::Vector2d > &EditMarkers, unsigned int augmentationlevel=0) |
void | setAxisPickStyle (bool on) |
void | moveCursorToSketchPoint (Base::Vector2d point) |
void | preselectAtPoint (Base::Vector2d point) |
void | drawPositionAtCursor (const Base::Vector2d &position) |
void | drawDirectionAtCursor (const Base::Vector2d &position, const Base::Vector2d &origin) |
int | getPreselectPoint (void) const |
int | getPreselectCurve (void) const |
int | getPreselectCross (void) const |
Sketcher::SketchObject * | getSketchObject () |
std::vector< QPixmap > | suggestedConstraintsPixmaps (std::vector< AutoConstraint > &suggestedConstraints) |
Returns constraints icons scaled to width. More... | |
Protected Attributes | |
unsigned int | allowedSelTypes = 0 |
CmdSketcherConstraint * | cmd |
std::set< int > | ongoingSequences |
indices of currently ongoing sequences in cmd->allowedSequences More... | |
GenericConstraintSelection * | selFilterGate = nullptr |
std::vector< SelIdPair > | selSeq |
unsigned int | seqIndex |
Index within the selection sequences active. More... | |
Protected Attributes inherited from SketcherGui::DrawSketchHandler | |
ViewProviderSketch * | sketchgui |
QCursor | oldCursor |
QCursor | actCursor |
QPixmap | actCursorPixmap |
DrawSketchHandlerGenConstraint::DrawSketchHandlerGenConstraint | ( | CmdSketcherConstraint * | _cmd | ) |
|
virtual |
References Gui::SelectionSingleton::rmvSelectionGate(), and Gui::Selection().
|
overridevirtual |
Implements SketcherGui::DrawSketchHandler.
|
overridevirtual |
Implements SketcherGui::DrawSketchHandler.
|
overridevirtual |
Implements SketcherGui::DrawSketchHandler.
References Gui::SelectionSingleton::addSelection(), CmdSketcherConstraint::allowedSelSequences, allowedSelTypes, CmdSketcherConstraint::applyConstraint(), Gui::SelectionSingleton::clearSelection(), cmd, SketcherGui::SelIdPair::GeoId, App::DocumentObject::getDocument(), Sketcher::SketchObject::getGeoVertexIndex(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::DrawSketchHandler::getPreselectCross(), SketcherGui::DrawSketchHandler::getPreselectCurve(), SketcherGui::DrawSketchHandler::getPreselectPoint(), SketcherGui::ViewProviderSketch::getSketchObject(), Sketcher::none, ongoingSequences, SketcherGui::SelIdPair::PosId, resetOngoingSequences(), Gui::Selection(), SketcherGui::SelEdge, SketcherGui::SelEdgeOrAxis, SketcherGui::SelExternalEdge, selFilterGate, SketcherGui::SelHAxis, SketcherGui::SelRoot, selSeq, SketcherGui::SelUnknown, SketcherGui::SelVAxis, SketcherGui::SelVertex, SketcherGui::SelVertexOrRoot, seqIndex, SketcherGui::GenericConstraintSelection::setAllowedSelTypes(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, Base::Vector2d::x, and Base::Vector2d::y.
|
protected |
|
protected |
Referenced by releaseButton(), and resetOngoingSequences().
|
protected |
|
protected |
indices of currently ongoing sequences in cmd->allowedSequences
Referenced by releaseButton(), and resetOngoingSequences().
|
protected |
Referenced by releaseButton(), and resetOngoingSequences().
|
protected |
Referenced by releaseButton().
|
protected |
Index within the selection sequences active.
Referenced by releaseButton(), and resetOngoingSequences().