wrap_Camera.cpp
Go to the documentation of this file.
00001 #include <pano_py/pano_py.h>
00002 #include <pano_core/pano_core.h>
00003 #include <pano_py/opencv.h>
00004 
00005 using namespace pano;
00006 using namespace cv;
00007 
00008 namespace pano_py{
00009 
00010 namespace{
00011 void  (Camera::*sciFile)(const std::string&) = &Camera::setCameraIntrinsics;
00012 void  (Camera::*sciMat)(const cv::Mat&, const cv::Mat&, const cv::Size&) = &Camera::setCameraIntrinsics;
00013 }
00014 
00015 void wrap_Camera(){
00016          bp::class_<Camera>("Camera")
00017               .def("setCameraIntrinsics",sciFile)
00018               .def("setCameraIntrinsics",sciMat)
00019               .def("write",&Camera::write)
00020               ;
00021 }
00022 
00023 }


pano_py
Author(s): Ethan Rublee
autogenerated on Wed Aug 26 2015 16:34:19