チェンジセット 3879

差分発生行の前後
無視リスト:
コミット日時:
2010/05/04 12:01:36 (2 年前)
コミッタ:
rokubou
ログメッセージ:

NyARToolKitAS3 2.5.2 に対応

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/FLARToolKit/trunk/src/examples/manager/FLSingleARMarkerManager.as

    r3684 r3879  
    115115                        var scr_size:NyARIntSize = i_param.getScreenSize(); 
    116116                        // 解析オブジェクトを作る 
    117                         this._square_detect = new FLARSquareContourDetector(i_param.getDistortionFactor(), scr_size); 
     117                        this._square_detect = new FLARSquareContourDetector(scr_size); 
    118118                        this._transmat = new NyARTransMat(i_param); 
    119119                        this._tobin_filter=new FLARRasterFilter_Threshold(110); 
  • as3/FLARToolKit/trunk/src/examples/manager/FLSingleNyIdMarkerManager.as

    r3443 r3879  
    102102                        var scr_size:NyARIntSize = i_param.getScreenSize(); 
    103103                        // 解析オブジェクトを作る 
    104                         this._square_detect = new FLARSquareContourDetector(i_param.getDistortionFactor(), scr_size); 
     104                        this._square_detect = new FLARSquareContourDetector(scr_size); 
    105105                        this._transmat = new NyARTransMat(i_param); 
    106106                        this._callback=new DetectSquareCB(i_param,i_encoder); 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/core/raster/rgb/FLARRgbRaster_BitmapData.as

    r3672 r3879  
    3939                private var _bitmapData:BitmapData; 
    4040                private var _rgb_reader:FLARRgbPixelReader_BitmapData; 
    41  
     41                 
     42                /** 
     43                 *  
     44                 * @deprecated 次バージョンで次のように変更されます。 FLARRgbRaster_BitmapData(i_width:int,i_height:int) 
     45                 */ 
    4246                public function FLARRgbRaster_BitmapData(bitmapData:BitmapData) { 
    43                         super(new NyARIntSize(bitmapData.width, bitmapData.height),NyARBufferType.OBJECT_AS3_BitmapData); 
     47                        super(bitmapData.width, bitmapData.height,NyARBufferType.OBJECT_AS3_BitmapData); 
    4448                        this._bitmapData = bitmapData; 
    4549                        this._rgb_reader = new FLARRgbPixelReader_BitmapData(this._bitmapData); 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/core/squaredetect/FLARSquareContourDetector.as

    r3336 r3879  
    6262                 * @param i_param 
    6363                 */ 
    64                 public function FLARSquareContourDetector(i_dist_factor_ref:NyARCameraDistortionFactor,i_size:NyARIntSize) 
     64                public function FLARSquareContourDetector(i_size:NyARIntSize) 
    6565                { 
    6666                        this._width = i_size.w; 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/detector/FLARMultiMarkerDetector.as

    r3872 r3879  
    120120                        this._transmat = new NyARTransMat(i_ref_param); 
    121121                        //NyARToolkitプロファイル 
    122                         this._square_detect =new FLARSquareContourDetector(i_ref_param.getDistortionFactor(),i_ref_param.getScreenSize()); 
     122                        this._square_detect =new FLARSquareContourDetector(i_ref_param.getScreenSize()); 
    123123                        this._tobin_filter=new FLARRasterFilter_Threshold(100); 
    124124 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/detector/FLARSingleMarkerDetector.as

    r3872 r3879  
    8282//                      trace('w:'+markerWidthByDec+'/h:'+markerHeightByDec); 
    8383 
    84                         sqdetect_inst=new FLARSquareContourDetector(i_ref_param.getDistortionFactor(),i_ref_param.getScreenSize()); 
     84                        sqdetect_inst=new FLARSquareContourDetector(i_ref_param.getScreenSize()); 
    8585                        transmat_inst=new NyARTransMat(i_ref_param); 
    8686                        initInstance(patt_inst,sqdetect_inst,transmat_inst,th,i_ref_param,i_ref_code,i_marker_width); 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/processor/FLSingleARMarkerProcesser.as

    r3415 r3879  
    109109                        var scr_size:NyARIntSize = i_param.getScreenSize(); 
    110110                        // 解析オブジェクトを作る 
    111                         this._square_detect = new FLARSquareContourDetector(i_param.getDistortionFactor(), scr_size); 
     111                        this._square_detect = new FLARSquareContourDetector(scr_size); 
    112112                        this._transmat = new NyARTransMat(i_param); 
    113113                        this._tobin_filter=new FLARRasterFilter_Threshold(110); 
  • as3/FLARToolKit/trunk/src/org/libspark/flartoolkit/processor/FLSingleNyIdMarkerProcesser.as

    r3415 r3879  
    9393                        var scr_size:NyARIntSize = i_param.getScreenSize(); 
    9494                        // 解析オブジェクトを作る 
    95                         this._square_detect = new FLARSquareContourDetector(i_param.getDistortionFactor(), scr_size); 
     95                        this._square_detect = new FLARSquareContourDetector(scr_size); 
    9696                        this._transmat = new NyARTransMat(i_param); 
    9797                        this._callback=new DetectSquareCB(i_param,i_encoder);