MCPcopy Create free account

hub / github.com/ZhengdiYu/SignAvatars / functions

Functions913 in github.com/ZhengdiYu/SignAvatars

↓ 1 callersMethodrender
(self, camera, **kwargs)
visualizer/aitviewer/renderables/plane.py:126
↓ 1 callersMethodrender
(self, camera, **kwargs)
visualizer/aitviewer/renderables/spheres.py:229
↓ 1 callersMethodrender
(self, camera, **kwargs)
visualizer/aitviewer/renderables/billboard.py:216
↓ 1 callersMethodrender_depth_prepass
(self, camera, **kwargs)
visualizer/aitviewer/scene/node.py:665
↓ 1 callersMethodrender_fragmap
A pass to render the fragment picking map, i.e. render the scene with world coords as colors.
visualizer/aitviewer/renderer.py:154
↓ 1 callersMethodrender_scene
Render the current scene to the framebuffer without time accounting and GUI elements.
visualizer/aitviewer/renderer.py:164
↓ 1 callersMethodrender_shadowmap
A pass to render the shadow map, i.e. render the entire scene once from the view of the light.
visualizer/aitviewer/renderer.py:141
↓ 1 callersMethodrender_viewport
Render the scene for a viewport with the given camera.
visualizer/aitviewer/renderer.py:214
↓ 1 callersFunctionresample_positions
Resample 3D positions from `fps_in` to `fps_out`. :param positions: A numpy array of shape (F, ...). :param fps_in: The frequency of the
visualizer/aitviewer/utils/utils.py:153
↓ 1 callersFunctionresample_rotations
Resample a motion sequence from `fps_in` to `fps_out`. :param rotations: A numpy array of shape (F, N, 3), i.e. in angle-axis form. :para
visualizer/aitviewer/utils/so3.py:150
↓ 1 callersFunctionrigid_transform_3D
(A, B)
common/utils/transforms.py:33
↓ 1 callersFunctionrot_mat_to_euler
(rot_mats)
common/utils/smplx/smplx/utils.py:119
↓ 1 callersMethodrotate
Rotate the camera. Called on mouse movement.
visualizer/aitviewer/scene/camera.py:1166
↓ 1 callersMethodrotate_azimuth
Rotate around camera's up-axis by given angle (in radians).
visualizer/aitviewer/scene/camera.py:1071
↓ 1 callersMethodrotate_first_person
Rotate the camera target left-right and up-down (roll is not allowed).
visualizer/aitviewer/scene/camera.py:1103
↓ 1 callersMethodrotate_start
Start rotating the camera. Called on mouse button press.
visualizer/aitviewer/scene/camera.py:1158
↓ 1 callersMethodrotate_trackball
Rotate the camera with trackball controls. Must be called after rotate_start().
visualizer/aitviewer/scene/camera.py:1134
↓ 1 callersFunctionrotation_matrix_to_angle_axis
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to Rodrigues vector Args: rotation_ma
common/utils/geometry.py:75
↓ 1 callersFunctionrotation_matrix_to_quaternion
This function is borrowed from https://github.com/kornia/kornia Convert 3x4 rotation matrix to 4d quaternion vector This algorithm is bas
common/utils/geometry.py:151
↓ 1 callersMethodsafe_render_depth_prepass
(self, r, **kwargs)
visualizer/aitviewer/scene/scene.py:218
↓ 1 callersFunctionsanitize_bbox
(bbox, img_width, img_height)
common/utils/preprocessing.py:47
↓ 1 callersMethodsave_current_frame_as_image
Saves the current frame as an image to disk.
visualizer/aitviewer/viewer.py:1572
↓ 1 callersMethodserve
(websocket)
visualizer/aitviewer/server.py:44
↓ 1 callersFunctionspherical_coordinates_from_direction
Converts from a normalized direction vector to spherical coordinates. :param v: direction vector as np array of shape (3) :param degrees
visualizer/aitviewer/utils/utils.py:252
↓ 1 callersMethodstart
Start the timer by recoding the current ``time.perf_counter()`` preparing to report the number of seconds since this timestamp.
visualizer/aitviewer/utils/perf_timer.py:83
↓ 1 callersMethodstreamable_capture
(self)
visualizer/aitviewer/viewer.py:566
↓ 1 callersMethodtransform
(x)
visualizer/aitviewer/scene/camera.py:251
↓ 1 callersFunctiontransform_mat
Creates a batch of transformation matrices Args: - R: Bx3x3 array of a batch of rotation matrices - t: Bx3x1 array of
common/utils/smplx/smplx/lbs.py:332
↓ 1 callersMethodupdate_animation
(self, dt)
visualizer/aitviewer/scene/camera.py:1211
↓ 1 callersMethodupdate_matrices
(self, width, height)
visualizer/aitviewer/scene/camera.py:782
↓ 1 callersMethodvertex_faces
Return a matrix that returns a list of faces each vertex is contributing to. `vertices` should have have shape (V, 3).
visualizer/aitviewer/models/smpl.py:109
↓ 1 callersFunctionvertices2joints
Calculates the 3D joint locations from the vertices Parameters ---------- J_regressor : torch.tensor JxV The regressor array tha
common/utils/smplx/smplx/lbs.py:251
↓ 1 callersMethodwith_level_sets
Crates an SDF object with additional level sets inside and/or outside the mesh. Additionally a starting and end color can be specifie
visualizer/aitviewer/renderables/sdf.py:136
Method__call__
(self)
visualizer/aitviewer/utils/decorators.py:55
Method__enter__
(self)
visualizer/aitviewer/remote/viewer.py:48
Method__exit__
(self, *args)
visualizer/aitviewer/remote/viewer.py:51
Method__getattr__
(self, item)
visualizer/aitviewer/configuration.py:60
Method__getattr__
(self, item)
visualizer/aitviewer/configuration.py:82
Method__getitem__
(self, key)
common/utils/smplx/smplx/utils.py:34
Method__init__
(self)
common/utils/human_models.py:10
Method__init__
(self)
common/utils/human_models.py:182
Method__init__
(self, **kwargs)
common/utils/smplx/smplx/utils.py:108
Method__init__
(self, vertex_ids=None, use_hands=True, use_feet_keypoints=True, **kwargs)
common/utils/smplx/smplx/vertex_joint_selector.py:31
Method__init__
( self, *args, **kwargs )
common/utils/smplx/smplx/body_models.py:376
Method__init__
SMPLH model constructor Parameters ---------- model_path: str The path to the folder or to the f
common/utils/smplx/smplx/body_models.py:487
Method__init__
SMPL+H as a layer model constructor
common/utils/smplx/smplx/body_models.py:733
Method__init__
SMPLX model constructor Parameters ---------- model_path: str The path to the folder or to the f
common/utils/smplx/smplx/body_models.py:835
Method__init__
( self, *args, **kwargs )
common/utils/smplx/smplx/body_models.py:1216
Method__init__
MANO model constructor Parameters ---------- model_path: str The path to the folder or to the fi
common/utils/smplx/smplx/body_models.py:1416
Method__init__
MANO as a layer model constructor
common/utils/smplx/smplx/body_models.py:1622
Method__init__
FLAME model constructor Parameters ---------- model_path: str The path to the folder or to the f
common/utils/smplx/smplx/body_models.py:1693
Method__init__
FLAME as a layer model constructor
common/utils/smplx/smplx/body_models.py:2053
Method__init__
(self, extents: Tuple[int, int, int, int], camera: CameraInterface)
visualizer/aitviewer/renderer.py:17
Method__init__
(self, ctx: moderngl.Context, wnd: BaseWindow, window_type: str)
visualizer/aitviewer/renderer.py:53
Method__init__
Initializer. :param title: Window title :param size: Window size as (width, height) tuple, if None uses the size from the con
visualizer/aitviewer/viewer.py:101
Method__init__
Initializer. :param frame_dir: Where to save the frames to. :param kwargs: kwargs.
visualizer/aitviewer/headless.py:30
Method__init__
(self)
visualizer/aitviewer/configuration.py:30
Method__init__
Initializer. :param viewer: the viewer for which the server processes messages. :param port: the TCP port number to which the
visualizer/aitviewer/server.py:21
Method__init__
:param name: Name of the node :param icon: Custom Node Icon using custom Icon font :param position: Starting position in the
visualizer/aitviewer/scene/node.py:30
Method__init__
( self, light_color=(1.0, 1.0, 1.0), elevation=-90.0, azimuth=0.0, str
visualizer/aitviewer/scene/light.py:35
Method__init__
:param diffuse: diffuse coefficient in Phong shading model :param ambient: ambient coefficient in Phong shading model :param
visualizer/aitviewer/scene/material.py:22
Method__init__
Create a scene with a name.
visualizer/aitviewer/scene/scene.py:36
Method__init__
(self)
visualizer/aitviewer/scene/camera.py:53
Method__init__
Initializer. :param scale: A np array of scale parameters [sx, sy] of shape (2) or a sequence of parameters of shape (N, 2) :param tra
visualizer/aitviewer/scene/camera.py:402
Method__init__
Initializer. :param K: A np array of camera intrinsics in the format used by OpenCV (3, 3) or (N, 3, 3), one for each frame. :param R
visualizer/aitviewer/scene/camera.py:518
Method__init__
( self, position, target, cols, rows, fov=45, near=Non
visualizer/aitviewer/scene/camera.py:729
Method__init__
(self, fov=45, orthographic=None, znear=None, zfar=None)
visualizer/aitviewer/scene/camera.py:879
Method__init__
Initializer. :param host: the IP address of a host to connect to as a string. :param port: the TCP port to connect to.
visualizer/aitviewer/remote/viewer.py:14
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the Node constructor on the remote Viewer.
visualizer/aitviewer/remote/node.py:16
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the Lines constructor on the remote Viewer.
visualizer/aitviewer/remote/renderables/lines.py:8
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the Arrows constructor on the remote Viewer.
visualizer/aitviewer/remote/renderables/arrows.py:8
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the SMPLLayer or SMPLSequence classes.
visualizer/aitviewer/remote/renderables/smpl.py:8
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the Spheres constructor on the remote Viewer.
visualizer/aitviewer/remote/renderables/spheres.py:8
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the Meshes constructor on the remote Viewer.
visualizer/aitviewer/remote/renderables/meshes.py:8
Method__init__
This initializer takes a RemoteViewer object and all other arguments are forwarded to the RigidBodies constructor on the remote Viewe
visualizer/aitviewer/remote/renderables/rigid_bodies.py:8
Method__init__
(self, **kwargs)
visualizer/aitviewer/utils/pyqt5_window.py:28
Method__init__
(self, exc)
visualizer/aitviewer/utils/exceptions.py:30
Method__init__
(self, fn)
visualizer/aitviewer/utils/decorators.py:41
Method__init__
(self, window, window_type)
visualizer/aitviewer/utils/imgui_integration.py:26
Method__init__
(self, **kwargs)
visualizer/aitviewer/utils/perf_timer.py:31
Method__init__
Initializer. :param volume: np array of shape (X, Y, Z) of signed distance values :param size: size of the volume in local units.
visualizer/aitviewer/renderables/sdf.py:35
Method__init__
(self, length=1.0, icon="\u008a", **kwargs)
visualizer/aitviewer/renderables/coordinate_system.py:27
Method__init__
Initializer. :param lines: Set of 3D coordinates as a np array of shape (F, L, 3) or (L, 3). :param color: Color of the line
visualizer/aitviewer/renderables/lines.py:453
Method__init__
Initializer. :param vertices: Set of 3D coordinates as a np array of shape (N, 8, 3). The vertices will be connected in the
visualizer/aitviewer/renderables/bounding_boxes.py:29
Method__init__
Initializer. :param origins: Set of 3D coordinates of the base of the arrows as a np array of shape (N, B, 3). :param tips: S
visualizer/aitviewer/renderables/arrows.py:28
Method__init__
A sequence of point clouds. Each point cloud can have a varying number of points. :param points: Sequence of points (F, P, 3)
visualizer/aitviewer/renderables/point_clouds.py:35
Method__init__
Load a MultiViewSystem from a file with camera information for M cameras and the path to a directory with M subdirectories, containin
visualizer/aitviewer/renderables/multi_view_system.py:31
Method__init__
Initializer. :param side_length: Length of one side of the plane. :param n_tiles: Number of tiles for the chessboard pattern.
visualizer/aitviewer/renderables/plane.py:153
Method__init__
Initializer. :param side_length: Length of one side of the plane. :param n_tiles: Number of tiles for the chessboard pattern.
visualizer/aitviewer/renderables/plane.py:265
Method__init__
Initializer. :param poses_body: An array (numpy ar pytorch) of shape (F, N_JOINTS*3) containing the pose parameters of the
visualizer/aitviewer/renderables/smpl.py:51
Method__init__
Initializer. :param positions: A numpy array of shape (F, N, 3) or (N, 3) containing N sphere positions for F time steps. :pa
visualizer/aitviewer/renderables/spheres.py:72
Method__init__
Initializer. :param vertices: A np array of 4 billboard vertices in world space coordinates of shape (4, 3) or an arra
visualizer/aitviewer/renderables/billboard.py:39
Method__init__
Initializer. :param vertices: A list of length N with np arrays of size (V_n, 3). :param faces: A list of length N with np ar
visualizer/aitviewer/renderables/meshes.py:735
Method__init__
( self, poses_body, smpl_layer, poses_root, betas=None, trans=
visualizer/aitviewer/renderables/star.py:31
Method__init__
Initializer. :param joint_positions: A np array of shape (F, J, 3) containing J joint positions over F many time steps. :para
visualizer/aitviewer/renderables/skeletons.py:30
Method__init__
Initializer. :param rb_pos: A np array of shape (F, N, 3) containing N rigid-body centers over F time steps. :param rb_ori: A
visualizer/aitviewer/renderables/rigid_bodies.py:33
Method__init__
Initializer. volume: :param volume: np array of shape (Z, Y, X) of signed distance values. :param size: size of the
visualizer/aitviewer/renderables/volume.py:29
Method__init__
Initializer. :param model_type: Which type of SMPL model to load, currently SMPL, SMPL-H and SMPL-X are supported. :param gen
visualizer/aitviewer/models/smpl.py:34
Method__init__
Initializer. :param gender: Which gender to load. :param num_betas: Number of shape components. Keep in mind STAR and SMPL sh
visualizer/aitviewer/models/star.py:37
Method__init__
(self, **kwargs)
visualizer/aitviewer/streamables/streamable.py:23
← previousnext →301–400 of 913, ranked by callers