高精度ポーズ推定モードの取得
Namespace: fvalgcliAssembly: fvalgcli (in fvalgcli.dll) Version: 3.1.0.0 (3.1.0.11)
Syntax
C# |
---|
public static int fnFIE_fpm_get_refine_mode(
FHANDLE hfpm,
ref int refine_mode
) |
Visual Basic |
---|
Public Shared Function fnFIE_fpm_get_refine_mode (
hfpm As FHANDLE,
ByRef refine_mode As Integer
) As Integer |
Parameters
- hfpm
- Type: fvalgcli..::..FHANDLE
FPMオブジェクト
- refine_mode
- Type: System..::..Int32%
設定されている高精度ポーズ推定の動作モード
- 0:粗サーチの位置姿勢情報を使用し、スコア計算まで行います(初期値)
- 1:その候補位置での回答を返しません
Return Value
Type:
Int32
以下のエラーコードを返します。
エラーコード:f_err | 内容 |
---|
F_ERR_NONE | 正常終了 |
F_ERR_INVALID_OBJECT | 不正なオブジェクトが入力されました |
F_ERR_INVALID_PARAM | 不正なパラメータが入力されました |
F_ERR_NO_LICENCE | ライセンスエラー、または未初期化エラー |
Remarks
Examples
C# | Copy |
---|
using System;
using System.Collections.Generic;
using System.Text;
using fvalgcli;
namespace TC
{
public partial class FIE
{
public void fnFIE_fpm_get_refine_mode(FHANDLE hFPM)
{
int refine_mode = 0;
int status = fvalgcli.api.fnFIE_fpm_get_refine_mode(hFPM, ref refine_mode);
Assert.IsTrue(status == (int)fvalgcli.f_err.F_ERR_NONE, "fnFIE_fpm_get_refine_mode: エラーが発生しました。({0})", (fvalgcli.f_err)status);
Console.WriteLine("fnFIE_fpm_get_refine_mode");
Console.WriteLine("refine_mode={0}", refine_mode);
}
}
} |
Visual Basic | Copy |
---|
Imports System.Collections.Generic
Imports System.Text
Imports fvalgcli
Public Partial Class FIE
Public Sub fnFIE_fpm_get_refine_mode(hFPM As FHANDLE)
Dim refine_mode As Integer = 0
Dim status As Integer = fvalgcli.api.fnFIE_fpm_get_refine_mode(hFPM, refine_mode)
Assert.IsTrue(status = CInt(fvalgcli.f_err.F_ERR_NONE), "fnFIE_fpm_get_refine_mode: エラーが発生しました。({0})", CType(status, fvalgcli.f_err))
Console.WriteLine("fnFIE_fpm_get_refine_mode")
Console.WriteLine("refine_mode={0}", refine_mode)
End Sub
End Class |
See Also