OSDN Git Service

c11fbadd67d1d8728c7586ea983ff1a9e53a6daf
[nyartoolkit-and/nyartoolkit-and.git] / trunk / src / jp / nyatla / nyartoolkit / core / labeling / rlelabeling / RleLabelFragmentInfoStack.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.core.labeling.NyARLabelInfo;\r
29 import jp.nyatla.nyartoolkit.core.labeling.NyARLabelInfoStack;\r
30 \r
31 \r
32 public class RleLabelFragmentInfoStack  extends NyARLabelInfoStack<RleLabelFragmentInfoStack.RleLabelFragmentInfo>\r
33 {\r
34         public class RleLabelFragmentInfo extends NyARLabelInfo\r
35         {\r
36                 //継承メンバ\r
37                 //int area; // フラグメントラベルの領域数\r
38                 public int entry_x; // フラグメントラベルの位置\r
39         }       \r
40         public RleLabelFragmentInfoStack(int i_length)\r
41         {\r
42                 super(i_length, RleLabelFragmentInfoStack.RleLabelFragmentInfo.class);\r
43                 return;\r
44         }\r
45 \r
46         protected RleLabelFragmentInfoStack.RleLabelFragmentInfo createElement()\r
47         {\r
48                 return new RleLabelFragmentInfoStack.RleLabelFragmentInfo();\r
49         }\r
50 }