MCPcopy Create free account

hub / github.com/ZhengdiYu/SignAvatars / functions

Functions913 in github.com/ZhengdiYu/SignAvatars

↓ 1 callersMethod_get_renderable_data
(self)
visualizer/aitviewer/renderables/plane.py:93
↓ 1 callersMethod_get_renderable_data
(self, v1, v2, size)
visualizer/aitviewer/renderables/plane.py:199
↓ 1 callersMethod_show_normals
Create and add normals at runtime
visualizer/aitviewer/renderables/meshes.py:644
↓ 1 callersFunctionaa2euler_numpy
Convert rotation vectors (angle-axis representation) to euler angles (XYZ order) :param rotation_vectors: A numpy array of shape (..., 3).
visualizer/aitviewer/utils/so3.py:87
↓ 1 callersMethodadd
(client, remote_uid, args, kwargs, type)
visualizer/aitviewer/server.py:97
↓ 1 callersMethodadd_virtual_marker
(self, intersection)
visualizer/examples/vertex_clicking.py:38
↓ 1 callersMethodauto_set_camera_target
Sets the camera target to the average of the center of all objects in the scene
visualizer/aitviewer/scene/scene.py:253
↓ 1 callersMethodauto_set_floor
Finds the minimum lower bound in the y coordinate from all the children bounds and uses that as the floor
visualizer/aitviewer/scene/scene.py:246
↓ 1 callersFunctionbatch_rigid_transform
Applies a batch of rigid transformations to the joints Parameters ---------- rot_mats : torch.tensor BxNx3x3 Tensor of rotat
common/utils/smplx/smplx/lbs.py:345
↓ 1 callersFunctionbatch_rodrigues
(param)
visualizer/examples/load_hamnosys2motion.py:55
↓ 1 callersFunctionbatch_rodrigues
(param)
visualizer/examples/vis_language2motion.py:50
↓ 1 callersFunctionblend_shapes
Calculates the per vertex displacement due to the blend shapes Parameters ---------- betas : torch.tensor Bx(num_betas) Blend s
common/utils/smplx/smplx/lbs.py:271
↓ 1 callersMethodcapture
(self)
visualizer/aitviewer/streamables/webcam.py:70
↓ 1 callersFunctionclean_fn
(fn, output_folder='output')
common/utils/smplx/tools/clean_ch.py:32
↓ 1 callersFunctionclear_shader_cache
Clear all cached shaders.
visualizer/aitviewer/shaders.py:147
↓ 1 callersMethodcolor_one
(self, index, color)
visualizer/aitviewer/renderables/spheres.py:144
↓ 1 callersMethodcompute_opengl_view_projection
(self, width, height)
visualizer/aitviewer/scene/camera.py:602
↓ 1 callersFunctioncompute_vertex_and_face_normals_torch
Compute (unnormalized) vertex normals for the given vertices. :param vertices: A tensor of shape (N, V, 3). :param faces: A tensor of sha
visualizer/aitviewer/utils/utils.py:169
↓ 1 callersMethodcontains
(self, x: int, y: int)
visualizer/aitviewer/renderer.py:31
↓ 1 callersMethodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
common/utils/smplx/smplx/body_models.py:640
↓ 1 callersMethodcreate_mean_pose
(self, data_struct, flat_hand_mean=False)
common/utils/smplx/smplx/body_models.py:1549
↓ 1 callersMethodcreate_shadowmap
(self, ctx)
visualizer/aitviewer/scene/light.py:115
↓ 1 callersFunctiondirection_from_spherical_coordinates
Converts from spherical coordinates to a direction vector. :param theta: elevation angle from -PI/2 to PI/2, 0 represents the horizon and PI
visualizer/aitviewer/utils/utils.py:269
↓ 1 callersFunctionestimate_translation_np
Find camera translation that brings 3D joints S closest to 2D the corresponding joints_2d. Input: S: (25, 3) 3D joint locations
common/utils/geometry.py:263
↓ 1 callersFunctioneuler2aa_numpy
Convert euler angles (XYZ order) to rotation vectors (angle-axis representation) :param euler_angles: A numpy array of shape (..., 3). :p
visualizer/aitviewer/utils/so3.py:72
↓ 1 callersMethodexport_to_npz
(self, file: Union[IO, str])
visualizer/aitviewer/renderables/smpl.py:340
↓ 1 callersMethodfk
Convert body pose data (joint angles and shape parameters) to positional data (joint and mesh vertex positions). :param poses_body: A
visualizer/aitviewer/models/smpl.py:149
↓ 1 callersMethodfrom_3dpw
Load a 3DPW sequence which might contain multiple people.
visualizer/aitviewer/renderables/smpl.py:263
↓ 1 callersMethodfrom_min_max_diagonal
Create an axis-aligned bounding box from the 3D diagonal. :param v_min: np array of shape (N, 3). :param v_max: np array of s
visualizer/aitviewer/renderables/bounding_boxes.py:68
↓ 1 callersFunctiongenerate_images
Generator that yields 'count' sequential rendered images from the viewer.
visualizer/tests/utils.py:44
↓ 1 callersFunctiongenerate_patch_image
(cvimg, bbox, scale, rot, do_flip, out_shape)
common/utils/preprocessing.py:112
↓ 1 callersFunctionget_aug_config
()
common/utils/preprocessing.py:85
↓ 1 callersFunctionget_chessboard_program
()
visualizer/aitviewer/shaders.py:131
↓ 1 callersFunctionget_coord
(root_pose, body_pose, lhand_pose, rhand_pose, jaw_pose, shape, expr, cam_trans, mode='test', zero_global=Fals
vis.py:107
↓ 1 callersMethodget_current_depth_image
(self)
visualizer/aitviewer/viewer.py:1590
↓ 1 callersMethodget_current_mask_ids
(self, id_map: Dict[int, int] = None)
visualizer/aitviewer/viewer.py:1587
↓ 1 callersMethodget_current_mask_image
(self, color_map: Dict[int, Tuple[int, int, int]] = None, id_map: Dict[int, int] = None)
visualizer/aitviewer/viewer.py:1584
↓ 1 callersMethodget_depth
Render and return the depth buffer as a 'F' PIL image. Depth is stored as the z coordinate in eye (view) space. Therefore val
visualizer/aitviewer/headless.py:115
↓ 1 callersFunctionget_flat_lit_with_edges_face_color_program
(vs, instanced=0)
visualizer/aitviewer/shaders.py:55
↓ 1 callersFunctionget_flat_lit_with_edges_program
(vs, instanced=0)
visualizer/aitviewer/shaders.py:59
↓ 1 callersFunctionget_img_list
(video_path)
visualizer/examples/load_hamnosys2motion.py:69
↓ 1 callersFunctionget_img_list
(video_path)
visualizer/examples/vis_language2motion.py:63
↓ 1 callersFunctionget_lines_instanced_program
()
visualizer/aitviewer/shaders.py:75
↓ 1 callersMethodget_mask
Render and return a color mask as a 'RGB' PIL image. Each object in the mask has a uniform color computed from the Node UID (can be a
visualizer/aitviewer/headless.py:140
↓ 1 callersMethodget_mesh
(self)
visualizer/aitviewer/renderables/lines.py:419
↓ 1 callersMethodget_message
Returns the next message received by the remote viewer. :param block: if True this function blocks until a message is received, othe
visualizer/aitviewer/remote/viewer.py:132
↓ 1 callersMethodget_node_by_remote_uid
Returns the Node corresponding to the remote uid and client passed in. :param remote_uid: the remote uid to look up. :param
visualizer/aitviewer/viewer.py:449
↓ 1 callersFunctionget_smooth_lit_texturized_program
(vs, instanced=0)
visualizer/aitviewer/shaders.py:67
↓ 1 callersFunctionget_smooth_lit_with_edges_face_color_program
(vs, instanced=0)
visualizer/aitviewer/shaders.py:51
↓ 1 callersFunctionget_sphere_instanced_program
()
visualizer/aitviewer/shaders.py:71
↓ 1 callersMethodgui
(self)
visualizer/aitviewer/viewer.py:615
↓ 1 callersMethodgui
(self, imgui)
visualizer/aitviewer/scene/scene.py:404
↓ 1 callersMethodgui_camera
(self, imgui, viewports, viewport_mode)
visualizer/aitviewer/scene/scene.py:434
↓ 1 callersMethodgui_context_menu
(self, imgui, x: int, y: int)
visualizer/aitviewer/scene/node.py:554
↓ 1 callersMethodgui_context_menu
(self, imgui, x: int, y: int)
visualizer/aitviewer/renderables/meshes.py:693
↓ 1 callersMethodgui_editor
GUI to control scene settings.
visualizer/aitviewer/scene/scene.py:420
↓ 1 callersMethodgui_export
(self)
visualizer/aitviewer/viewer.py:861
↓ 1 callersMethodgui_go_to_frame
(self)
visualizer/aitviewer/viewer.py:1188
↓ 1 callersMethodgui_hierarchy
(self, imgui, rs)
visualizer/aitviewer/scene/scene.py:508
↓ 1 callersMethodgui_screenshot
(self)
visualizer/aitviewer/viewer.py:1222
↓ 1 callersMethodgui_selected
GUI to edit the selected node
visualizer/aitviewer/scene/scene.py:347
↓ 1 callersFunctioninitialize_viewer
Resets the viewer to the state expected when running a test.
visualizer/tests/utils.py:30
↓ 1 callersMethodinstanced
Creates and returns an instanced sequence of N frames and I instances. Each instance will have its own position, rotation and scale.
visualizer/aitviewer/renderables/meshes.py:163
↓ 1 callersMethodinteract_with_sequence
Called when the user clicked on a mesh while holding ctrl. :param intersection: The result of intersecting the user click with the sc
visualizer/examples/vertex_clicking.py:57
↓ 1 callersMethodis_transparent
Returns true if the object is transparent and should thus be sorted when rendering. Subclassess that use a different color should imp
visualizer/aitviewer/scene/node.py:439
↓ 1 callersMethodlock_to_node
Create and return a PinholeCamera that follows a node, the target of the camera is the center of the node at each frame and the camer
visualizer/aitviewer/viewer.py:595
↓ 1 callersFunctionmain
(model_folder, model_type='smplx', ext='npz', gender='neutral', plot_joint
common/utils/smplx/examples/demo_layers.py:26
↓ 1 callersFunctionmain
(model_folder, corr_fname, ext='npz', hand_color=(0.3, 0.3, 0.6), gender='neutral', hand='ri
common/utils/smplx/examples/vis_mano_vertices.py:28
↓ 1 callersFunctionmain
(model_folder, corr_fname, ext='npz', head_color=(0.3, 0.3, 0.6), gender='neutral')
common/utils/smplx/examples/vis_flame_vertices.py:28
↓ 1 callersMethodmake_hand_regressor
(self)
common/utils/human_models.py:147
↓ 1 callersFunctionmake_message
(type, uid, args, kwargs)
visualizer/aitviewer/remote/message.py:32
↓ 1 callersMethodmake_renderable
Prepares this object for rendering. This function must be called before `render` is used. :param ctx: The moderngl context.
visualizer/aitviewer/scene/node.py:579
↓ 1 callersFunctionmerge_models
(smplh_fn, mano_left_fn, mano_right_fn, output_folder='output')
common/utils/smplx/tools/merge_smplh_mano.py:29
↓ 1 callersMethodmove_with_animation
(self, end_position, end_target, time=0.25)
visualizer/aitviewer/scene/camera.py:1202
↓ 1 callersMethodname
(self)
common/utils/smplx/smplx/body_models.py:263
↓ 1 callersMethodname
(self)
common/utils/smplx/smplx/body_models.py:1008
↓ 1 callersMethodname
(self)
common/utils/smplx/smplx/body_models.py:1902
↓ 1 callersMethodnext_gui_id
(self)
visualizer/aitviewer/configuration.py:26
↓ 1 callersFunctionnext_id
()
visualizer/aitviewer/remote/node.py:7
↓ 1 callersMethodon_before_frame_update
Called when the current frame is about to change, 'self.current_frame_id' still has the id of the previous frame.
visualizer/aitviewer/scene/node.py:379
↓ 1 callersMethodon_close
Clean up before destroying the window
visualizer/aitviewer/viewer.py:1593
↓ 1 callersMethodon_frame_update
Called when the current frame is changed.
visualizer/aitviewer/scene/node.py:384
↓ 1 callersMethodon_frame_update
(self)
visualizer/aitviewer/renderables/lines.py:339
↓ 1 callersMethodon_selection
Called when the node is selected :param node: the node which was clicked (can be None if the selection wasn't a mouse event)
visualizer/aitviewer/scene/node.py:696
↓ 1 callersMethodpan
Move the camera in the image plane.
visualizer/aitviewer/scene/camera.py:1054
↓ 1 callersMethodpause
Pause the timer by setting the internal pause time using ``time.perf_counter()``
visualizer/aitviewer/utils/perf_timer.py:94
↓ 1 callersFunctionperspective_projection
This function computes the perspective projection of a set of points. Input: points (bs, N, 3): 3D points rotation (bs, 3, 3): Ca
common/utils/geometry.py:232
↓ 1 callersMethodpreprocess
(self, poses_body, betas=None, poses_root=None, trans=None, normalize_root=False)
visualizer/aitviewer/models/star.py:112
↓ 1 callersMethodprocess_message
Default processing of messages. :param type: the type of the message. :param remote_uid: the remote id of the node that this
visualizer/aitviewer/server.py:85
↓ 1 callersFunctionput_text_with_newline
(image, text, org, font, font_scale, color, thickness, line_type=cv2.LINE_AA)
vis.py:56
↓ 1 callersFunctionquat2mat
将四元数转换为旋转矩阵 :param quat: 四元数数组,形状为 (N, 4),其中第一个元素为实部,后三个元素为虚部 :return: 旋转矩阵数组,形状为 (N, 3, 3)
visualizer/examples/load_hamnosys2motion.py:34
↓ 1 callersFunctionquat2mat
(quat)
visualizer/examples/vis_language2motion.py:35
↓ 1 callersFunctionquat_to_rotmat
Convert quaternion coefficients to rotation matrix. Args: quat: size = [B, 4] 4 <===>(w, x, y, z) Returns: Rotation matrix co
common/utils/geometry.py:24
↓ 1 callersFunctionquaternion_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert quaternion vector to angle axis of rotation. Adapted from ceres C
common/utils/geometry.py:104
↓ 1 callersMethodread_fragmap_at_pixel
Given an x/y screen coordinate, get the intersected object, triangle id, and xyz point in camera space.
visualizer/aitviewer/renderer.py:290
↓ 1 callersMethodredraw
(self, **kwargs)
visualizer/aitviewer/scene/light.py:214
↓ 1 callersMethodrelease
(self)
visualizer/aitviewer/renderables/billboard.py:260
↓ 1 callersMethodrelease
(self)
visualizer/aitviewer/renderables/volume.py:321
↓ 1 callersMethodrender
(self, **kwargs)
visualizer/aitviewer/scene/scene.py:141
↓ 1 callersMethodrender
(self, camera, **kwargs)
visualizer/aitviewer/renderables/point_clouds.py:198
← previousnext →201–300 of 913, ranked by callers