Package | jp.nyatla.nyartoolkit.as3.core.pickup |
Interface | public interface INyARColorPatt extends INyARRgbRaster, INyARRaster |
Implementors | NyARColorPatt_Perspective |
Method | Defined By | ||
---|---|---|---|
getBuffer():Object
バッファオブジェクトを返します。
| INyARRaster | ||
getBufferType():int
バッファオブジェクトのタイプを返します。
| INyARRaster | ||
getHeight():int | INyARRaster | ||
INyARRgbRaster | |||
INyARRaster | |||
getWidth():int | INyARRaster | ||
hasBuffer():Boolean
getBufferがオブジェクトを返せるかの真偽値です。
| INyARRaster | ||
isEqualBufferType(i_type_value:int):Boolean
バッファのタイプがi_type_valueであるか、チェックします。
この値は、NyARBufferTypeに定義された定数値です。
| INyARRaster | ||
ラスタイメージからi_square部分のカラーパターンを抽出して、thisメンバに格納します。
| INyARColorPatt | ||
wrapBuffer(i_ref_buf:Object):void
i_ref_bufをラップします。できる限り整合性チェックを行います。
バッファの再ラッピングが可能な関数のみ、この関数を実装してください。
| INyARRaster |
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であること。
|
Boolean —
True if sucessfull; otherwise false.
----
ラスターの取得に成功するとTRUE/失敗するとFALSE
|
NyARException
|