+++ /dev/null
-/* \r
- * PROJECT: NyARToolkit\r
- * --------------------------------------------------------------------------------\r
- * This work is based on the original ARToolKit developed by\r
- * Hirokazu Kato\r
- * Mark Billinghurst\r
- * HITLab, University of Washington, Seattle\r
- * http://www.hitl.washington.edu/artoolkit/\r
- *\r
- * The NyARToolkit is Java edition ARToolKit class library.\r
- * Copyright (C)2008-2009 Ryo Iizuka\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- * \r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program. If not, see <http://www.gnu.org/licenses/>.\r
- * \r
- * For further information please contact.\r
- * http://nyatla.jp/nyatoolkit/\r
- * <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
- * \r
- */\r
-package jp.nyatla.nyartoolkit.core.rasterreader;\r
-\r
-import jp.nyatla.nyartoolkit.NyARException;\r
-\r
-/**\r
- * R8G8B8でピクセルを読み出すインタフェイス\r
- * \r
- */\r
-public interface INyARRgbPixelReader\r
-{\r
- /**\r
- * 1ピクセルをint配列にして返します。\r
- * \r
- * @param i_x\r
- * @param i_y\r
- * @param i_rgb\r
- */\r
- public void getPixel(int i_x, int i_y, int[] i_rgb) throws NyARException;\r
-\r
- /**\r
- * 複数のピクセル値をint配列に返します。\r
- * 配列には、[R1][G1][B1][R2][G2][B2]の順でピクセル値が格納されます。\r
- * \r
- * @param i_x\r
- * xのインデックス配列\r
- * @param i_y\r
- * yのインデックス配列\r
- */\r
- public void getPixelSet(int[] i_x, int[] i_y, int i_num, int[] i_intrgb) throws NyARException;\r
- \r
- /**\r
- * 1ピクセルを設定します。\r
- * @param i_x\r
- * @param i_y\r
- * @param i_rgb\r
- * @throws NyARException\r
- */\r
- public void setPixel(int i_x, int i_y, int[] i_rgb) throws NyARException;\r
- /**\r
- * 複数のピクセル値をint配列から設定します。\r
- * @param i_x\r
- * @param i_y\r
- * @param i_num\r
- * @param i_intrgb\r
- * @throws NyARException\r
- */\r
- public void setPixels(int[] i_x, int[] i_y, int i_num, int[] i_intrgb) throws NyARException;\r
- /**\r
- * 参照しているバッファをi_ref_bufferへ切り替えます。\r
- * 内部パラメータのチェックは、実装依存です。\r
- * @param i_ref_buffer\r
- * @throws NyARException\r
- */\r
- public void switchBuffer(Object i_ref_buffer) throws NyARException;\r
-}\r