- 博客(2)
- 收藏
- 关注
原创 opencv系列学习一 Rect
opencv常用函数学习一矩形Rectvoid main(){ cv::Rect r(3, 2, 5, 5); std::cout << r.br() << std::endl; std::cout << r.contains(cv::Point_<int>(5,5)) << std::endl; std::cout << r.tl() << std::endl;
2017-01-17 10:54:09 481
转载 欢迎使用CSDN-markdown编辑器
c++ 系列学习一C++ Virtual在类中的作用Virtual是C++ OO机制中很重要的一个关键字。在类中作用是实现虚拟接口。 class animal{public:animal(){}public: virtual void move()=0; //虚拟接口,不可实现。 virtual void run(){}; //虚拟函数,可实现,可不实现。}
2017-01-17 10:38:00 169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人