Method | Description | |
---|---|---|
NyARUnityMarkerSystem ( INyARMarkerSystemConfig i_config ) : System | ||
addARMarker ( |
{@link #addARMarker(INyARRgbRaster, int, int, double)}のラッパーです。Bitmapからマーカパターンを作ります。 引数については、{@link #addARMarker(INyARRgbRaster, int, int, double)}を参照してください。
|
|
getMarkerMatrix ( int i_id, |
Gets the Unity form marker matrix.
|
|
getMarkerPlaneImage ( int i_id, jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor i_sensor, int i_l, int i_t, int i_w, int i_h, |
||
getMarkerPlaneImage ( int i_id, jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor i_sensor, int i_x1, int i_y1, int i_x2, int i_y2, int i_x3, int i_y3, int i_x4, int i_y4, |
この関数は、{@link #getMarkerPlaneImage(int, NyARSensor, int, int, int, int, int, int, int, int, INyARRgbRaster)} のラッパーです。取得画像を{@link #BufferedImage}形式で返します。
|
|
getMarkerPlanePos ( int id, int i_x, int i_y, Vector3 &i_out ) : void | ||
getMarkerTransform ( int i_id, Vector3 &o_pos, |
Gets the unity marker transform rotation and position.
|
|
getUnityMarkerMatrix ( int i_id ) : |
||
getUnityProjectionMatrix ( ) : |
||
setARBackgroundTransform ( |
この関数は,背景画像の姿勢行列をtransformメンバに設定します.
|
|
setARCameraProjection ( |
この関数は,cameraオブジェクトにProjectionMatrixを指定します.
|
|
setMarkerTransform ( int i_id, |
||
setMarkerTransform ( int i_id, |
Sets marker matrix to unity transform
|
|
setProjectionMatrixClipping ( double i_near, double i_far ) : void |
Method | Description | |
---|---|---|
initInstance ( INyARMarkerSystemConfig i_config ) : void |
public NyARUnityMarkerSystem ( INyARMarkerSystemConfig i_config ) : System | ||
i_config | INyARMarkerSystemConfig | |
return | System |
public addARMarker ( |
||
i_img | ||
i_patt_resolution | int | 生成するマーカの解像度を指定します。 |
i_patt_edge_percentage | int | 画像のエッジ領域を%で指定します。 |
i_marker_size | double | マーカの物理サイズを指定します。 |
return | int |
public getMarkerMatrix ( int i_id, |
||
i_id | int | /// I_id. /// |
i_buf | /// I_buf. /// | |
return | void |
public getMarkerPlaneImage ( int i_id, jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor i_sensor, int i_l, int i_t, int i_w, int i_h, |
||
i_id | int | |
i_sensor | jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor | |
i_l | int | |
i_t | int | |
i_w | int | |
i_h | int | |
i_img | ||
return | void |
public getMarkerPlaneImage ( int i_id, jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor i_sensor, int i_x1, int i_y1, int i_x2, int i_y2, int i_x3, int i_y3, int i_x4, int i_y4, |
||
i_id | int | |
i_sensor | jp.nyatla.nyartoolkit.cs.markersystem.NyARSensor | |
i_x1 | int | |
i_y1 | int | |
i_x2 | int | |
i_y2 | int | |
i_x3 | int | |
i_y3 | int | |
i_x4 | int | |
i_y4 | int | |
i_img | ||
return | void |
public getMarkerPlanePos ( int id, int i_x, int i_y, Vector3 &i_out ) : void | ||
id | int | |
i_x | int | |
i_y | int | |
i_out | Vector3 | |
return | void |
public getMarkerTransform ( int i_id, Vector3 &o_pos, |
||
i_id | int | /// I_id. /// |
o_pos | Vector3 | /// O_pos. /// |
o_rotation | /// O_rotation. /// | |
return | void |
public getUnityMarkerMatrix ( int i_id ) : |
||
i_id | int | |
return |
public getUnityProjectionMatrix ( ) : |
||
return |
protected initInstance ( INyARMarkerSystemConfig i_config ) : void | ||
i_config | INyARMarkerSystemConfig | |
return | void |
public setARBackgroundTransform ( |
||
i_transform | ||
return | void |
public setARCameraProjection ( |
||
i_camera | ||
return | void |
public setMarkerTransform ( int i_id, |
||
i_id | int | |
i_go | ||
return | void |
public setMarkerTransform ( int i_id, |
||
i_id | int | /// I_id. /// |
i_t | /// I_t. /// | |
return | void |
public setProjectionMatrixClipping ( double i_near, double i_far ) : void | ||
i_near | double | |
i_far | double | |
return | void |