Skip to content

read_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_modelT_read_deformable_surface_model🔗

説明🔗

read_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_modelT_read_deformable_surface_model — ファイルから可変形状サーフェスモデルを読み込む。

書式🔗

read_deformable_surface_model( filename.read FileName, out deformable_surface_model DeformableSurfaceModel )void ReadDeformableSurfaceModel( const HTuple& FileName, HTuple* DeformableSurfaceModel )static void HOperatorSet.ReadDeformableSurfaceModel( HTuple fileName, out HTuple deformableSurfaceModel )def read_deformable_surface_model( file_name: str ) -> HHandle

Herror T_read_deformable_surface_model( const Htuple FileName, Htuple* DeformableSurfaceModel )

void HDeformableSurfaceModel::HDeformableSurfaceModel( const HString& FileName )

void HDeformableSurfaceModel::HDeformableSurfaceModel( const char* FileName )

void HDeformableSurfaceModel::HDeformableSurfaceModel( const wchar_t* FileName ) (Windows only)

public HDeformableSurfaceModel( string fileName )

void HDeformableSurfaceModel::ReadDeformableSurfaceModel( const HString& FileName )

void HDeformableSurfaceModel::ReadDeformableSurfaceModel( const char* FileName )

void HDeformableSurfaceModel::ReadDeformableSurfaceModel( const wchar_t* FileName ) (Windows only)

void HDeformableSurfaceModel.ReadDeformableSurfaceModel( string fileName )

説明🔗

オペレーター read_deformable_surface_modelReadDeformableSurfaceModel は、 write_deformable_surface_modelWriteDeformableSurfaceModel を使用してファイル FileNamefileNamefile_name から書き込まれた可変形状サーフェスモデルを読み込みま す。 可変形状サーフェスモデルのハンドルは、DeformableSurfaceModeldeformableSurfaceModeldeformable_surface_model に返されます。 FileNamefileNamefile_name の絶対パスがない場合、ファイルは HALCON プロセス の現在のディレクトリで検索されます。 可変形状サーフェスモデルファイルのデフォルトの HALCON ファイル拡張子 は 'dsfm' です。 FileNamefileNamefile_name という名前のファイルが存在しない場合、 FileNamefileNamefile_name にデフォルトのファイル拡張子が付加されます。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

このオペレータはハンドルを返します。このハンドルタイプのインスタンスの状態は、特定のオペレータにおいては、入力パラメータとして使われている場合であっても変更されることがあります。

パラメーター🔗

FileNamefileNamefile_name (input_control) filename.read → (string)HTuple (HString)HTuple (string)strHtuple (char*)

読み込むファイル名

ファイル拡張子: .dsfm

DeformableSurfaceModeldeformableSurfaceModeldeformable_surface_model (output_control) deformable_surface_model → (handle)HTuple (HHandle)HDeformableSurfaceModel, HTuple (IntPtr)HHandleHtuple (handle)

読み込まれた可変形状サーフェスモデルのハン ドル

結果🔗

read_deformable_surface_modelReadDeformableSurfaceModel は、すべてのパラメーターが正 しく、ファイルの読み取りが可能な場合、2 (H_MSG_TRUE) を返します。 ファイルが可変形状サーフェスモデルファイルでない場合は、エラー 9506 が 発生します。 このバージョンの HALCON でファイルのバージョンを読み取れない場合、 エラー 9507 が発生します。 必要に応じて、例外が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

write_deformable_surface_modelWriteDeformableSurfaceModel

後処理の候補

find_deformable_surface_modelFindDeformableSurfaceModel, refine_deformable_surface_modelRefineDeformableSurfaceModel, get_deformable_surface_model_paramGetDeformableSurfaceModelParam, clear_deformable_surface_modelClearDeformableSurfaceModel

他の選択候補

create_deformable_surface_modelCreateDeformableSurfaceModel

関連項目

create_deformable_surface_modelCreateDeformableSurfaceModel, write_deformable_surface_modelWriteDeformableSurfaceModel

モジュール🔗

3D Metrology