draftguitools.gui_trackers.snapTracker Class Reference

Public Member Functions

def addCoords (self, point)
 
def clear (self)
 
def setCoords (self, point)
 
def setMarker (self, style)
 
- Public Member Functions inherited from draftguitools.gui_trackers.Tracker
def finalize (self)
 
def lowerTracker (self)
 
def off (self)
 
def on (self)
 
def raiseTracker (self)
 

Public Attributes

 coords
 
 marker
 
- Public Attributes inherited from draftguitools.gui_trackers.Tracker
 ontop
 
 switch
 
 Visible
 

Detailed Description

Define Snap Mark tracker, used by tools that support snapping.

Member Function Documentation

◆ addCoords()

def draftguitools.gui_trackers.snapTracker.addCoords (   self,
  point 
)
Add the point to the current point.

References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, and ArchPanel.ViewProviderPanelSheet.coords.

◆ clear()

def draftguitools.gui_trackers.snapTracker.clear (   self)
Delete the values of the point.

References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, and ArchPanel.ViewProviderPanelSheet.coords.

◆ setCoords()

def draftguitools.gui_trackers.snapTracker.setCoords (   self,
  point 
)
Set the coordinates to the point.

References Gui::SoFCColorLegend.coords, Gui::SoFCColorGradient.coords, draftguitools.gui_trackers.snapTracker.coords, ArchEquipment._ViewProviderEquipment.coords, ArchSpace._ViewProviderSpace.coords, ArchSite._ViewProviderSite.coords, ArchStructure._ViewProviderStructure.coords, ArchPanel.ViewProviderPanelCut.coords, and ArchPanel.ViewProviderPanelSheet.coords.

◆ setMarker()

def draftguitools.gui_trackers.snapTracker.setMarker (   self,
  style 
)
Set the marker index.

References draftguitools.gui_trackers.snapTracker.marker.

Member Data Documentation

◆ coords

◆ marker

draftguitools.gui_trackers.snapTracker.marker

The documentation for this class was generated from the following file:
  • src/Mod/Draft/draftguitools/gui_trackers.py