Packagejp.nyatla.nyartoolkit.as3.core.pickup
Interfacepublic interface INyARColorPatt extends INyARRgbRaster, INyARRaster
Implementors NyARColorPatt_Perspective



Public Methods
 MethodDefined By
 Inherited
getBuffer():Object
バッファオブジェクトを返します。
INyARRaster
 Inherited
バッファオブジェクトのタイプを返します。
INyARRaster
 Inherited
getHeight():int
INyARRaster
 Inherited
INyARRgbRaster
 Inherited
INyARRaster
 Inherited
getWidth():int
INyARRaster
 Inherited
hasBuffer():Boolean
getBufferがオブジェクトを返せるかの真偽値です。
INyARRaster
 Inherited
isEqualBufferType(i_type_value:int):Boolean
バッファのタイプがi_type_valueであるか、チェックします。 この値は、NyARBufferTypeに定義された定数値です。
INyARRaster
  
pickFromRaster(image:INyARRgbRaster, i_vertexs:Vector.<NyARIntPoint2d>):Boolean
ラスタイメージからi_square部分のカラーパターンを抽出して、thisメンバに格納します。
INyARColorPatt
 Inherited
wrapBuffer(i_ref_buf:Object):void
i_ref_bufをラップします。できる限り整合性チェックを行います。 バッファの再ラッピングが可能な関数のみ、この関数を実装してください。
INyARRaster
Method Detail
pickFromRaster()method
public function pickFromRaster(image:INyARRgbRaster, i_vertexs:Vector.<NyARIntPoint2d>):Boolean

ラスタイメージからi_square部分のカラーパターンを抽出して、thisメンバに格納します。

Parameters

image:INyARRgbRaster — Source raster object. ---- 抽出元のラスタオブジェクト
 
i_vertexs:Vector.<NyARIntPoint2d> — Vertexes of the square. Number of element must be 4. ---- 射影変換元の4角形を構成する頂点群頂群。要素数は4であること。

Returns
Boolean — True if sucessfull; otherwise false. ---- ラスターの取得に成功するとTRUE/失敗するとFALSE

Throws
NyARException