From 8ef221c853850bfa0ded97192a6894f8e4d942db Mon Sep 17 00:00:00 2001 From: Antoine Villeret Date: Tue, 15 Jan 2013 14:29:08 +0000 Subject: add writing to tables methods contours could be huge and may lead to stack overflow with the list iteratiion drawing function using tables and gemvertexbuffer also improve performances svn path=/trunk/externals/pix_opencv/; revision=16868 --- pix_opencv_contours.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pix_opencv_contours.h') diff --git a/pix_opencv_contours.h b/pix_opencv_contours.h index fb1ebe1..b546aca 100644 --- a/pix_opencv_contours.h +++ b/pix_opencv_contours.h @@ -65,6 +65,8 @@ class GEM_EXTERN pix_opencv_contours : public GemPixObj void convexhullsMess(double arg); void convexitydefectsMess(double arg); void hierarchyMess(double arg); + void taboutputMess(float arg); + void tableMess(t_symbol*x, t_symbol*y, t_symbol*z); private: @@ -76,7 +78,9 @@ class GEM_EXTERN pix_opencv_contours : public GemPixObj double m_area_threshold; // min area for contour double m_epsilon; - int m_enable_contours, m_enable_hulls, m_enable_defects, m_hierarchy_level, m_mode; + int m_enable_contours, m_enable_hulls, m_enable_defects, m_hierarchy_level, m_mode, m_taboutput; + + t_symbol *m_x_arrayname, *m_y_arrayname, *m_z_arrayname; }; #endif // for header file -- cgit v1.2.1