Operator Reference

set_generic_shape_model_objectT_set_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object (Operator)

set_generic_shape_model_objectT_set_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object — Set iconic objects to the shape model.

Signature

set_generic_shape_model_object(Object : : ModelID, GenParamName : )

Herror T_set_generic_shape_model_object(const Hobject Object, const Htuple ModelID, const Htuple GenParamName)

void SetGenericShapeModelObject(const HObject& Object, const HTuple& ModelID, const HTuple& GenParamName)

void HShapeModel::SetGenericShapeModelObject(const HObject& Object, const HTuple& GenParamName) const

static void HOperatorSet.SetGenericShapeModelObject(HObject objectVal, HTuple modelID, HTuple genParamName)

void HShapeModel.SetGenericShapeModelObject(HObject objectVal, HTuple genParamName)

def set_generic_shape_model_object(object: HObject, model_id: HHandle, gen_param_name: Sequence[str]) -> None

Description

The operator set_generic_shape_model_objectset_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object sets parameters of the shape model ModelIDModelIDModelIDmodelIDmodel_id based on the given ObjectObjectObjectobjectValobject.

The parameter GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name determines for which type of setting the object is used. The following values are supported:

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

ObjectObjectObjectobjectValobject (input_object)  (multichannel-)object(-array) objectHObjectHObjectHObjectHobject

Iconic object to be set.

ModelIDModelIDModelIDmodelIDmodel_id (input_control, state is modified)  shape_model HShapeModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the shape model.

GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  string-array HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Parameter name.

Default: 'high_noise_sample' "high_noise_sample" "high_noise_sample" "high_noise_sample" "high_noise_sample"

List of values: 'clutter_region'"clutter_region""clutter_region""clutter_region""clutter_region", 'high_noise_sample'"high_noise_sample""high_noise_sample""high_noise_sample""high_noise_sample"

Result

If the parameters are valid, the operator set_generic_shape_model_objectset_generic_shape_model_objectSetGenericShapeModelObjectSetGenericShapeModelObjectset_generic_shape_model_object returns the value 2 ( H_MSG_TRUE) . If necessary an exception is raised.

Possible Predecessors

create_generic_shape_modelcreate_generic_shape_modelCreateGenericShapeModelCreateGenericShapeModelcreate_generic_shape_model

Possible Successors

train_generic_shape_modeltrain_generic_shape_modelTrainGenericShapeModelTrainGenericShapeModeltrain_generic_shape_model, find_generic_shape_modelfind_generic_shape_modelFindGenericShapeModelFindGenericShapeModelfind_generic_shape_model

Module

Matching