DrawSketchHandlerArcOfEllipse Class Reference

Public Types

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

Public Member Functions

virtual void activated (ViewProviderSketch *)
 
 DrawSketchHandlerArcOfEllipse ()
 
virtual void mouseMove (Base::Vector2d onSketchPos)
 
virtual bool pressButton (Base::Vector2d onSketchPos)
 
virtual bool releaseButton (Base::Vector2d onSketchPos)
 
virtual ~DrawSketchHandlerArcOfEllipse ()
 
- 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
 
double arcAngle_t
 
Base::Vector2d axisPoint
 
Base::Vector2d centerPoint
 
std::vector< Base::Vector2dEditCurve
 
double endAngle
 
Base::Vector2d endPoint
 
SelectMode Mode
 
double rx
 
double ry
 
double startAngle
 
Base::Vector2d startingPoint
 
std::vector< AutoConstraintsugConstr1
 
std::vector< AutoConstraintsugConstr2
 
std::vector< AutoConstraintsugConstr3
 
std::vector< AutoConstraintsugConstr4
 
- 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_SEEK_Fourth 

enum value -—.

STATUS_Close 

Constructor & Destructor Documentation

◆ DrawSketchHandlerArcOfEllipse()

DrawSketchHandlerArcOfEllipse::DrawSketchHandlerArcOfEllipse ( )

◆ ~DrawSketchHandlerArcOfEllipse()

virtual DrawSketchHandlerArcOfEllipse::~DrawSketchHandlerArcOfEllipse ( )
virtual

Member Function Documentation

◆ activated()

virtual void DrawSketchHandlerArcOfEllipse::activated ( ViewProviderSketch )
virtual

◆ mouseMove()

◆ pressButton()

◆ releaseButton()

Member Data Documentation

◆ arcAngle

double DrawSketchHandlerArcOfEllipse::arcAngle
protected

◆ arcAngle_t

double DrawSketchHandlerArcOfEllipse::arcAngle_t
protected

Referenced by pressButton().

◆ axisPoint

Base::Vector2d DrawSketchHandlerArcOfEllipse::axisPoint
protected

◆ centerPoint

Base::Vector2d DrawSketchHandlerArcOfEllipse::centerPoint
protected

◆ EditCurve

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

◆ endAngle

double DrawSketchHandlerArcOfEllipse::endAngle
protected

Referenced by releaseButton().

◆ endPoint

Base::Vector2d DrawSketchHandlerArcOfEllipse::endPoint
protected

Referenced by pressButton(), and releaseButton().

◆ Mode

SelectMode DrawSketchHandlerArcOfEllipse::Mode
protected

◆ rx

double DrawSketchHandlerArcOfEllipse::rx
protected

◆ ry

double DrawSketchHandlerArcOfEllipse::ry
protected

◆ startAngle

double DrawSketchHandlerArcOfEllipse::startAngle
protected

Referenced by mouseMove(), and releaseButton().

◆ startingPoint

Base::Vector2d DrawSketchHandlerArcOfEllipse::startingPoint
protected

◆ sugConstr1

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

Referenced by mouseMove(), and releaseButton().

◆ sugConstr2

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

Referenced by mouseMove(), and releaseButton().

◆ sugConstr3

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

Referenced by mouseMove(), and releaseButton().

◆ sugConstr4

std::vector<AutoConstraint> DrawSketchHandlerArcOfEllipse::sugConstr4
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