KlassenKlassenKlassenKlassen | | | | Operatoren

read_shape_modelread_shape_modelReadShapeModelread_shape_modelReadShapeModelReadShapeModel (Operator)

Name

read_shape_modelread_shape_modelReadShapeModelread_shape_modelReadShapeModelReadShapeModel — Einlesen eines Formmodells von Datei.

Signatur

read_shape_model( : : FileName : ModelID)

Herror read_shape_model(const char* FileName, Hlong* ModelID)

Herror T_read_shape_model(const Htuple FileName, Htuple* ModelID)

Herror read_shape_model(const HTuple& FileName, Hlong* ModelID)

void HShapeModel::ReadShapeModel(const HTuple& FileName)

void ReadShapeModel(const HTuple& FileName, HTuple* ModelID)

void HShapeModel::HShapeModel(const HString& FileName)

void HShapeModel::HShapeModel(const char* FileName)

void HShapeModel::ReadShapeModel(const HString& FileName)

void HShapeModel::ReadShapeModel(const char* FileName)

void HOperatorSetX.ReadShapeModel(
[in] VARIANT FileName, [out] VARIANT* ModelID)

void HShapeModelX.ReadShapeModel([in] BSTR FileName)

static void HOperatorSet.ReadShapeModel(HTuple fileName, out HTuple modelID)

public HShapeModel(string fileName)

void HShapeModel.ReadShapeModel(string fileName)

Beschreibung

read_shape_modelread_shape_modelReadShapeModelread_shape_modelReadShapeModelReadShapeModel liest ein Formmodell, das mit write_shape_modelwrite_shape_modelWriteShapeModelwrite_shape_modelWriteShapeModelWriteShapeModel geschrieben wurde, aus der Datei FileNameFileNameFileNameFileNameFileNamefileName ein. Die Dateiendung für das Formmodell ist in HALCON 'shm'.

Parallelisierung

Parameter

FileNameFileNameFileNameFileNameFileNamefileName (input_control)  filename.read HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name der Datei.

Dateiendung: .shm

ModelIDModelIDModelIDModelIDModelIDmodelID (output_control)  shape_model HShapeModel, HTupleHTupleHShapeModel, HTupleHShapeModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle des Modells.

Ergebnis

Ist der Dateiname korrekt, dann liefert read_shape_modelread_shape_modelReadShapeModelread_shape_modelReadShapeModelReadShapeModel den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Nachfolger

find_shape_modelfind_shape_modelFindShapeModelfind_shape_modelFindShapeModelFindShapeModel, find_scaled_shape_modelfind_scaled_shape_modelFindScaledShapeModelfind_scaled_shape_modelFindScaledShapeModelFindScaledShapeModel, find_aniso_shape_modelfind_aniso_shape_modelFindAnisoShapeModelfind_aniso_shape_modelFindAnisoShapeModelFindAnisoShapeModel, find_shape_modelsfind_shape_modelsFindShapeModelsfind_shape_modelsFindShapeModelsFindShapeModels, find_scaled_shape_modelsfind_scaled_shape_modelsFindScaledShapeModelsfind_scaled_shape_modelsFindScaledShapeModelsFindScaledShapeModels, find_aniso_shape_modelsfind_aniso_shape_modelsFindAnisoShapeModelsfind_aniso_shape_modelsFindAnisoShapeModelsFindAnisoShapeModels

Siehe auch

create_shape_modelcreate_shape_modelCreateShapeModelcreate_shape_modelCreateShapeModelCreateShapeModel, create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModel, create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModel, clear_shape_modelclear_shape_modelClearShapeModelclear_shape_modelClearShapeModelClearShapeModel

Modul

Matching


KlassenKlassenKlassenKlassen | | | | Operatoren