draftguitools.gui_trackers.ghostTracker Class Reference

Public Member Functions

def center (self, point)
 
def getMatrix (self)
 
def getNode (self, obj)
 
def getNodeFull (self, obj)
 
def getNodeLight (self, shape)
 
def move (self, delta)
 
def remove (self)
 
def rotate (self, axis, angle)
 
def scale (self, delta)
 
def setMatrix (self, matrix)
 
- 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

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

Detailed Description

A Ghost tracker, that allows to copy whole object representations.

You can pass it an object or a list of objects, or a shape.

Member Function Documentation

◆ center()

def draftguitools.gui_trackers.ghostTracker.center (   self,
  point 
)
Set the rotation/scale center of the ghost.

References draftguitools.gui_trackers.bsplineTracker.trans, draftguitools.gui_trackers.bezcurveTracker.trans, draftguitools.gui_trackers.arcTracker.trans, draftguitools.gui_trackers.ghostTracker.trans, draftguitools.gui_trackers.PlaneTracker.trans, draftguitools.gui_trackers.gridTracker.trans, draftguitools.gui_trackers.boxTracker.trans, draftguitools.gui_trackers.radiusTracker.trans, and draftviewproviders.view_text.ViewProviderText.trans.

Referenced by drafttaskpanels.task_circulararray.TaskPanelCircularArray.accept(), drafttaskpanels.task_polararray.TaskPanelPolarArray.accept(), draftguitools.gui_arcs.Arc.action(), draftguitools.gui_dimensions.Dimension.action(), draftguitools.gui_offset.Offset.action(), draftguitools.gui_polygons.Polygon.action(), draftguitools.gui_rotate.Rotate.build_copy_subelements_command(), draftguitools.gui_scale.Scale.build_copy_subelements_command(), draftguitools.gui_rotate.Rotate.build_rotate_subelements_command(), draftguitools.gui_scale.Scale.build_scale_subelements_command(), draftguitools.gui_dimensions.Dimension.create_angle_dimension(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.create_object(), drafttaskpanels.task_polararray.TaskPanelPolarArray.create_object(), draftguitools.gui_arcs.Arc.drawArc(), draftguitools.gui_polygons.Polygon.drawPolygon(), PathScripts.PathDressupAxisMap.ObjectDressup.execute(), draftguitools.gui_rotate.Rotate.handle_mouse_move_event(), draftguitools.gui_arcs.Arc.numericInput(), draftguitools.gui_polygons.Polygon.numericInput(), draftguitools.gui_rotate.Rotate.numericInput(), draftguitools.gui_arcs.Arc.numericRadius(), draftguitools.gui_polygons.Polygon.numericRadius(), PathScripts.PathDressupAxisMap.ObjectDressup.onChanged(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.print_messages(), drafttaskpanels.task_polararray.TaskPanelPolarArray.print_messages(), drafttaskpanels.task_circulararray.TaskPanelCircularArray.reset_point(), drafttaskpanels.task_polararray.TaskPanelPolarArray.reset_point(), draftguitools.gui_rotate.Rotate.rotate_object(), draftguitools.gui_scale.Scale.scale_object(), draftguitools.gui_rotate.Rotate.set_center(), draftguitools.gui_rotate.Rotate.set_ghosts(), and draftguitools.gui_rotate.Rotate.set_rotation_angle().

◆ getMatrix()

◆ getNode()

def draftguitools.gui_trackers.ghostTracker.getNode (   self,
  obj 
)

◆ getNodeFull()

def draftguitools.gui_trackers.ghostTracker.getNodeFull (   self,
  obj 
)
Get a coin node which is a copy of the current representation.

Referenced by draftguitools.gui_trackers.ghostTracker.getNode().

◆ getNodeLight()

def draftguitools.gui_trackers.ghostTracker.getNodeLight (   self,
  shape 
)
Extract a lighter version directly from a shape.

Referenced by draftguitools.gui_trackers.ghostTracker.getNode().

◆ move()

◆ remove()

◆ rotate()

◆ scale()

◆ setMatrix()

Member Data Documentation

◆ children

draftguitools.gui_trackers.ghostTracker.children

◆ coords

◆ marker

draftguitools.gui_trackers.ghostTracker.marker

◆ trans


The documentation for this class was generated from the following file: