| 188 | return false; |
| 189 | } |
| 190 | bool hitTest(const MouseEvent &mouseEvent) { |
| 191 | return getRect(mouseEvent.projection()).contains(mouseEvent.innerPoint()); |
| 192 | } |
| 193 | bool mouseEvent(const MouseEvent &mouseEvent) { |
| 194 | if (mouseEvent.event() == cv::MouseEventTypes::EVENT_LBUTTONDOWN |
| 195 | && hitTest(mouseEvent)){ |
nothing calls this directly
no test coverage detected