read_shape_modelT_read_shape_modelReadShapeModelReadShapeModelread_shape_model (Operator)

Name

read_shape_modelT_read_shape_modelReadShapeModelReadShapeModelread_shape_model — Einlesen eines Formmodells von Datei.

Signatur

read_shape_model( : : FileName : ModelID)

Herror T_read_shape_model(const Htuple FileName, Htuple* ModelID)

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

void HShapeModel::HShapeModel(const HString& FileName)

void HShapeModel::HShapeModel(const char* FileName)

void HShapeModel::HShapeModel(const wchar_t* FileName)   (Nur Windows)

void HShapeModel::ReadShapeModel(const HString& FileName)

void HShapeModel::ReadShapeModel(const char* FileName)

void HShapeModel::ReadShapeModel(const wchar_t* FileName)   (Nur Windows)

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

public HShapeModel(string fileName)

void HShapeModel.ReadShapeModel(string fileName)

def read_shape_model(file_name: str) -> HHandle

Beschreibung

read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModelread_shape_model liest ein Formmodell, das mit write_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModelwrite_shape_model geschrieben wurde, aus der Datei FileNameFileNameFileNameFileNamefileNamefile_name ein. Die Dateiendung für das Formmodell ist in HALCON 'shm'.

Ausführungsinformationen

Dieser Operator liefert ein Handle zurück. Es ist zu beachten, dass der Zustand einer Instanz dieses Handletyps durch bestimmte Operatoren geändert werden kann, obwohl das Handle als Eingabeparameter in diesen Operatoren verwendet wird.

Parameter

FileNameFileNameFileNameFileNamefileNamefile_name (input_control)  filename.read HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name der Datei.

Dateiendung: .shm

ModelIDModelIDModelIDModelIDmodelIDmodel_id (output_control)  shape_model HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Modells.

Ergebnis

Ist der Dateiname korrekt, dann liefert read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModelread_shape_model den Wert TRUE. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Nachfolger

find_shape_modelfind_shape_modelFindShapeModelFindShapeModelFindShapeModelfind_shape_model, find_scaled_shape_modelfind_scaled_shape_modelFindScaledShapeModelFindScaledShapeModelFindScaledShapeModelfind_scaled_shape_model, find_aniso_shape_modelfind_aniso_shape_modelFindAnisoShapeModelFindAnisoShapeModelFindAnisoShapeModelfind_aniso_shape_model, find_shape_modelsfind_shape_modelsFindShapeModelsFindShapeModelsFindShapeModelsfind_shape_models, find_scaled_shape_modelsfind_scaled_shape_modelsFindScaledShapeModelsFindScaledShapeModelsFindScaledShapeModelsfind_scaled_shape_models, find_aniso_shape_modelsfind_aniso_shape_modelsFindAnisoShapeModelsFindAnisoShapeModelsFindAnisoShapeModelsfind_aniso_shape_models, get_shape_model_clutterget_shape_model_clutterGetShapeModelClutterGetShapeModelClutterGetShapeModelClutterget_shape_model_clutter

Siehe auch

create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModelcreate_shape_model, create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModelcreate_scaled_shape_model, create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModelcreate_aniso_shape_model, clear_shape_modelclear_shape_modelClearShapeModelClearShapeModelClearShapeModelclear_shape_model

Modul

Matching