get_shape_model_contoursT_get_shape_model_contoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contours (Operator)

Name

get_shape_model_contoursT_get_shape_model_contoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contours — Auslesen der Konturrepräsentation eines Formmodells.

Signatur

get_shape_model_contours( : ModelContours : ModelID, Level : )

Herror T_get_shape_model_contours(Hobject* ModelContours, const Htuple ModelID, const Htuple Level)

void GetShapeModelContours(HObject* ModelContours, const HTuple& ModelID, const HTuple& Level)

HXLDCont HShapeModel::GetShapeModelContours(Hlong Level) const

static void HOperatorSet.GetShapeModelContours(out HObject modelContours, HTuple modelID, HTuple level)

HXLDCont HShapeModel.GetShapeModelContours(int level)

def get_shape_model_contours(model_id: HHandle, level: int) -> HObject

Beschreibung

Der Operator get_shape_model_contoursget_shape_model_contoursGetShapeModelContoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contours gibt in ModelContoursModelContoursModelContoursModelContoursmodelContoursmodel_contours eine Repräsentation des Formmodells ModelIDModelIDModelIDModelIDmodelIDmodel_id als XLD-Konturen zurück. Der Parameter LevelLevelLevelLevellevellevel gibt an, für welche Pyramidenstufe des Modells die Konturrepräsentation zurückgegeben werden soll. Die Konturen können z.B. zur Visualisierung der gefundenen Instanzen des Modells verwendet werden. Dabei ist darauf zu achten, dass die Lage von ModelContoursModelContoursModelContoursModelContoursmodelContoursmodel_contours so normalisiert worden ist, dass der Referenzpunkt des Modells (siehe set_shape_model_originset_shape_model_originSetShapeModelOriginSetShapeModelOriginSetShapeModelOriginset_shape_model_origin) an der Pixelposition (0,0) liegt. D.h., die Konturen müssen lediglich an die gefundene Stelle verschoben werden (und eventuell um diesen Punkt rotiert und skaliert werden).

Ausführungsinformationen

Parameter

ModelContoursModelContoursModelContoursModelContoursmodelContoursmodel_contours (output_object)  xld_cont-array objectHXLDContHObjectHXLDContHobject *

Konturrepräsentation des Formmodells.

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

Handle des Modells.

LevelLevelLevelLevellevellevel (input_control)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Pyramidenebene, für die die Konturrepräsentation zurückgegeben werden soll.

Defaultwert: 1

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Restriktion: Level >= 1

Ergebnis

Ist der Handle des Modells gültig, dann liefert get_shape_model_contoursget_shape_model_contoursGetShapeModelContoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contours den Wert TRUE. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

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, read_shape_modelread_shape_modelReadShapeModelReadShapeModelReadShapeModelread_shape_model

Siehe auch

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

Modul

Matching