onclick_measure
¶
Module Contents¶
Classes¶
-
class
_LineItem
(point1, point2)¶ Bases:
optimeed.visualize.graphs.pyqtgraph.GraphicsObject
Bases:
GraphicsItem
,QtWidgets.QGraphicsObject
Extension of QGraphicsObject with some useful methods (provided by
GraphicsItem
)-
paint
(p, *args)¶
-
boundingRect
()¶
-
-
class
Onclick_measure
¶ Bases:
optimeed.visualize.onclick.onclickInterface.OnclickInterface
On Click: Measure distance. Click on two points to perform that action
-
graph_clicked
(the_graph_visual, index_graph, index_trace, indices_points)¶ Action to perform when a graph is clicked
Parameters: - theGraphsVisual – class widget_graphs_visual that has called the method
- index_graph – Index of the graph that has been clicked
- index_trace – Index of the trace that has been clicked
- indices_points – graph Indices of the points that have been clicked
Returns:
-
reset_distance
()¶
-
display_distance
()¶
-
get_name
()¶
-