Now building all functions (not classes) in core, imgproc, ml and highgui

This commit is contained in:
hbristow
2013-06-27 11:45:19 -07:00
parent bb56ac4ae6
commit 5bc55a042e
4 changed files with 11 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ typedef std::vector<cv::Mat> vector_Mat;
typedef std::vector<cv::Point> vector_Point;
typedef std::vector<int> vector_int;
typedef std::vector<float> vector_float;
typedef std::vector<unsigned char> vector_uchar;
void conditionalError(bool expr, const std::string& str) {
@@ -178,6 +179,11 @@ public:
vector_Point toVectorPoint() { return vector_Point(); }
operator vector_Point() { return toVectorPoint(); }
// ------------------------ vector_uchar -------------------------------------
Bridge& operator=(const vector_uchar& obj) { return *this; }
vector_uchar toVectorUchar() { return vector_uchar(); }
operator vector_uchar() { return toVectorUchar(); }
// -------------------------- Scalar --------------------------------------
Bridge& operator=(const cv::Scalar& obj) { return *this; }
cv::Scalar toScalar() { return cv::Scalar(); }