Public Member Functions

virtual void activated (ViewProviderSketch *)
 
 DrawSketchHandlerGenConstraint (const char *cursor[], CmdSketcherConstraint *_cmd)
 
virtual void mouseMove (Base::Vector2d)
 
virtual bool pressButton (Base::Vector2d)
 
virtual bool releaseButton (Base::Vector2d onSketchPos)
 
virtual ~DrawSketchHandlerGenConstraint ()
 
- 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 Member Functions

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

Protected Attributes

unsigned int allowedSelTypes = 0
 
CmdSketcherConstraintcmd
 
const char ** constraintCursor
 
std::set< int > ongoingSequences
 indices of currently ongoing sequences in cmd->allowedSequences More...
 
GenericConstraintSelectionselFilterGate = nullptr
 
std::vector< SelIdPairselSeq
 
unsigned int seqIndex
 Index within the selection sequences active. More...
 
- Protected Attributes inherited from SketcherGui::DrawSketchHandler
QCursor actCursor
 
QCursor oldCursor
 
ViewProviderSketchsketchgui
 

Constructor & Destructor Documentation

◆ DrawSketchHandlerGenConstraint()

DrawSketchHandlerGenConstraint::DrawSketchHandlerGenConstraint ( const char *  cursor[],
CmdSketcherConstraint _cmd 
)

◆ ~DrawSketchHandlerGenConstraint()

virtual DrawSketchHandlerGenConstraint::~DrawSketchHandlerGenConstraint ( )
virtual

Member Function Documentation

◆ activated()

◆ mouseMove()

virtual void DrawSketchHandlerGenConstraint::mouseMove ( Base::Vector2d  )
virtual

◆ pressButton()

virtual bool DrawSketchHandlerGenConstraint::pressButton ( Base::Vector2d  )
virtual

◆ releaseButton()

◆ resetOngoingSequences()

Member Data Documentation

◆ allowedSelTypes

unsigned int DrawSketchHandlerGenConstraint::allowedSelTypes = 0
protected

◆ cmd

CmdSketcherConstraint* DrawSketchHandlerGenConstraint::cmd
protected

◆ constraintCursor

const char** DrawSketchHandlerGenConstraint::constraintCursor
protected

◆ ongoingSequences

std::set<int> DrawSketchHandlerGenConstraint::ongoingSequences
protected

indices of currently ongoing sequences in cmd->allowedSequences

◆ selFilterGate

GenericConstraintSelection* DrawSketchHandlerGenConstraint::selFilterGate = nullptr
protected

◆ selSeq

std::vector<SelIdPair> DrawSketchHandlerGenConstraint::selSeq
protected

◆ seqIndex

unsigned int DrawSketchHandlerGenConstraint::seqIndex
protected

Index within the selection sequences active.


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