MCPcopy Create free account
hub / github.com/Profactor/cv-plot / update

Method update

CvPlot/inc/CvPlot/gui/Window.h:70–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70inline
71void Window::update() {
72 if(!valid()){
73 return;
74 }
75 auto rect = cv::getWindowImageRect(_windowName);
76 _mouseAdapter.getAxes().render(_mat, rect.size());
77 if (!_mat.empty()) {
78 cv::imshow(_windowName, _mat);
79 }
80}
81
82inline
83void Window::setMouseEventHandler(MouseEventHandler mouseEventHandler) {

Callers 3

examples_core.cppFile · 0.80
examples_gui.cppFile · 0.80
setMouseCallbackMethod · 0.80

Calls 3

sizeMethod · 0.80
renderMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected