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
↓ 3 callers
Method
render_outline
A pass to render outlines of an object.
visualizer/aitviewer/renderer.py:192
↓ 3 callers
Method
resize
Resize rendering resources on window resize.
visualizer/aitviewer/renderer.py:263
↓ 3 callers
Method
resize
(self, width: int, height: int)
visualizer/aitviewer/viewer.py:1373
↓ 3 callers
Method
send
(self, data)
visualizer/aitviewer/remote/viewer.py:177
↓ 3 callers
Method
show_path
(self)
visualizer/aitviewer/scene/camera.py:319
↓ 3 callers
Method
skeletons
Return how the joints are connected in the kinematic chain where skeleton[0, i] is the parent of joint skeleton[1, i].
visualizer/aitviewer/models/smpl.py:134
↓ 3 callers
Method
stop
(self)
visualizer/aitviewer/streamables/webcam.py:113
↓ 3 callers
Method
update_conf
Update the configuration with another configuration file or another OmegaConf configuration object.
visualizer/aitviewer/configuration.py:52
↓ 3 callers
Method
update_frames
(self, *args, **kwargs)
visualizer/aitviewer/scene/node.py:714
↓ 3 callers
Method
update_rotation
(self)
visualizer/aitviewer/scene/light.py:112
↓ 3 callers
Method
values
(self)
common/utils/smplx/smplx/utils.py:47
↓ 3 callers
Method
view_from_camera
View from the camera with the given index deactivating all other cameras, this also enables the billboard and disables the frustums.
visualizer/aitviewer/renderables/multi_view_system.py:194
↓ 2 callers
Method
__init__
Initializer. :param center: Center of the plane. :param v1: 3D vector lying in the plane. :param v2: 3D vector lying
visualizer/aitviewer/renderables/plane.py:32
↓ 2 callers
Method
_construct_mesh_at_frame
(self, frame_id)
visualizer/aitviewer/renderables/meshes.py:793
↓ 2 callers
Method
_create_billboard_for_camera
Helper function to create a billboard for the camera at the given index.
visualizer/aitviewer/renderables/multi_view_system.py:126
↓ 2 callers
Method
_get_colors
(self)
visualizer/aitviewer/renderables/lines.py:558
↓ 2 callers
Method
_get_vertices
(self)
visualizer/aitviewer/renderables/lines.py:549
↓ 2 callers
Method
_gui_checkboxes
(self, imgui)
visualizer/aitviewer/renderables/multi_view_system.py:275
↓ 2 callers
Method
_load_programs
(self, vs, positions_vs)
visualizer/aitviewer/renderables/meshes.py:525
↓ 2 callers
Method
_mouse_to_viewport
(self, x: int, y: int, viewport: Viewport)
visualizer/aitviewer/viewer.py:1314
↓ 2 callers
Method
_resize_viewports
Computes the size of the viewports depending on the current mode. Uses the window buffer size to update the extents of all existing v
visualizer/aitviewer/viewer.py:320
↓ 2 callers
Function
_rotate_cylinder_to
Rotate vertices and normals such that the main axis of the cylinder aligns with `target`. :param target: A np array of shape (N, 3) specifyin
visualizer/aitviewer/renderables/lines.py:194
↓ 2 callers
Method
_rotation_from_mouse_delta
(self, mouse_dx: int, mouse_dy: int)
visualizer/aitviewer/scene/camera.py:1080
↓ 2 callers
Function
_transform_direction
Apply affine transformation (4-by-4 matrix) to a 3D directon.
visualizer/aitviewer/scene/camera.py:43
↓ 2 callers
Method
_update_debug_lines
(self)
visualizer/aitviewer/scene/light.py:152
↓ 2 callers
Method
_upload_buffers
(self)
visualizer/aitviewer/renderables/lines.py:367
↓ 2 callers
Method
_upload_buffers
(self)
visualizer/aitviewer/renderables/spheres.py:221
↓ 2 callers
Method
_upload_buffers
Upload the current frame data to the GPU for rendering.
visualizer/aitviewer/renderables/meshes.py:474
↓ 2 callers
Method
_use_program
(self, camera, **kwargs)
visualizer/aitviewer/renderables/meshes.py:591
↓ 2 callers
Method
activate_camera
Activates the camera at the given index, showing its frustum and billboard if enabled.
visualizer/aitviewer/renderables/multi_view_system.py:163
↓ 2 callers
Function
add_cube
(viewer: Viewer, pos)
visualizer/tests/test_misc.py:95
↓ 2 callers
Function
batch_rodrigues
Calculates the rotation matrices for a batch of rotation vectors Parameters ---------- rot_vecs: torch.tensor Nx3
common/utils/smplx/smplx/lbs.py:295
↓ 2 callers
Method
closest_vertex_in_triangle
(self, tri_id, point)
visualizer/aitviewer/renderables/meshes.py:384
↓ 2 callers
Function
compute_union_of_bounds
(nodes)
visualizer/aitviewer/utils/utils.py:308
↓ 2 callers
Function
compute_vertex_and_face_normals
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:193
↓ 2 callers
Method
compute_vertex_and_face_normals
Compute face and vertex normals for the given frame. We use an LRU cache since this is a potentially expensive operation. This functi
visualizer/aitviewer/renderables/meshes.py:392
↓ 2 callers
Method
create_framebuffers
Create all framebuffers which depend on the window size. This is called once at startup and every time the window is resized.
visualizer/aitviewer/renderer.py:99
↓ 2 callers
Function
euler2rot_numpy
Convert euler angles (XYZ order) to rotation matrices. :param euler_angles: A numpy array of shape (..., 3). :param degrees: Must be True
visualizer/aitviewer/utils/so3.py:102
↓ 2 callers
Method
export_frame
Save the current frame to an image. :param file_path: the path where the image is saved. :param scale_factor: a scale factor used to s
visualizer/aitviewer/viewer.py:1620
↓ 2 callers
Method
export_video
( self, output_path, frame_dir=None, animation=True, animation_range=N
visualizer/aitviewer/viewer.py:1642
↓ 2 callers
Method
facing_origin
(cls, **kwargs)
visualizer/aitviewer/scene/light.py:79
↓ 2 callers
Function
find_joint_kin_chain
(joint_id, kinematic_tree)
common/utils/smplx/smplx/utils.py:89
↓ 2 callers
Method
fk
Get joints and/or vertices from the poses.
visualizer/aitviewer/renderables/smpl.py:377
↓ 2 callers
Function
gen_trans_from_patch_cv
(c_x, c_y, src_width, src_height, dst_width, dst_height, scale, rot, inv=False)
common/utils/preprocessing.py:143
↓ 2 callers
Method
get_bc_coords_from_points
(self, tri_id, points)
visualizer/aitviewer/renderables/meshes.py:388
↓ 2 callers
Method
get_current_mask_ids
Return a mask as a numpy array of shape (height, width) and type np.uint32. Each element in the array is the UID of the node covering
visualizer/aitviewer/renderer.py:375
↓ 2 callers
Function
get_img_list
(folder_name, from_url=False)
vis.py:84
↓ 2 callers
Method
get_node_by_uid
(self, uid)
visualizer/aitviewer/scene/scene.py:327
↓ 2 callers
Function
get_screen_texture_program
()
visualizer/aitviewer/shaders.py:126
↓ 2 callers
Function
get_simple_unlit_program
()
visualizer/aitviewer/shaders.py:116
↓ 2 callers
Function
get_video_paths
(video_path)
visualizer/aitviewer/utils/utils.py:42
↓ 2 callers
Method
get_view_matrix
(self)
visualizer/aitviewer/scene/camera.py:63
↓ 2 callers
Method
get_view_projection_matrix
(self)
visualizer/aitviewer/scene/camera.py:68
↓ 2 callers
Function
interpolate_positions
Interpolate positions given at timestamps `ts_in` to timestamps given at `ts_out` with a cubic spline. :param positions: A numpy array of sha
visualizer/aitviewer/utils/utils.py:140
↓ 2 callers
Function
interpolate_rotations
Interpolate rotations given at timestamps `ts_in` to timestamps given at `ts_out`. This performs the equivalent of cubic interpolation in SO(
visualizer/aitviewer/utils/so3.py:132
↓ 2 callers
Method
intersect_trackball
Return intersection of a line passing through the mouse position at pixel coordinates x, y and the trackball as a point in world coor
visualizer/aitviewer/scene/camera.py:1108
↓ 2 callers
Method
load_cam
Loads the camera parameters
visualizer/aitviewer/scene/camera.py:991
↓ 2 callers
Function
main
(model_folder, model_type='smplx', ext='npz', gender='neutral', plot_joint
common/utils/smplx/examples/demo.py:26
↓ 2 callers
Method
make_renderable
(self, ctx)
visualizer/aitviewer/scene/scene.py:228
↓ 2 callers
Method
mvp
Return a model-view-projection matrix to project vertices into the view of the light.
visualizer/aitviewer/scene/light.py:142
↓ 2 callers
Function
perspective_projection
Returns a perspective projection matrix.
visualizer/aitviewer/scene/camera_utils.py:61
↓ 2 callers
Method
previous_frame
(self)
visualizer/aitviewer/scene/node.py:376
↓ 2 callers
Method
process_messages
Processes all messages received since the last time this method was called.
visualizer/aitviewer/server.py:77
↓ 2 callers
Function
process_single_video
(file_name, result_path)
vis.py:199
↓ 2 callers
Method
redraw
Upload the current frame data to the GPU for rendering.
visualizer/aitviewer/renderables/point_clouds.py:158
↓ 2 callers
Method
redraw
(self, **kwargs)
visualizer/aitviewer/renderables/volume.py:161
↓ 2 callers
Method
release
(self)
visualizer/aitviewer/renderables/lines.py:432
↓ 2 callers
Function
render
(img, mesh, face, cam_param)
vis.py:150
↓ 2 callers
Method
render
Main rendering function.
visualizer/aitviewer/renderer.py:267
↓ 2 callers
Method
render
(self, camera, **kwargs)
visualizer/aitviewer/renderables/lines.py:386
↓ 2 callers
Method
render
(self, camera, **kwargs)
visualizer/aitviewer/renderables/meshes.py:630
↓ 2 callers
Method
reset
(self)
visualizer/aitviewer/viewer.py:257
↓ 2 callers
Function
rot2euler_numpy
Convert rotation matrices to euler angles (XYZ order) :param rotation_matrices: A numpy array of shape (..., 3, 3). :param degrees: The r
visualizer/aitviewer/utils/so3.py:117
↓ 2 callers
Function
rotate_2d
(pt_2d, rot_rad)
common/utils/preprocessing.py:134
↓ 2 callers
Method
rotate_azimuth_elevation
Rotate the camera position left-right and up-down orbiting around the target (roll is not allowed).
visualizer/aitviewer/scene/camera.py:1098
↓ 2 callers
Method
safe_render
(self, r, **kwargs)
visualizer/aitviewer/scene/scene.py:223
↓ 2 callers
Method
save_cam
Saves the current camera parameters
visualizer/aitviewer/scene/camera.py:973
↓ 2 callers
Method
select_object
Selects the object at pixel coordinates x, y, returns True if an object is selected
visualizer/aitviewer/viewer.py:1343
↓ 2 callers
Method
send_message
Send a message to a single client or to all connected clients. :param msg: a python object that is serialized with pickle and sent t
visualizer/aitviewer/viewer.py:485
↓ 2 callers
Method
set_frame
Set the current active frame of the remote viewer. :param frame: an integer representing the id of the frame.
visualizer/aitviewer/remote/viewer.py:195
↓ 2 callers
Method
set_ortho_grid_viewports
Sets the viewports in a 2x2 grid with a viewport looking at the scene with an orthographic projection from each of the main axes.
visualizer/aitviewer/viewer.py:344
↓ 2 callers
Method
take_screenshot
Save the current frame to an image in the screenshots directory inside the export directory
visualizer/aitviewer/viewer.py:1610
↓ 2 callers
Method
time
Get or set the current time. This can be used to jump around in the timeline. Returns: The current time in seconds
visualizer/aitviewer/utils/perf_timer.py:49
↓ 2 callers
Method
vertex_normals_at
Get or compute the vertex normals at the given frame.
visualizer/aitviewer/renderables/meshes.py:293
↓ 2 callers
Function
video_to_gif
(path_mp4, path_gif, remove=False)
visualizer/aitviewer/utils/utils.py:70
↓ 2 callers
Method
view_from_camera
If the viewer is specified for this camera, change the current view to view from this camera
visualizer/aitviewer/scene/camera.py:363
↓ 1 callers
Method
__getattribute__
(self, *args, **kwargs)
visualizer/aitviewer/utils/exceptions.py:33
↓ 1 callers
Method
__init__
Initializer. :param lines: Set of 3D coordinates as a np array of shape (F, L, 3) or (L, 3). :param r_base: Thickness of the
visualizer/aitviewer/renderables/lines.py:222
↓ 1 callers
Method
__init__
Initializer. :param vertices: A np array of shape (N, V, 3) or (V, 3). :param faces: A np array of shape (F, 3). :par
visualizer/aitviewer/renderables/meshes.py:51
↓ 1 callers
Method
_async_close
(self)
visualizer/aitviewer/remote/viewer.py:211
↓ 1 callers
Method
_async_entry
(self, url)
visualizer/aitviewer/remote/viewer.py:92
↓ 1 callers
Method
_async_send
(self, msg, client)
visualizer/aitviewer/server.py:162
↓ 1 callers
Method
_async_send
(self, data)
visualizer/aitviewer/remote/viewer.py:174
↓ 1 callers
Method
_compute_light_matrix
(position, direction, size, near, far)
visualizer/aitviewer/scene/light.py:135
↓ 1 callers
Method
_compute_transform
(pos, rot, scale)
visualizer/aitviewer/scene/node.py:241
↓ 1 callers
Method
_construct_board
Construct the chessboard mesh.
visualizer/aitviewer/renderables/plane.py:306
↓ 1 callers
Function
_create_cone_from_to
Create a cone from points v1 to v2. :param v1: A np array of shape (N, 3). :param v2: A np array of shape (N, 3). :param radius: The
visualizer/aitviewer/renderables/lines.py:141
↓ 1 callers
Function
_create_cylinder_from_to
Create cylinders from points v1 to v2. :param v1: A np array of shape (N, 3). :param v2: A np array of shape (N, 3). :param radius1:
visualizer/aitviewer/renderables/lines.py:76
↓ 1 callers
Function
_create_sphere
Create a sphere centered at the origin. This is a port of moderngl-window's geometry.sphere() function, but it returns the vertices and faces
visualizer/aitviewer/renderables/spheres.py:33
↓ 1 callers
Method
_get_line_coords
(self)
visualizer/aitviewer/renderables/bounding_boxes.py:88
← previous
next →
101–200 of 913, ranked by callers