remove_object_model_3d_attrib_modT_remove_object_model_3d_attrib_modRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModremove_object_model_3d_attrib_mod (算子名称)

名称

remove_object_model_3d_attrib_modT_remove_object_model_3d_attrib_modRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModremove_object_model_3d_attrib_mod — Remove attributes of a 3D object model.

参数签名

remove_object_model_3d_attrib_mod( : : ObjectModel3D, Attributes : )

Herror T_remove_object_model_3d_attrib_mod(const Htuple ObjectModel3D, const Htuple Attributes)

void RemoveObjectModel3dAttribMod(const HTuple& ObjectModel3D, const HTuple& Attributes)

void HObjectModel3D::RemoveObjectModel3dAttribMod(const HTuple& Attributes) const

void HObjectModel3D::RemoveObjectModel3dAttribMod(const HString& Attributes) const

void HObjectModel3D::RemoveObjectModel3dAttribMod(const char* Attributes) const

void HObjectModel3D::RemoveObjectModel3dAttribMod(const wchar_t* Attributes) const   ( Windows only)

static void HOperatorSet.RemoveObjectModel3dAttribMod(HTuple objectModel3D, HTuple attributes)

void HObjectModel3D.RemoveObjectModel3dAttribMod(HTuple attributes)

void HObjectModel3D.RemoveObjectModel3dAttribMod(string attributes)

def remove_object_model_3d_attrib_mod(object_model_3d: HHandle, attributes: MaybeSequence[str]) -> None

描述

remove_object_model_3d_attrib_modremove_object_model_3d_attrib_modRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModremove_object_model_3d_attrib_mod removes the standard and/or extended attributes given in AttributesAttributesAttributesAttributesattributesattributes of a 3D object model ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d. Doing so changes the 3D object model. This is in contrast to the operator remove_object_model_3d_attribremove_object_model_3d_attribRemoveObjectModel3dAttribRemoveObjectModel3dAttribRemoveObjectModel3dAttribremove_object_model_3d_attrib, which creates a new model but functions identically otherwise.

If the AttributesAttributesAttributesAttributesattributesattributes do not exist in ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d, no exception is raised.

For a detailed description of AttributesAttributesAttributesAttributesattributesattributes see operator remove_object_model_3d_attribremove_object_model_3d_attribRemoveObjectModel3dAttribRemoveObjectModel3dAttribRemoveObjectModel3dAttribremove_object_model_3d_attrib.

注意

remove_object_model_3d_attrib_modremove_object_model_3d_attrib_modRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModremove_object_model_3d_attrib_mod removes AttributesAttributesAttributesAttributesattributesattributes unchecked from the 3D object model. Special attention must be paid to retain a consistent 3D object model, as most of 该算子s expect consistent 3D object models. Furthermore, the mapping of the 3D points to image coordinates should not be removed because it speeds up the computation of many operators.

运行信息

参数表

ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3Dobject_model_3d (input_control)  object_model_3d HObjectModel3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the input 3D object model.

AttributesAttributesAttributesAttributesattributesattributes (input_control)  string(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Name of the attributes to be removed.

Default: 'extended_attribute' "extended_attribute" "extended_attribute" "extended_attribute" "extended_attribute" "extended_attribute"

List of values: 'all'"all""all""all""all""all", 'blue'"blue""blue""blue""blue""blue", 'distance_computation_data'"distance_computation_data""distance_computation_data""distance_computation_data""distance_computation_data""distance_computation_data", 'extended_attribute'"extended_attribute""extended_attribute""extended_attribute""extended_attribute""extended_attribute", 'green'"green""green""green""green""green", 'lines'"lines""lines""lines""lines""lines", 'original_point_indices'"original_point_indices""original_point_indices""original_point_indices""original_point_indices""original_point_indices", 'point_normal'"point_normal""point_normal""point_normal""point_normal""point_normal", 'polygons'"polygons""polygons""polygons""polygons""polygons", 'primitive_box'"primitive_box""primitive_box""primitive_box""primitive_box""primitive_box", 'primitive_cylinder'"primitive_cylinder""primitive_cylinder""primitive_cylinder""primitive_cylinder""primitive_cylinder", 'primitive_plane'"primitive_plane""primitive_plane""primitive_plane""primitive_plane""primitive_plane", 'primitive_sphere'"primitive_sphere""primitive_sphere""primitive_sphere""primitive_sphere""primitive_sphere", 'primitives_all'"primitives_all""primitives_all""primitives_all""primitives_all""primitives_all", 'red'"red""red""red""red""red", 'score'"score""score""score""score""score", 'shape_based_matching_3d_data'"shape_based_matching_3d_data""shape_based_matching_3d_data""shape_based_matching_3d_data""shape_based_matching_3d_data""shape_based_matching_3d_data", 'triangles'"triangles""triangles""triangles""triangles""triangles", 'xyz_mapping'"xyz_mapping""xyz_mapping""xyz_mapping""xyz_mapping""xyz_mapping"

结果

如果参数均有效,算子 remove_object_model_3d_attrib_modremove_object_model_3d_attrib_modRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModRemoveObjectModel3dAttribModremove_object_model_3d_attrib_mod 返回值 2 ( H_MSG_TRUE) . 如有必要,将引发异常。

可能的前置算子

set_object_model_3d_attrib_modset_object_model_3d_attrib_modSetObjectModel3dAttribModSetObjectModel3dAttribModSetObjectModel3dAttribModset_object_model_3d_attrib_mod

可能的后置算子

get_object_model_3d_paramsget_object_model_3d_paramsGetObjectModel3dParamsGetObjectModel3dParamsGetObjectModel3dParamsget_object_model_3d_params

可替代算子

remove_object_model_3d_attribremove_object_model_3d_attribRemoveObjectModel3dAttribRemoveObjectModel3dAttribRemoveObjectModel3dAttribremove_object_model_3d_attrib

参考其它

copy_object_model_3dcopy_object_model_3dCopyObjectModel3dCopyObjectModel3dCopyObjectModel3dcopy_object_model_3d, set_object_model_3d_attrib_modset_object_model_3d_attrib_modSetObjectModel3dAttribModSetObjectModel3dAttribModSetObjectModel3dAttribModset_object_model_3d_attrib_mod

模块

3D Metrology