cogrecon.misc package¶
Submodules¶
cogrecon.misc.draggable_points module¶
-
class
cogrecon.misc.draggable_points.DraggablePoint(point, move_callback=None)[source]¶ This class is used to managed points which can be dragged around a grid for debugging purposes.
This class is mot current used in typical analysis or visualized.
-
connect(move_callback=None)[source]¶ This function is used to connect a movement callback function which can be used for redrawing based on updated draggable point locations.
Parameters: move_callback – the callback to fire whenever a movement is completed (i.e. when on_release fires)
-
lock= None¶
-
on_motion(event)[source]¶ When the draggable object is moved around, this function fires.
Parameters: event – the event object associated with the object movement Returns: None
-
-
cogrecon.misc.draggable_points.test_draggable_points()[source]¶ This function allows quick, easy testing of the DraggablePoints class for the purpose of manually dragging points around for debugging purposes for the algorithms in this package.
This module is mot current used in typical analysis or visualized.