DrawSketchHandler3PointArc Class Reference

Public Types

enum  SelectMode { STATUS_SEEK_First , STATUS_SEEK_Second , STATUS_SEEK_Third , STATUS_End }
 mode table More...
 

Public Member Functions

virtual void activated (ViewProviderSketch *)
 
 DrawSketchHandler3PointArc ()
 
virtual void mouseMove (Base::Vector2d onSketchPos)
 
virtual bool pressButton (Base::Vector2d onSketchPos)
 
virtual bool releaseButton (Base::Vector2d onSketchPos)
 
virtual ~DrawSketchHandler3PointArc ()
 
- 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 ()
 

Protected Attributes

double arcAngle
 
Sketcher::PointPos arcPos1
 
Sketcher::PointPos arcPos2
 
Base::Vector2d CenterPoint
 
std::vector< Base::Vector2dEditCurve
 
double endAngle
 
Base::Vector2d FirstPoint
 
SelectMode Mode
 
double radius
 
Base::Vector2d SecondPoint
 
double startAngle
 
std::vector< AutoConstraintsugConstr1
 
std::vector< AutoConstraintsugConstr2
 
std::vector< AutoConstraintsugConstr3
 
- Protected Attributes inherited from SketcherGui::DrawSketchHandler
QCursor actCursor
 
QPixmap actCursorPixmap
 
QCursor oldCursor
 
ViewProviderSketchsketchgui
 

Additional Inherited Members

- Protected Member Functions inherited from SketcherGui::DrawSketchHandler
void addCursorTail (std::vector< QPixmap > &pixmaps)
 
void applyCursor (QCursor &newCursor)
 
void applyCursor (void)
 
qreal devicePixelRatio ()
 
unsigned long getCrosshairColor ()
 
void setCrosshairColor ()
 
void setCrosshairCursor (const char *svgName)
 
void setCursor (const QPixmap &pixmap, int x, int y, bool autoScale=true)
 Sets a cursor for 3D inventor view. More...
 
void setSvgCursor (const QString &svgName, int x, int y, const std::map< unsigned long, unsigned long > &colorMapping=std::map< unsigned long, unsigned long >())
 
std::vector< QPixmap > suggestedConstraintsPixmaps (std::vector< AutoConstraint > &suggestedConstraints)
 Returns constraints icons scaled to width. More...
 
void unsetCursor (void)
 

Member Enumeration Documentation

◆ SelectMode

mode table

Enumerator
STATUS_SEEK_First 

enum value -—.

STATUS_SEEK_Second 

enum value -—.

STATUS_SEEK_Third 

enum value -—.

STATUS_End 

Constructor & Destructor Documentation

◆ DrawSketchHandler3PointArc()

DrawSketchHandler3PointArc::DrawSketchHandler3PointArc ( )

◆ ~DrawSketchHandler3PointArc()

virtual DrawSketchHandler3PointArc::~DrawSketchHandler3PointArc ( )
virtual

Member Function Documentation

◆ activated()

virtual void DrawSketchHandler3PointArc::activated ( ViewProviderSketch )
virtual

◆ mouseMove()

◆ pressButton()

◆ releaseButton()

Member Data Documentation

◆ arcAngle

double DrawSketchHandler3PointArc::arcAngle
protected

Referenced by mouseMove().

◆ arcPos1

Sketcher::PointPos DrawSketchHandler3PointArc::arcPos1
protected

Referenced by mouseMove(), and releaseButton().

◆ arcPos2

Sketcher::PointPos DrawSketchHandler3PointArc::arcPos2
protected

Referenced by mouseMove(), and releaseButton().

◆ CenterPoint

Base::Vector2d DrawSketchHandler3PointArc::CenterPoint
protected

Referenced by mouseMove(), and releaseButton().

◆ EditCurve

std::vector<Base::Vector2d> DrawSketchHandler3PointArc::EditCurve
protected

◆ endAngle

double DrawSketchHandler3PointArc::endAngle
protected

Referenced by mouseMove(), and releaseButton().

◆ FirstPoint

Base::Vector2d DrawSketchHandler3PointArc::FirstPoint
protected

Referenced by mouseMove(), and pressButton().

◆ Mode

SelectMode DrawSketchHandler3PointArc::Mode
protected

◆ radius

double DrawSketchHandler3PointArc::radius
protected

Referenced by PathScripts.PathPocketBase.ObjectPocket::areaOpAreaParams(), PathScripts.PathProfile.ObjectProfile::areaOpAreaParams(), PathScripts.PathPocketBase.ObjectPocket::areaOpPathParams(), PathScripts.PathAreaOp.ObjectOp::areaOpSetDefaultValues(), DraftGui.DraftToolBar::changeRadiusValue(), PathScripts.PathHelix.ObjectHelix::circularHoleExecute(), PathScripts.PathDressupHoldingTags.Tag::createSolidsAt(), PathScripts.PathSurface.ObjectSurface::deleteOpVariables(), PathScripts.PathWaterline.ObjectWaterline::deleteOpVariables(), PathScripts.PathOp.ObjectOp::execute(), PathScripts.PathDressupAxisMap.TaskPanel::getFields(), PathScripts.PathHelix.ObjectHelix::helix_cut(), ifc4.ifcsweptdisksolid::innerradiussize(), mouseMove(), draftguitools.gui_snapper.Snapper::off(), PathScripts.PathSurfaceSupport.ProcessSelectedFaces::preProcessModel(), releaseButton(), draftguitools.gui_snapper.Snapper::showradius(), draftguitools.gui_snapper.Snapper::snapToCrossExtensions(), draftguitools.gui_snapper.Snapper::snapToExtensions(), draftguitools.gui_snapper.Snapper::snapToGrid(), draftguitools.gui_snapper.Snapper::snapToHold(), draftguitools.gui_snapper.Snapper::snapToObject(), draftguitools.gui_snapper.Snapper::snapToPolar(), DraftGui.DraftToolBar::taskUi(), PathScripts.PathDressupAxisMap.TaskPanel::updateUI(), DraftGui.DraftToolBar::validatePoint(), automotive_design.right_circular_cone::wr1(), automotive_design.conical_surface::wr1(), config_control_design.conical_surface::wr1(), automotive_design.swept_disk_solid::wr2(), and ifc2x3.ifcsweptdisksolid::wr2().

◆ SecondPoint

Base::Vector2d DrawSketchHandler3PointArc::SecondPoint
protected

Referenced by mouseMove(), and pressButton().

◆ startAngle

double DrawSketchHandler3PointArc::startAngle
protected

Referenced by mouseMove(), and releaseButton().

◆ sugConstr1

std::vector<AutoConstraint> DrawSketchHandler3PointArc::sugConstr1
protected

Referenced by mouseMove(), and releaseButton().

◆ sugConstr2

std::vector<AutoConstraint> DrawSketchHandler3PointArc::sugConstr2
protected

Referenced by mouseMove(), and releaseButton().

◆ sugConstr3

std::vector<AutoConstraint> DrawSketchHandler3PointArc::sugConstr3
protected

Referenced by mouseMove(), and releaseButton().


The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp