コード例 #1
0
 def register_tools(self):
     ImageDialog.register_tools(self)
     self.add_tool(SegmentTool, handle_final_shape_cb=self.draw_seg)
     self.DrawPoint = PointTool
     self.add_tool(self.DrawPoint, handle_final_shape_cb=self.draw_point)
     self.add_tool(RectangleTool, handle_final_shape_cb=self.draw_rect)
コード例 #2
0
 def register_tools(self):
     ImageDialog.register_tools(self)
     self.add_tool(SegmentTool, handle_final_shape_cb=self.draw_seg)
     self.DrawPoint = PointTool
     self.add_tool(self.DrawPoint, handle_final_shape_cb=self.draw_point)
     self.add_tool(RectangleTool, handle_final_shape_cb=self.draw_rect)
コード例 #3
0
 def register_tools(self):
     ImageDialog.register_tools(self)
     self.add_tool(PointTool, handle_final_shape_cb=self.draw_point)
コード例 #4
0
 def register_tools(self):
     ImageDialog.register_tools(self)
     self.add_tool(PointTool, handle_final_shape_cb=self.draw_point)