チェンジセット 2938
- コミット日時:
- 2009/08/03 11:58:08 (3 年前)
- ファイル:
-
- as3/FLARToolKit/branches/alchemy/README.txt (追加)
- as3/FLARToolKit/branches/alchemy/bin/FLARToolKit.swc (更新) (変更前)
- as3/FLARToolKit/branches/alchemy/lib (追加)
- as3/FLARToolKit/branches/alchemy/lib/nyartoolkit.swc (追加)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARCode.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARDoubleMatrix34.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARIntSize.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARParam.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARPerspectiveProjectionMatrix.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARRgbRaster_BGRA.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARRgbRaster_XRGB32.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARSingleDetectMarker.as (更新) (2 diffs)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARToolkitAS3.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARTransMatResult.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyIdMarkerDataEncoder_RawBit.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/SingleNyIdMarkerProcesser.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/starter-kit/ARAppBase.as (更新) (1 diff)
- as3/FLARToolKit/branches/alchemy/starter-kit/Earth.swc (更新) (変更前)
- as3/FLARToolKit/branches/alchemy/starter-kit/Earth.swf (更新) (変更前)
- as3/FLARToolKit/branches/alchemy/starter-kit/SimpleCube.swc (更新) (変更前)
- as3/FLARToolKit/branches/alchemy/starter-kit/SimpleCube.swf (更新) (変更前)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARCode.as
r2933 r2938 68 68 public static function createInstance(i_width:int,i_height:int):NyARCode 69 69 { 70 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);71 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);70 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 71 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 72 72 var inst:NyARCode=new NyARCode(); 73 73 inst.setAlchemyObject( 74 NyARToolkitAS3. cmodule.NyARCode_createInstance(74 NyARToolkitAS3._cmodule.NyARCode_createInstance( 75 75 i_width,i_height),true 76 76 ); as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARDoubleMatrix34.as
r2933 r2938 67 67 public static function createInstance():NyARDoubleMatrix34 68 68 { 69 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);69 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 70 70 var inst:NyARDoubleMatrix34=new NyARDoubleMatrix34(); 71 71 inst.attachAlchemyObject( 72 NyARToolkitAS3. cmodule.NyARDoubleMatrix34_createInstance()72 NyARToolkitAS3._cmodule.NyARDoubleMatrix34_createInstance() 73 73 ); 74 74 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARIntSize.as
r2933 r2938 70 70 public static function createInstance():NyARIntSize 71 71 { 72 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);72 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 73 73 var inst:NyARIntSize=new NyARIntSize(); 74 74 inst.attachAlchemyObject( 75 NyARToolkitAS3. cmodule.NyARIntSize_createInstance()75 NyARToolkitAS3._cmodule.NyARIntSize_createInstance() 76 76 ); 77 77 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARParam.as
r2933 r2938 70 70 public static function createInstance():NyARParam 71 71 { 72 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);72 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 73 73 var inst:NyARParam=new NyARParam(); 74 74 inst.attachAlchemyObject( 75 NyARToolkitAS3. cmodule.NyARParam_createInstance()75 NyARToolkitAS3._cmodule.NyARParam_createInstance() 76 76 ); 77 77 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARPerspectiveProjectionMatrix.as
r2933 r2938 68 68 public static function createInstance():NyARPerspectiveProjectionMatrix 69 69 { 70 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);70 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 71 71 var inst:NyARPerspectiveProjectionMatrix=new NyARPerspectiveProjectionMatrix(); 72 inst.attachAlchemyObject(NyARToolkitAS3. cmodule.NyARPerspectiveProjectionMatrix_createInstance());72 inst.attachAlchemyObject(NyARToolkitAS3._cmodule.NyARPerspectiveProjectionMatrix_createInstance()); 73 73 return inst; 74 74 } as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARRgbRaster_BGRA.as
r2933 r2938 61 61 public static function createInstance(i_width:int,i_height:int):NyARRgbRaster_BGRA 62 62 { 63 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);63 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 64 64 var inst:NyARRgbRaster_BGRA=new NyARRgbRaster_BGRA(); 65 65 inst.attachAlchemyObject( 66 NyARToolkitAS3. cmodule.NyARRgbRaster_BGRA_createInstance(i_width,i_height)66 NyARToolkitAS3._cmodule.NyARRgbRaster_BGRA_createInstance(i_width,i_height) 67 67 ); 68 68 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARRgbRaster_XRGB32.as
r2933 r2938 61 61 public static function createInstance(i_width:int,i_height:int):NyARRgbRaster_XRGB32 62 62 { 63 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);63 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 64 64 var inst:NyARRgbRaster_XRGB32=new NyARRgbRaster_XRGB32(); 65 65 inst.attachAlchemyObject( 66 NyARToolkitAS3. cmodule.NyARRgbRaster_XRGB32_createInstance(i_width,i_height)66 NyARToolkitAS3._cmodule.NyARRgbRaster_XRGB32_createInstance(i_width,i_height) 67 67 ); 68 68 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARSingleDetectMarker.as
r2933 r2938 59 59 throw new Error(); 60 60 } 61 /* 62 public static function createInstance(i_param:NyARParam,i_code:NyARCode,i_width:Number, i_raster_type:int):NyARSingleDetectMarker 63 { 64 NyAS3Utils.assert(NyARToolkitAS3.cmodule!=null); 65 var inst:NyARSingleDetectMarker=new NyARSingleDetectMarker(); 66 inst.attachAlchemyObject( 67 NyARToolkitAS3.cmodule.NyARSingleDetectMarker_createInstance(i_param._alchemy_ptr,i_code._alchemy_ptr,i_width,i_raster_type) 68 ); 69 return inst; 70 }*/ 61 71 62 public function detectMarkerLite(i_raster:NyARRgbRaster,i_threshold:int):Boolean 72 63 { … … 86 77 return; 87 78 } 79 public function setContinueMode(i_is_continue:Boolean):void 80 { 81 this._alchemy_stub.setContinueMode(this._alchemy_ptr,i_is_continue?1:0); 82 return; 83 } 88 84 } 89 85 } as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARToolkitAS3.as
r2933 r2938 33 33 public static const BASECLASS:CONST_BASECLASS=new CONST_BASECLASS(); 34 34 35 public static const cmodule:Object=(new CLibInit()).init(); 36 // public static function initialize():void 37 // { 38 // trace('initialize'); 39 // if(NyARToolkitAS3.cmodule!=null) 40 // { 41 // return; 42 // } 43 // NyARToolkitAS3.cmodule=(new CLibInit()).init(); 44 // } 45 // public static function finalize():void 46 // { 47 // //no work! 48 // } 35 public static const cmodule:Object=(new CLibInit()).init(); 36 /*初期化タイミングの調整が必要な場合は、こちらを使ってください。 37 public static var cmodule:Object=null; 38 public static function initialize():void 39 { 40 if(NyARToolkitAS3.cmodule!=null) 41 { 42 return; 43 } 44 NyARToolkitAS3.cmodule=(new CLibInit()).init(); 45 } 46 public static function finalize():void 47 { 48 //no work! 49 NyARToolkitAS3.cmodule=null;//?? 50 } 51 */ 49 52 } 50 53 } as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyARTransMatResult.as
r2933 r2938 68 68 public static function createInstance():NyARTransMatResult 69 69 { 70 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);70 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 71 71 var inst:NyARTransMatResult=new NyARTransMatResult(); 72 72 inst.attachAlchemyObject( 73 NyARToolkitAS3. cmodule.NyARTransMatResult_createInstance()73 NyARToolkitAS3._cmodule.NyARTransMatResult_createInstance() 74 74 ); 75 75 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/NyIdMarkerDataEncoder_RawBit.as
r2933 r2938 61 61 public static function createInstance():NyIdMarkerDataEncoder_RawBit 62 62 { 63 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);63 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 64 64 var inst:NyIdMarkerDataEncoder_RawBit=new NyIdMarkerDataEncoder_RawBit(); 65 65 inst.attachAlchemyObject( 66 NyARToolkitAS3. cmodule.NyIdMarkerDataEncoder_RawBit_createInstance()66 NyARToolkitAS3._cmodule.NyIdMarkerDataEncoder_RawBit_createInstance() 67 67 ); 68 68 return inst; as3/FLARToolKit/branches/alchemy/src/jp/nyatla/nyartoolkit/as3/SingleNyIdMarkerProcesser.as
r2933 r2938 81 81 i_raster_type:int):SingleNyIdMarkerProcesser 82 82 { 83 NyAS3Utils.assert(NyARToolkitAS3. cmodule!=null);83 NyAS3Utils.assert(NyARToolkitAS3._cmodule!=null); 84 84 var inst:SingleNyIdMarkerProcesser=new SingleNyIdMarkerProcesser(); 85 85 inst.attachAlchemyObject( 86 NyARToolkitAS3. cmodule.SingleNyIdMarkerProcesser_createInstance(86 NyARToolkitAS3._cmodule.SingleNyIdMarkerProcesser_createInstance( 87 87 inst, 88 88 i_param._alchemy_ptr, as3/FLARToolKit/branches/alchemy/starter-kit/ARAppBase.as
r2933 r2938 74 74 _raster = new FLARRgbRaster(_width, _height); 75 75 _detector = new FLARSingleMarkerDetector(_param, _code, _codeWidth); 76 //_detector.setContinueMode(true);76 _detector.setContinueMode(true); 77 77 78 78 dispatchEvent(new Event(Event.INIT));

