public abstract class NyARBinRaster extends java.lang.Object implements INyARBinRaster
修飾子とタイプ | メソッドと説明 |
---|---|
static INyARBinRaster |
createInstance(int i_width,
int i_height)
内部参照のバッファ(
NyARBufferType.INT1D_GRAY_8 形式)を持つインスタンスを生成します。 |
static INyARBinRaster |
createInstance(int i_width,
int i_height,
boolean i_is_alloc)
画像のサイズパラメータとバッファ参照方式を指定して、インスタンスを生成します。
|
static INyARBinRaster |
createInstance(int i_width,
int i_height,
int i_raster_type,
boolean i_is_alloc)
コンストラクタです。
|
java.lang.Object |
createInterface(java.lang.Class<?> i_iid)
ARTKに必要なラスタオペレーションインタフェイスを返す。
|
int |
getHeight()
この関数は、ラスタの高さを返します。
|
NyARIntSize |
getSize()
この関数は、ラスタのサイズを格納したオブジェクトを返します。
|
int |
getWidth()
この関数は、ラスタの幅を返します。
|
boolean |
hasBuffer()
この関数は、インスタンスがバッファを所有するかを返します。
|
boolean |
isEqualBufferType(int i_type_value)
この関数は、ラスタの幅を返します。
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuffer, getBufferType, wrapBuffer
getPixel, getPixelSet, setPixel, setPixels
public static INyARBinRaster createInstance(int i_width, int i_height, int i_raster_type, boolean i_is_alloc)
i_width
- ラスタのサイズi_height
- ラスタのサイズi_raster_type
- ラスタのバッファ形式。
NyARBufferType
に定義された定数値を指定してください。指定できる値は、以下の通りです。
i_is_alloc
- バッファを外部参照にするかのフラグ値。
trueなら内部バッファ、falseなら外部バッファを使用します。
falseの場合、初期のバッファはnullになります。インスタンスを生成したのちに、INyARRaster.wrapBuffer(java.lang.Object)
を使って割り当ててください。NyARRuntimeException
public static INyARBinRaster createInstance(int i_width, int i_height)
NyARBufferType.INT1D_GRAY_8
形式)を持つインスタンスを生成します。i_width
- ラスタのサイズi_height
- ラスタのサイズNyARRuntimeException
public static INyARBinRaster createInstance(int i_width, int i_height, boolean i_is_alloc)
NyARBufferType.INT1D_GRAY_8
です。i_width
- ラスタのサイズi_height
- ラスタのサイズi_is_alloc
- バッファを外部参照にするかのフラグ値。
trueなら内部バッファ、falseなら外部バッファを使用します。
falseの場合、初期のバッファはnullになります。インスタンスを生成したのちに、INyARRaster.wrapBuffer(java.lang.Object)
を使って割り当ててください。NyARRuntimeException
public final int getWidth()
getWidth
インタフェース内 INyARRaster
public final int getHeight()
getHeight
インタフェース内 INyARRaster
public final NyARIntSize getSize()
getSize
インタフェース内 INyARRaster
public final boolean isEqualBufferType(int i_type_value)
isEqualBufferType
インタフェース内 INyARRaster
i_type_value
- バッファタイプ値。NyARBufferType
の定義値です。public final boolean hasBuffer()
hasBuffer
インタフェース内 INyARRaster
INyARRaster.getBuffer()
が利用可能ならtrue。public java.lang.Object createInterface(java.lang.Class<?> i_iid)
INyARRaster
createInterface
インタフェース内 INyARRaster