read_deformable_surface_modelT_read_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_model (Operator)

Name

read_deformable_surface_modelT_read_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_model — Liest ein deformierbares Oberflächenmodell aus einer Datei.

Signatur

read_deformable_surface_model( : : FileName : DeformableSurfaceModel)

Herror T_read_deformable_surface_model(const Htuple FileName, Htuple* DeformableSurfaceModel)

void ReadDeformableSurfaceModel(const HTuple& FileName, HTuple* DeformableSurfaceModel)

void HDeformableSurfaceModel::HDeformableSurfaceModel(const HString& FileName)

void HDeformableSurfaceModel::HDeformableSurfaceModel(const char* FileName)

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

void HDeformableSurfaceModel::ReadDeformableSurfaceModel(const HString& FileName)

void HDeformableSurfaceModel::ReadDeformableSurfaceModel(const char* FileName)

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

static void HOperatorSet.ReadDeformableSurfaceModel(HTuple fileName, out HTuple deformableSurfaceModel)

public HDeformableSurfaceModel(string fileName)

void HDeformableSurfaceModel.ReadDeformableSurfaceModel(string fileName)

def read_deformable_surface_model(file_name: str) -> HHandle

Beschreibung

read_deformable_surface_modelread_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_model liest ein deformierbares Oberflächenmodell welches zuvor mittels write_deformable_surface_modelwrite_deformable_surface_modelWriteDeformableSurfaceModelWriteDeformableSurfaceModelWriteDeformableSurfaceModelwrite_deformable_surface_model geschrieben wurde aus der Datei FileNameFileNameFileNameFileNamefileNamefile_name ein. Das Handle des eingelesenen deformierbaren Oberflächenmodells wird in DeformableSurfaceModelDeformableSurfaceModelDeformableSurfaceModelDeformableSurfaceModeldeformableSurfaceModeldeformable_surface_model zurückgegeben. Enthält FileNameFileNameFileNameFileNamefileNamefile_name keine absolute Pfadangabe, so wird die Datei im aktuellen Verzeichnis des HALCON-Prozesses gesucht. Die Standard-Dateiendung für deformierbare Oberflächenmodelle in HALCON ist 'dsfm'. Existiert die Datei FileNameFileNameFileNameFileNamefileNamefile_name nicht, so wird diese Standard-Dateiendung angehängt und erneut gesucht.

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*)

Dateiname der DSFM-Datei.

Dateiendung: .dsfm

DeformableSurfaceModelDeformableSurfaceModelDeformableSurfaceModelDeformableSurfaceModeldeformableSurfaceModeldeformable_surface_model (output_control)  deformable_surface_model HDeformableSurfaceModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des gelesenen deformierbaren Oberflächenmodells.

Ergebnis

Wenn alle Parameter korrekt sind und die Datei gelesen werden konnte liefert read_deformable_surface_modelread_deformable_surface_modelReadDeformableSurfaceModelReadDeformableSurfaceModelReadDeformableSurfaceModelread_deformable_surface_model den Wert 2 (H_MSG_TRUE). Wenn die Datei kein Oberflächenmodell enthält wird der Fehler 9506 zurückgegeben. Enthält die Datei ein Oberflächenmodell in einer Version, die nicht mit dieser HALCON-Version gelesen werden kann, wird der Fehler 9507 zurückgegeben. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

write_deformable_surface_modelwrite_deformable_surface_modelWriteDeformableSurfaceModelWriteDeformableSurfaceModelWriteDeformableSurfaceModelwrite_deformable_surface_model

Nachfolger

find_deformable_surface_modelfind_deformable_surface_modelFindDeformableSurfaceModelFindDeformableSurfaceModelFindDeformableSurfaceModelfind_deformable_surface_model, refine_deformable_surface_modelrefine_deformable_surface_modelRefineDeformableSurfaceModelRefineDeformableSurfaceModelRefineDeformableSurfaceModelrefine_deformable_surface_model, get_deformable_surface_model_paramget_deformable_surface_model_paramGetDeformableSurfaceModelParamGetDeformableSurfaceModelParamGetDeformableSurfaceModelParamget_deformable_surface_model_param, clear_deformable_surface_modelclear_deformable_surface_modelClearDeformableSurfaceModelClearDeformableSurfaceModelClearDeformableSurfaceModelclear_deformable_surface_model

Alternativen

create_deformable_surface_modelcreate_deformable_surface_modelCreateDeformableSurfaceModelCreateDeformableSurfaceModelCreateDeformableSurfaceModelcreate_deformable_surface_model

Siehe auch

create_deformable_surface_modelcreate_deformable_surface_modelCreateDeformableSurfaceModelCreateDeformableSurfaceModelCreateDeformableSurfaceModelcreate_deformable_surface_model, write_deformable_surface_modelwrite_deformable_surface_modelWriteDeformableSurfaceModelWriteDeformableSurfaceModelWriteDeformableSurfaceModelwrite_deformable_surface_model

Modul

3D Metrology