utils.Utils_mesh

Classes

UtilsMesh

UtilsMesh()

Attributes

mesh_obj_scale instance-attribute
mesh_obj_scale = config.common_config.multi_scale

Functions

get_objs_attr staticmethod
get_objs_attr(obj_list: list, has_image_box: bool = False)
Parameters:
  • obj_list (list) –

    物体列表

  • has_image_box (bool, default: False ) –

    是否含有image_box

load_normalized_mesh_obj
load_normalized_mesh_obj(obj_mesh_path: str) -> o3d.geometry.TriangleMesh
Parameters:
  • obj_mesh_path (str) –

    物体模型路径

Returns:
  • TriangleMesh

    正则化的物体

obj_adjust
obj_adjust(init_obj: o3d.geometry.TriangleMesh) -> None
Parameters:
  • init_obj (TriangleMesh) –

    初始物体