Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZhengdiYu/SignAvatars
/ functions
Functions
913 in github.com/ZhengdiYu/SignAvatars
⨍
Functions
913
◇
Types & classes
78
↳
Endpoints
1
↓ 82 callers
Method
add
(self, *nodes, **kwargs)
visualizer/aitviewer/scene/node.py:388
↓ 52 callers
Method
copy
(self)
visualizer/aitviewer/scene/camera.py:931
↓ 28 callers
Method
get
(self, key, default=None)
common/utils/smplx/smplx/utils.py:37
↓ 26 callers
Method
run
Enter a blocking visualization loop. This is built following `moderngl_window.run_window_config`. :param args: The arguments passed t
visualizer/aitviewer/viewer.py:496
↓ 22 callers
Method
get_bounds
(self, points)
visualizer/aitviewer/scene/node.py:311
↓ 16 callers
Method
use
(self, ctx)
visualizer/aitviewer/scene/light.py:126
↓ 15 callers
Method
t_pose
Creates a SMPL sequence whose single frame is a SMPL mesh in T-Pose.
visualizer/aitviewer/renderables/smpl.py:314
↓ 15 callers
Function
to_tensor
( array: Union[Array, Tensor], dtype=torch.float32 )
common/utils/smplx/smplx/utils.py:98
↓ 15 callers
Function
to_torch
(x, dtype, device)
visualizer/aitviewer/utils/utils.py:28
↓ 13 callers
Method
items
(self)
common/utils/smplx/smplx/utils.py:51
↓ 12 callers
Method
reset_camera
(self, viewport=None)
visualizer/aitviewer/viewer.py:581
↓ 12 callers
Method
update_transform
Update the model matrix of this node and all of its descendants.
visualizer/aitviewer/scene/node.py:256
↓ 11 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/smpl.py:480
↓ 10 callers
Method
collect_nodes
(self, req_enabled=True, obj_type=Node)
visualizer/aitviewer/scene/scene.py:303
↓ 10 callers
Method
hide_frustum
(self)
visualizer/aitviewer/scene/camera.py:225
↓ 10 callers
Function
lbs
Performs Linear Blend Skinning with the given shape and pose parameters Parameters ---------- betas : torch.tensor BxNB
common/utils/smplx/smplx/lbs.py:152
↓ 10 callers
Method
remove
(self, *nodes)
visualizer/aitviewer/scene/node.py:411
↓ 10 callers
Method
set_camera_matrices
Set the model view projection matrix in the given program.
visualizer/aitviewer/scene/node.py:601
↓ 9 callers
Method
__init__
SMPL model constructor Parameters ---------- model_path: str The path to the folder or to the fi
common/utils/smplx/smplx/body_models.py:49
↓ 9 callers
Method
render
The main drawing function.
visualizer/aitviewer/viewer.py:527
↓ 9 callers
Function
to_np
(array, dtype=np.float32)
common/utils/smplx/smplx/utils.py:113
↓ 8 callers
Function
aa2rot_numpy
Convert rotation vectors (angle-axis representation) to rotation matrices. :param rotation_vectors: A numpy array of shape (..., 3). :ret
visualizer/aitviewer/utils/so3.py:58
↓ 8 callers
Method
close
(self)
visualizer/aitviewer/server.py:193
↓ 8 callers
Method
keys
(self)
common/utils/smplx/smplx/utils.py:43
↓ 8 callers
Function
normalize
(x)
visualizer/aitviewer/scene/camera_utils.py:20
↓ 8 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/lines.py:342
↓ 8 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/meshes.py:514
↓ 8 callers
Method
save_video
Convenience method to run the headless rendering. :param frame_dir: Where to store the individual frames or None if you don't care.
visualizer/aitviewer/headless.py:42
↓ 8 callers
Method
select
Set 'obj' as the selected object
visualizer/aitviewer/scene/scene.py:334
↓ 8 callers
Method
set_temp_camera
(self, camera, viewport=None)
visualizer/aitviewer/viewer.py:588
↓ 8 callers
Method
show_frustum
(self, width, height, distance)
visualizer/aitviewer/scene/camera.py:234
↓ 7 callers
Method
delete
Delete the remote Node from the scene.
visualizer/aitviewer/remote/node.py:56
↓ 7 callers
Method
from_camera_and_distance
Initialize a Billboard from a camera object, a distance from the camera, the size of the image in pixels and the set of images. `imag
visualizer/aitviewer/renderables/billboard.py:123
↓ 7 callers
Function
load_program
(name, defines: dict = None)
visualizer/aitviewer/shaders.py:25
↓ 7 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/spheres.py:197
↓ 6 callers
Method
_add_node
Add a single node :param show_in_hierarchy: Whether to show the node in the scene hierarchy. :param expanded: Whether the nod
visualizer/aitviewer/scene/node.py:391
↓ 6 callers
Method
clear
Clear the window framebuffer and the fragmap framebuffer.
visualizer/aitviewer/renderer.py:85
↓ 6 callers
Function
get_lit_program
(vs, smooth_shading, texture, face_color, instanced=0)
visualizer/aitviewer/shaders.py:30
↓ 6 callers
Function
look_at
Create an affine transformation that locates the camera at `position`, s.t. it looks at `target`. :param position: The 3D position of the cam
visualizer/aitviewer/scene/camera_utils.py:24
↓ 6 callers
Method
release
Release all OpenGL resources used by this node and any of its children. Subclasses that instantiate OpenGL objects should implement t
visualizer/aitviewer/scene/node.py:688
↓ 5 callers
Method
_init_scene
(self)
visualizer/aitviewer/viewer.py:441
↓ 5 callers
Method
_send_msg
(self, type, *args, **kwargs)
visualizer/aitviewer/remote/node.py:28
↓ 5 callers
Function
_transform_vector
Apply affine transformation (4-by-4 matrix) to a 3D vector.
visualizer/aitviewer/scene/camera.py:38
↓ 5 callers
Method
close_connection
Close the connection with the remote viewer.
visualizer/aitviewer/remote/viewer.py:214
↓ 5 callers
Function
compute_vertex_and_face_normals_sparse
Compute (unnormalized) vertex normals for the given vertices. This is a rather expensive operation despite it being fully optimized with nump
visualizer/aitviewer/utils/utils.py:221
↓ 5 callers
Method
from_amass
Load a sequence downloaded from the AMASS website.
visualizer/aitviewer/renderables/smpl.py:207
↓ 5 callers
Function
get_fragmap_program
(vs_path, instanced=0)
visualizer/aitviewer/shaders.py:92
↓ 5 callers
Function
get_outline_program
(vs_path, instanced=0)
visualizer/aitviewer/shaders.py:80
↓ 5 callers
Function
get_smooth_lit_with_edges_program
(vs, instanced=0)
visualizer/aitviewer/shaders.py:47
↓ 5 callers
Method
receive_shadow
Call this function if the renderable is to receive shadows. :param program: The shader program that can shade with shadows. :
visualizer/aitviewer/scene/node.py:607
↓ 5 callers
Method
redraw
Upload the current frame data to the GPU for rendering.
visualizer/aitviewer/renderables/lines.py:565
↓ 5 callers
Function
set_lights_in_program
Set program lighting from scene lights
visualizer/aitviewer/utils/utils.py:293
↓ 5 callers
Function
set_material_properties
(prog, material)
visualizer/aitviewer/utils/utils.py:303
↓ 4 callers
Method
__init__
Initializer :param inactive_color: Color that will be used for rendering this object when inactive :param active_color: Color that w
visualizer/aitviewer/scene/camera.py:107
↓ 4 callers
Method
_add_nodes
Add multiple nodes
visualizer/aitviewer/scene/node.py:406
↓ 4 callers
Method
_render_frame
(self)
visualizer/aitviewer/headless.py:97
↓ 4 callers
Method
center_view_on_selection
(self)
visualizer/aitviewer/viewer.py:1362
↓ 4 callers
Method
create_new_process
Open a Viewer in a new process and return a RemoteViewer connected to it. :param args: This parameter can be used to specify an argu
visualizer/aitviewer/remote/viewer.py:55
↓ 4 callers
Method
extra_repr
(self)
common/utils/smplx/smplx/body_models.py:280
↓ 4 callers
Function
find_dynamic_lmk_idx_and_bcoords
Compute the faces, barycentric coordinates for the dynamic landmarks To do so, we first compute the rotation of the neck around the y-axis
common/utils/smplx/smplx/lbs.py:30
↓ 4 callers
Method
get_current_frame_as_image
(self, alpha=False)
visualizer/aitviewer/viewer.py:1581
↓ 4 callers
Method
get_line_coords
(self, starts, ends)
visualizer/aitviewer/renderables/arrows.py:133
↓ 4 callers
Method
get_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/server.py:182
↓ 4 callers
Method
get_viewport_at_position
(self, x: int, y: int)
visualizer/aitviewer/viewer.py:608
↓ 4 callers
Method
hide_path
(self)
visualizer/aitviewer/scene/camera.py:311
↓ 4 callers
Method
next_frame
(self)
visualizer/aitviewer/scene/node.py:373
↓ 4 callers
Method
prevent_background_interactions
Prevent background interactions when hovering over any imgui window.
visualizer/aitviewer/viewer.py:572
↓ 4 callers
Method
render_positions
Render with a VAO with only positions bound, used for shadow mapping, fragmap and depth prepass.
visualizer/aitviewer/scene/node.py:590
↓ 4 callers
Method
send_message
Send a message to the viewer. See Viewer.process_message() for information about how these parameters are interpreted by the
visualizer/aitviewer/remote/viewer.py:185
↓ 4 callers
Method
start
(self)
visualizer/aitviewer/streamables/webcam.py:95
↓ 4 callers
Method
toggle_animation
(self, run: bool)
visualizer/aitviewer/viewer.py:576
↓ 4 callers
Function
transform_joint_to_other_db
(src_joint, src_name, dst_name)
common/utils/transforms.py:58
↓ 4 callers
Method
update_matrices
(self, width, height)
visualizer/aitviewer/scene/camera.py:649
↓ 4 callers
Function
vertices2landmarks
Calculates landmarks by barycentric interpolation Parameters ---------- vertices: torch.tensor BxVx3, dtype = torch.float32
common/utils/smplx/smplx/lbs.py:108
↓ 3 callers
Function
_create_disk
Create `n_disks` many disks centered at the origin with the given radius1. :param n_disks: How many disks to create. :param radius: Radiu
visualizer/aitviewer/renderables/lines.py:42
↓ 3 callers
Method
_gui_joint
(self, imgui, j, tree=None)
visualizer/aitviewer/renderables/smpl.py:586
↓ 3 callers
Method
_marching_cubes
(self)
visualizer/aitviewer/renderables/volume.py:201
↓ 3 callers
Method
_mouse_to_buffer
(self, x: int, y: int)
visualizer/aitviewer/viewer.py:1311
↓ 3 callers
Method
_readback_data
(self)
visualizer/aitviewer/renderables/volume.py:164
↓ 3 callers
Method
_update_colors
(self)
visualizer/aitviewer/renderables/plane.py:366
↓ 3 callers
Method
add_frames
(self, *args, **kwargs)
visualizer/aitviewer/scene/node.py:717
↓ 3 callers
Function
cam2pixel
(cam_coord, f, c)
common/utils/transforms.py:9
↓ 3 callers
Function
compute_union_of_current_bounds
(nodes)
visualizer/aitviewer/utils/utils.py:320
↓ 3 callers
Method
deactivate_camera
Deactivates the camera at the given index, hiding its frustum and billboard if enabled.
visualizer/aitviewer/renderables/multi_view_system.py:179
↓ 3 callers
Method
dolly_zoom
Zoom by moving the camera along its view direction. If move_target is true the camera target will also move rigidly with the camera.
visualizer/aitviewer/scene/camera.py:1024
↓ 3 callers
Function
get_depth_only_program
(vs_path, instanced=0)
visualizer/aitviewer/shaders.py:104
↓ 3 callers
Method
get_local_bounds
(self, points)
visualizer/aitviewer/scene/node.py:291
↓ 3 callers
Method
get_local_transform
Construct local transform as a 4x4 matrix from this node's position, orientation and scale.
visualizer/aitviewer/scene/node.py:252
↓ 3 callers
Function
get_marching_cubes_shader
(name, BX, BY, BZ, COMPACT_GROUP_SIZE)
visualizer/aitviewer/shaders.py:136
↓ 3 callers
Method
get_projection_matrix
(self)
visualizer/aitviewer/scene/camera.py:58
↓ 3 callers
Method
gui_context_menu
(self, imgui, x: int, y: int)
visualizer/aitviewer/scene/camera.py:382
↓ 3 callers
Method
is_selected
Returns true if obj is currently selected
visualizer/aitviewer/scene/scene.py:343
↓ 3 callers
Function
local_to_global
Convert relative joint angles to global ones by unrolling the kinematic chain. :param poses: A tensor of shape (N, N_JOINTS*3) defining the r
visualizer/aitviewer/utils/utils.py:332
↓ 3 callers
Method
make_renderable
Prepares this object for rendering. This function must be called before `render` is used.
visualizer/aitviewer/renderables/meshes.py:538
↓ 3 callers
Method
mesh_mouse_intersection
Given an x/y screen coordinate, get the intersected object, triangle id, and xyz point in camera space
visualizer/aitviewer/viewer.py:1320
↓ 3 callers
Function
orthographic_projection
Returns an orthographic projection matrix.
visualizer/aitviewer/scene/camera_utils.py:50
↓ 3 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/arrows.py:139
↓ 3 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/rigid_bodies.py:134
↓ 3 callers
Method
release
(self)
visualizer/aitviewer/renderables/meshes.py:585
↓ 3 callers
Method
remove_frames
(self, *args, **kwargs)
visualizer/aitviewer/scene/node.py:720
next →
1–100 of 913, ranked by callers