OSDN Git Service

[tag]NyARToolkit/2.5.1
[nyartoolkit-and/nyartoolkit-and.git] / tags / 2.5.1 / src / jp / nyatla / nyartoolkit / core / labeling / rlelabeling / NyARRleLabelFragmentInfoStack.java
1 /* \r
2  * PROJECT: NyARToolkit(Extension)\r
3  * --------------------------------------------------------------------------------\r
4  * The NyARToolkit is Java edition ARToolKit class library.\r
5  * Copyright (C)2008-2009 Ryo Iizuka\r
6  *\r
7  * This program is free software: you can redistribute it and/or modify\r
8  * it under the terms of the GNU General Public License as published by\r
9  * the Free Software Foundation, either version 3 of the License, or\r
10  * (at your option) any later version.\r
11  * \r
12  * This program is distributed in the hope that it will be useful,\r
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
15  * GNU General Public License for more details.\r
16  *\r
17  * You should have received a copy of the GNU General Public License\r
18  * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
19  * \r
20  * For further information please contact.\r
21  *      http://nyatla.jp/nyatoolkit/\r
22  *      <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
23  * \r
24  */\r
25 package jp.nyatla.nyartoolkit.core.labeling.rlelabeling;\r
26 \r
27 \r
28 import jp.nyatla.nyartoolkit.NyARException;\r
29 import jp.nyatla.nyartoolkit.core.labeling.NyARLabelInfo;\r
30 import jp.nyatla.nyartoolkit.core.labeling.NyARLabelInfoStack;\r
31 \r
32 \r
33 public class NyARRleLabelFragmentInfoStack  extends NyARLabelInfoStack<NyARRleLabelFragmentInfoStack.RleLabelFragmentInfo>\r
34 {\r
35         public class RleLabelFragmentInfo extends NyARLabelInfo\r
36         {\r
37                 //継承メンバ\r
38                 //int area; // フラグメントラベルの領域数\r
39                 public int entry_x; // フラグメントラベルの位置\r
40         }       \r
41         public NyARRleLabelFragmentInfoStack(int i_length) throws NyARException\r
42         {\r
43                 super(i_length, NyARRleLabelFragmentInfoStack.RleLabelFragmentInfo.class);\r
44                 return;\r
45         }\r
46 \r
47         protected NyARRleLabelFragmentInfoStack.RleLabelFragmentInfo createElement()\r
48         {\r
49                 return new NyARRleLabelFragmentInfoStack.RleLabelFragmentInfo();\r
50         }\r
51 }