Classes | |
class | AppState |
Functions | |
def | axes (size=1, width=1) |
def | convert_fmt (fmt) |
def | frustum (intrinsics) |
def | grid (size=1, n=10, width=1) |
def | handle_mouse_btns (x, y, button, modifiers) |
def | on_draw () |
def | on_key_press (symbol, modifiers) |
def | on_mouse_drag (x, y, dx, dy, buttons, modifiers) |
def | on_mouse_scroll (x, y, scroll_x, scroll_y) |
def | rotation_matrix (axis, theta) |
def | run (dt) |
Variables | |
color_h | |
color_intrinsics = other_profile.get_intrinsics() | |
color_w | |
colorizer = rs.colorizer() | |
config = rs.config() | |
decimate = rs.decimation_filter() | |
depth_intrinsics = depth_profile.get_intrinsics() | |
depth_profile = rs.video_stream_profile(profile.get_stream(rs.stream.depth)) | |
list | filters |
fps_display = pyglet.clock.ClockDisplay() | |
h | |
image_data | |
image_h | |
image_w | |
keys = pyglet.window.key.KeyStateHandler() | |
other_format | |
other_profile = rs.video_stream_profile(profile.get_stream(other_stream)) | |
other_stream | |
pc = rs.pointcloud() | |
pipeline = rs.pipeline() | |
profile = pipeline.get_active_profile() | |
state = AppState() | |
vertex_list | |
w | |
window | |
def pyglet_pointcloud_viewer.axes | ( | size = 1 , |
|
width = 1 |
|||
) |
draw 3d axes
Definition at line 233 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.convert_fmt | ( | fmt | ) |
rs.format to pyglet format string
Definition at line 128 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.frustum | ( | intrinsics | ) |
draw camera's frustum
Definition at line 247 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.grid | ( | size = 1 , |
|
n = 10 , |
|||
width = 1 |
|||
) |
draw a grid on xz plane
Definition at line 271 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.handle_mouse_btns | ( | x, | |
y, | |||
button, | |||
modifiers | |||
) |
Definition at line 181 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.on_draw | ( | ) |
Definition at line 289 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.on_key_press | ( | symbol, | |
modifiers | |||
) |
Definition at line 197 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.on_mouse_drag | ( | x, | |
y, | |||
dx, | |||
dy, | |||
buttons, | |||
modifiers | |||
) |
Definition at line 164 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.on_mouse_scroll | ( | x, | |
y, | |||
scroll_x, | |||
scroll_y | |||
) |
Definition at line 191 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.rotation_matrix | ( | axis, | |
theta | |||
) |
Return the rotation matrix associated with counterclockwise rotation about the given axis by theta radians.
Definition at line 46 of file pyglet_pointcloud_viewer.py.
def pyglet_pointcloud_viewer.run | ( | dt | ) |
Definition at line 387 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.color_h |
Definition at line 148 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.color_intrinsics = other_profile.get_intrinsics() |
Definition at line 147 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.color_w |
Definition at line 148 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.colorizer = rs.colorizer() |
Definition at line 110 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.config = rs.config() |
Definition at line 92 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.decimate = rs.decimation_filter() |
Definition at line 108 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.depth_intrinsics = depth_profile.get_intrinsics() |
Definition at line 103 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.depth_profile = rs.video_stream_profile(profile.get_stream(rs.stream.depth)) |
Definition at line 102 of file pyglet_pointcloud_viewer.py.
list pyglet_pointcloud_viewer.filters |
Definition at line 111 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.fps_display = pyglet.clock.ClockDisplay() |
Definition at line 158 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.h |
Definition at line 104 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.image_data |
Definition at line 153 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.image_h |
Definition at line 146 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.image_w |
Definition at line 146 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.keys = pyglet.window.key.KeyStateHandler() |
Definition at line 124 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.other_format |
Definition at line 95 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.other_profile = rs.video_stream_profile(profile.get_stream(other_stream)) |
Definition at line 144 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.other_stream |
Definition at line 95 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.pc = rs.pointcloud() |
Definition at line 107 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.pipeline = rs.pipeline() |
Definition at line 91 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.profile = pipeline.get_active_profile() |
Definition at line 100 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.state = AppState() |
Definition at line 88 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.vertex_list |
Definition at line 141 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.w |
Definition at line 104 of file pyglet_pointcloud_viewer.py.
pyglet_pointcloud_viewer.window |
Definition at line 118 of file pyglet_pointcloud_viewer.py.