get_distance_transform_xld_paramT_get_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamget_distance_transform_xld_param (Operator)

Name

get_distance_transform_xld_paramT_get_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamget_distance_transform_xld_param — Get the parameters used to build an XLD distance transform.

Signature

get_distance_transform_xld_param( : : DistanceTransformID, GenParamName : GenParamValue)

Herror T_get_distance_transform_xld_param(const Htuple DistanceTransformID, const Htuple GenParamName, Htuple* GenParamValue)

void GetDistanceTransformXldParam(const HTuple& DistanceTransformID, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HXLDDistTrans::GetDistanceTransformXldParam(const HTuple& GenParamName) const

HTuple HXLDDistTrans::GetDistanceTransformXldParam(const HString& GenParamName) const

HTuple HXLDDistTrans::GetDistanceTransformXldParam(const char* GenParamName) const

HTuple HXLDDistTrans::GetDistanceTransformXldParam(const wchar_t* GenParamName) const   ( Windows only)

static void HOperatorSet.GetDistanceTransformXldParam(HTuple distanceTransformID, HTuple genParamName, out HTuple genParamValue)

HTuple HXLDDistTrans.GetDistanceTransformXldParam(HTuple genParamName)

HTuple HXLDDistTrans.GetDistanceTransformXldParam(string genParamName)

def get_distance_transform_xld_param(distance_transform_id: HHandle, gen_param_name: MaybeSequence[str]) -> Sequence[Union[float, str]]

def get_distance_transform_xld_param_s(distance_transform_id: HHandle, gen_param_name: MaybeSequence[str]) -> Union[float, str]

Description

get_distance_transform_xld_paramget_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamGetDistanceTransformXldParamget_distance_transform_xld_param returns the parameters used to build the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id. The names of the parameters are passed in GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name and their values are returned in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value. GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name can contain the names of parameters 'mode'"mode""mode""mode""mode""mode" and 'max_distance'"max_distance""max_distance""max_distance""max_distance""max_distance".

Execution Information

Parameters

DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id (input_control)  xld_dist_trans HXLDDistTrans, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the XLD distance transform.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Names of the generic parameters.

Default: 'mode' "mode" "mode" "mode" "mode" "mode"

List of values: 'max_distance'"max_distance""max_distance""max_distance""max_distance""max_distance", 'mode'"mode""mode""mode""mode""mode"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (output_control)  attribute.value(-array) HTupleSequence[Union[float, str]]HTupleHtuple (string / real) (string / double) (HString / double) (char* / double)

Values of the generic parameters.

Number of elements: GenParamValue == 1 || GenParamValue == 2

List of values: 5.0, 'point_to_point'"point_to_point""point_to_point""point_to_point""point_to_point""point_to_point", 'point_to_segment'"point_to_segment""point_to_segment""point_to_segment""point_to_segment""point_to_segment"

Result

If all parameters are correct, the operator returns the value 2 ( H_MSG_TRUE) . Otherwise, an exception is raised.

Possible Predecessors

read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXldDeserializeDistanceTransformXlddeserialize_distance_transform_xld

Possible Successors

set_distance_transform_xld_paramset_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParamSetDistanceTransformXldParamset_distance_transform_xld_param

See also

get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour, create_distance_transform_xldcreate_distance_transform_xldCreateDistanceTransformXldCreateDistanceTransformXldCreateDistanceTransformXldcreate_distance_transform_xld, apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldApplyDistanceTransformXldapply_distance_transform_xld, clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldClearDistanceTransformXldclear_distance_transform_xld, write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld, serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldSerializeDistanceTransformXldserialize_distance_transform_xld

Module

Foundation