mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
41 lines
860 B
C
41 lines
860 B
C
/************************************************************
|
|
|
|
cvcontourtree.h -
|
|
|
|
$Author: lsxi $
|
|
|
|
Copyright (C) 2007 Masakazu Yonekura
|
|
|
|
************************************************************/
|
|
#ifndef RUBY_OPENCV_CVCONTOURTREE_H
|
|
#define RUBY_OPENCV_CVCONTOURTREE_H
|
|
#include "opencv.h"
|
|
|
|
#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);
|
|
VALUE rb_contour(int argc, VALUE *argv, VALUE self);
|
|
|
|
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
|