1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00
ruby-opencv/ext/opencv/cvcontourtree.h

42 lines
854 B
C
Raw Normal View History

/************************************************************
cvcontourtree.h -
$Author: lsxi $
Copyright (C) 2007 Masakazu Yonekura
************************************************************/
#ifndef RUBY_OPENCV_CVCONTOURTREE_H
#define RUBY_OPENCV_CVCONTOURTREE_H
#include "opencv.h"
2011-07-30 11:37:45 -04:00
#define __NAMESPACE_BEGIN_CVCONTOURTREE namespace cCvContourTree {
#define __NAMESPACE_END_CVCONTOURTREE }
__NAMESPACE_BEGIN_OPENCV
__NAMESPACE_BEGIN_CVCONTOURTREE
VALUE rb_class();
void define_ruby_class();
VALUE rb_p1(VALUE self);
VALUE rb_p2(VALUE self);
2011-07-30 11:37:45 -04:00
VALUE rb_contour(VALUE self, VALUE criteria);
VALUE new_object();
__NAMESPACE_END_CVCONTOURTREE
inline CvContourTree*
CVCONTOURTREE(VALUE object){
CvContourTree *ptr;
Data_Get_Struct(object, CvContourTree, ptr);
return ptr;
}
__NAMESPACE_END_OPENCV
#endif // RUBY_OPENCV_CVCONTOUR_H