DrawSketchHandlerRectangularArray Class Reference

Public Types

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

Public Member Functions

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 ()
 

Protected Attributes

bool Clone
 
int Cols
 
bool ConstraintSeparation
 
std::vector< Base::Vector2dEditCurve
 
bool EqualVerticalHorizontalSpacing
 
string geoIdList
 
SelectMode Mode
 
int nElements
 
Base::Vector3d Origin
 
int OriginGeoId
 
Sketcher::PointPos OriginPos
 
int Rows
 
std::vector< AutoConstraintsugConstr1
 
- Protected Attributes inherited from SketcherGui::DrawSketchHandler
QCursor actCursor
 
QCursor oldCursor
 
ViewProviderSketchsketchgui
 

Additional Inherited Members

- Protected Member Functions inherited from SketcherGui::DrawSketchHandler
void applyCursor (QCursor &newCursor)
 
void applyCursor (void)
 
void setCrosshairColor ()
 
void setCursor (const QPixmap &p, int x, int y)
 
void unsetCursor (void)
 

Member Enumeration Documentation

◆ SelectMode

mode table

Enumerator
STATUS_SEEK_First 

enum value -—.

STATUS_End 

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ activated()

◆ mouseMove()

◆ pressButton()

virtual bool DrawSketchHandlerRectangularArray::pressButton ( Base::Vector2d  onSketchPos)
virtual

◆ releaseButton()

Member Data Documentation

◆ Clone

bool DrawSketchHandlerRectangularArray::Clone
protected

Referenced by releaseButton().

◆ Cols

int DrawSketchHandlerRectangularArray::Cols
protected

Referenced by releaseButton().

◆ ConstraintSeparation

bool DrawSketchHandlerRectangularArray::ConstraintSeparation
protected

Referenced by releaseButton().

◆ EditCurve

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

◆ EqualVerticalHorizontalSpacing

bool DrawSketchHandlerRectangularArray::EqualVerticalHorizontalSpacing
protected

Referenced by releaseButton().

◆ geoIdList

string DrawSketchHandlerRectangularArray::geoIdList
protected

Referenced by releaseButton().

◆ Mode

SelectMode DrawSketchHandlerRectangularArray::Mode
protected

◆ nElements

int DrawSketchHandlerRectangularArray::nElements
protected

Referenced by releaseButton().

◆ Origin

Base::Vector3d DrawSketchHandlerRectangularArray::Origin
protected

Referenced by activated().

◆ OriginGeoId

int DrawSketchHandlerRectangularArray::OriginGeoId
protected

Referenced by activated(), and releaseButton().

◆ OriginPos

Sketcher::PointPos DrawSketchHandlerRectangularArray::OriginPos
protected

Referenced by activated(), and releaseButton().

◆ Rows

int DrawSketchHandlerRectangularArray::Rows
protected

Referenced by releaseButton().

◆ sugConstr1

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

Referenced by mouseMove(), and releaseButton().


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