root/as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/detector/FLARDetectMarkerResultStack.as

リビジョン 3786, 1.7 kB (コミッタ: rokubou, コミット時期: 2 年 前)

クラス名の変更、コメント修正

Line 
1 /*
2  * PROJECT: FLARToolKit
3  * --------------------------------------------------------------------------------
4  * This work is based on the NyARToolKit developed by
5  *   R.Iizuka (nyatla)
6  * http://nyatla.jp/nyatoolkit/
7  *
8  * The FLARToolKit is ActionScript 3.0 version ARToolkit class library.
9  * Copyright (C)2008 Saqoosha
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23  *
24  * For further information please contact.
25  *      http://www.libspark.org/wiki/saqoosha/FLARToolKit
26  *      <saq(at)saqoosha.net>
27  *
28  */
29 package org.libspark.flartoolkit.detector
30 {
31         import jp.nyatla.nyartoolkit.as3.core.types.stack.NyARObjectStack;
32
33         internal class FLARDetectMarkerResultStack extends NyARObjectStack
34         {
35                 public function FLARDetectMarkerResultStack(i_length:int)
36                 {
37                         super(i_length);
38                 }
39                 protected override function createArray(i_length:int):Vector.<Object>
40                 {
41                         var ret:Vector.<FLARDetectMarkerResult>= new Vector.<FLARDetectMarkerResult>(i_length);
42                         for (var i:int =0; i < i_length; i++){
43                                 ret[i] = new FLARDetectMarkerResult();
44                         }
45                         return Vector.<Object>(ret);
46                 }       
47         }
48 }
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。