2 * PROJECT: NyARToolkit Java3D utilities.
\r
3 * --------------------------------------------------------------------------------
\r
5 * Copyright (c) 2008 nyatla
\r
6 * airmail(at)ebony.plala.or.jp
\r
7 * http://nyatla.jp/nyartoolkit/
\r
9 * Permission is hereby granted, free of charge, to any person obtaining a copy
\r
10 * of this software and associated documentation files (the "Software"), to deal
\r
11 * in the Software without restriction, including without limitation the rights
\r
12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
13 * copies of the Software, and to permit persons to whom the Software is
\r
14 * furnished to do so, subject to the following conditions:
\r
15 * The above copyright notice and this permission notice shall be included in
\r
16 * all copies or substantial portions of the Software.
\r
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\r
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
\r
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
\r
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
\r
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
\r
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
\r
27 package jp.nyatla.nyartoolkit.java3d.utils;
\r
29 import javax.media.j3d.*;
\r
32 * NyARToolkitのBehaviorのリスナ
\r
35 public interface NyARSingleMarkerBehaviorListener
\r
38 * このリスナは、リスナにマーカーに連動してオブジェクトを操作するチャンスを与えます。
\r
39 * リスナはNyARSingleMarkerBehavior関数内のprocessStimulus関数から呼び出されます。
\r
41 * @param i_is_marker_exist
\r
42 * マーカーが存在する場合true、存在しない場合、falseです。
\r
43 * @param i_transform3d
\r
44 * マーカーが存在する場合、その変換行列が指定されます。
\r
45 * i_is_marker_existがtrueの時だけ有効です。
\r
47 public void onUpdate(boolean i_is_marker_exist,Transform3D i_transform3d);
\r