|
virtual void | activated (ViewProviderSketch *sketchgui) |
|
| DrawSketchHandlerRectangularArray (string geoidlist, int origingeoid, Sketcher::PointPos originpos, int nelements, bool clone, int rows, int cols, bool constraintSeparation, bool equalVerticalHorizontalSpacing) |
|
virtual void | mouseMove (Base::Vector2d onSketchPos) |
|
virtual bool | pressButton (Base::Vector2d onSketchPos) |
|
virtual bool | releaseButton (Base::Vector2d onSketchPos) |
|
virtual | ~DrawSketchHandlerRectangularArray () |
|
Public Member Functions inherited from SketcherGui::DrawSketchHandler |
void | createAutoConstraints (const std::vector< AutoConstraint > &autoConstrs, int geoId, Sketcher::PointPos pointPos=Sketcher::none, bool createowncommand=true) |
|
virtual void | deactivated (ViewProviderSketch *) |
|
| DrawSketchHandler () |
|
int | getHighestCurveIndex (void) |
|
int | getHighestVertexIndex (void) |
|
virtual bool | onSelectionChanged (const Gui::SelectionChanges &) |
|
virtual void | quit (void) |
|
virtual void | registerPressedKey (bool, int) |
|
void | renderSuggestConstraintsCursor (std::vector< AutoConstraint > &suggestedConstraints) |
|
void | resetPositionText (void) |
|
int | seekAutoConstraint (std::vector< AutoConstraint > &suggestedConstraints, const Base::Vector2d &Pos, const Base::Vector2d &Dir, AutoConstraint::TargetType type=AutoConstraint::VERTEX) |
|
void | setPositionText (const Base::Vector2d &Pos) |
|
void | setPositionText (const Base::Vector2d &Pos, const SbString &text) |
|
virtual | ~DrawSketchHandler () |
|
◆ SelectMode
mode table
Enumerator |
---|
STATUS_SEEK_First | enum value -—.
|
STATUS_End | |
◆ DrawSketchHandlerRectangularArray()
DrawSketchHandlerRectangularArray::DrawSketchHandlerRectangularArray |
( |
string |
geoidlist, |
|
|
int |
origingeoid, |
|
|
Sketcher::PointPos |
originpos, |
|
|
int |
nelements, |
|
|
bool |
clone, |
|
|
int |
rows, |
|
|
int |
cols, |
|
|
bool |
constraintSeparation, |
|
|
bool |
equalVerticalHorizontalSpacing |
|
) |
| |
◆ ~DrawSketchHandlerRectangularArray()
virtual DrawSketchHandlerRectangularArray::~DrawSketchHandlerRectangularArray |
( |
| ) |
|
|
virtual |
◆ activated()
virtual void DrawSketchHandlerRectangularArray::activated |
( |
ViewProviderSketch * |
sketchgui | ) |
|
|
virtual |
◆ mouseMove()
virtual void DrawSketchHandlerRectangularArray::mouseMove |
( |
Base::Vector2d |
onSketchPos | ) |
|
|
virtual |
◆ pressButton()
◆ releaseButton()
virtual bool DrawSketchHandlerRectangularArray::releaseButton |
( |
Base::Vector2d |
onSketchPos | ) |
|
|
virtual |
Implements SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), Clone, Gui::cmdAppObjectArgs(), Cols, Gui::Command::commitCommand(), Base::Console(), ConstraintSeparation, SketcherGui::DrawSketchHandler::createAutoConstraints(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, EqualVerticalHorizontalSpacing, Base::ConsoleSingleton::Error(), geoIdList, Gui::ViewProviderDocumentObject::getObject(), Mode, nElements, Gui::Command::openCommand(), OriginGeoId, OriginPos, SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), Rows, SketcherGui::DrawSketchHandler::sketchgui, STATUS_End, sugConstr1, SketcherGui::tryAutoRecomputeIfNotSolve(), SketcherGui::DrawSketchHandler::unsetCursor(), Base::Vector2d::x, and Base::Vector2d::y.
◆ Clone
bool DrawSketchHandlerRectangularArray::Clone |
|
protected |
◆ Cols
int DrawSketchHandlerRectangularArray::Cols |
|
protected |
◆ ConstraintSeparation
bool DrawSketchHandlerRectangularArray::ConstraintSeparation |
|
protected |
◆ EditCurve
std::vector<Base::Vector2d> DrawSketchHandlerRectangularArray::EditCurve |
|
protected |
◆ EqualVerticalHorizontalSpacing
bool DrawSketchHandlerRectangularArray::EqualVerticalHorizontalSpacing |
|
protected |
◆ geoIdList
string DrawSketchHandlerRectangularArray::geoIdList |
|
protected |
◆ Mode
SelectMode DrawSketchHandlerRectangularArray::Mode |
|
protected |
◆ nElements
int DrawSketchHandlerRectangularArray::nElements |
|
protected |
◆ Origin
◆ OriginGeoId
int DrawSketchHandlerRectangularArray::OriginGeoId |
|
protected |
◆ OriginPos
◆ Rows
int DrawSketchHandlerRectangularArray::Rows |
|
protected |
◆ sugConstr1
std::vector<AutoConstraint> DrawSketchHandlerRectangularArray::sugConstr1 |
|
protected |
The documentation for this class was generated from the following file:
- src/Mod/Sketcher/Gui/CommandSketcherTools.cpp