import jp.nyatla.nyartoolkit.NyARException;\r
import jp.nyatla.nyartoolkit.core.raster.NyARBinRaster;\r
\r
-public interface INyARSquareDetector\r
+public interface INyARSquareContourDetector\r
{\r
- public void detectMarker(NyARBinRaster i_raster, NyARSquareStack o_square_stack) throws NyARException;\r
+ public interface DetectMarkerCallback\r
+ {\r
+ public void onSquareDetect(INyARSquareContourDetector i_sender,int[] i_coordx,int[] i_coordy,int i_coor_num,int[] i_vertex_index) throws NyARException;\r
+ }\r
+ /**\r
+ *\r
+ * @param i_raster\r
+ * @param o_square_stack\r
+ * @throws NyARException\r
+ */\r
+ public void detectMarkerCB(NyARBinRaster i_raster, DetectMarkerCallback i_callback) throws NyARException;\r
}\r
+\r