MCPcopy Create free account

hub / github.com/OpenMeshLab/MeshXL / functions

Functions118 in github.com/OpenMeshLab/MeshXL

Functionrotate_pc_along_y
Input ps is NxC points with first 3 channels as XYZ z is facing forward, x is left ward, y is downward
utils/pc_util.py:90
Functionrotate_point_cloud
Input: (n,3), Output: (n,3)
utils/pc_util.py:76
Functionroty
Rotation about the y-axis.
utils/pc_util.py:101
Functionroty_batch
Rotation about the y-axis. t: (x1,x2,...xn) return: (x1,x2,...,xn,3,3)
utils/pc_util.py:108
Functionrotz
Rotation about the z-axis.
utils/pc_util.py:125
Functionscale_points
(pred_xyz, mult_factor)
utils/pc_util.py:69
Functionshift_scale_points
pred_xyz: B x N x 3 src_range: [[B x 3], [B x 3]] - min and max XYZ coords dst_range: [[B x 3], [B x 3]] - min and max XYZ coords
utils/pc_util.py:38
Methodsynchronize_between_processes
Warning: does not synchronize the deque!
utils/misc.py:58
Functionto_list_1d
(arr)
utils/misc.py:14
Functionto_list_3d
(arr)
utils/misc.py:20
Methodtrain
(self, mode: bool = True)
models/x_mesh_xl/get_model.py:12
Methodvalue
(self)
utils/misc.py:90
Functionwrite_bbox
bbox: (cx, cy, cz, lx, ly, lz, r), center and length in three axis, the last is the rotation output_file: string
utils/ply_helper.py:116
Functionwrite_bbox
Export scene bbox to meshes Args: scene_bbox: (N x 6 numpy array): xyz pos of center and 3 lengths out_filename: (string) filename
utils/pc_util.py:145
Functionwrite_lines_as_cylinders
Create lines represented as cylinders connecting pairs of 3D points Args: pcl: (N x 2 x 3 numpy array): N pairs of xyz pos filenam
utils/pc_util.py:272
Functionwrite_oriented_bbox
Export oriented (around Z axis) scene bbox to meshes Args: scene_bbox: (N x 7 numpy array): xyz pos of center and 3 lengths (dx,dy,dz)
utils/pc_util.py:178
Functionwrite_oriented_bbox_camera_coord
Export oriented (around Y axis) scene bbox to meshes Args: scene_bbox: (N x 7 numpy array): xyz pos of center and 3 lengths (dx,dy,dz)
utils/pc_util.py:231
Functionwrite_path
(points, color, output_file)
utils/ply_helper.py:179
← previous101–118 of 118, ranked by callers