MCPcopy Create free account

hub / github.com/vispy/vispy / functions

Functions4,580 in github.com/vispy/vispy

↓ 2 callersMethod__init__
(self, parent=None)
examples/scene/realtime_data/ex03a_data_sources_timer.py:77
↓ 2 callersMethod__init__
(self, data, offset, scale)
examples/benchmark/scene_test_2.py:80
↓ 2 callersMethod__init__
(self, **kwargs)
examples/benchmark/scene_test_1.py:94
↓ 2 callersMethod__init__
Main VisPy Canvas for simulation of physical system. Parameters ---------- d1 : float Length of rod (in
examples/demo/visuals/wiggly_bar.py:216
↓ 2 callersMethod__init__
(self, **kwargs)
examples/demo/gloo/glsl_sandbox_cube.py:63
↓ 2 callersMethod__init__
(self, header_file, parse_now=True)
codegen/headerparser.py:29
↓ 2 callersMethod__setattr__
(self, key, value)
vispy/util/frozen.py:12
↓ 2 callersMethod__str__
Shorter string representation
vispy/util/event.py:141
↓ 2 callersMethod_add_function
(self, des)
codegen/createglapi.py:332
↓ 2 callersMethod_add_gridding_dim_constraints
Add constraint: all viewbox dims in each dimension are equal. With all dims the reserved space for a widget with a col_span and row_span of 1
vispy/scene/widgets/grid.py:322
↓ 2 callersMethod_add_total_dim_length_constraints
Add constraint: total height == sum(col heights) + sum(spacing). The total height of the grid is constrained to be equal to the sum of the he
vispy/scene/widgets/grid.py:288
↓ 2 callersMethod_append_definition
Add an output line. Can be multiple lines.
codegen/headerparser.py:136
↓ 2 callersFunction_arcball
Convert x,y coordinates to w,x,y,z Quaternion parameters Adapted from: linalg library Copyright (c) 2010-2015, Renaud Blanch <rndblnch
vispy/scene/cameras/arcball.py:89
↓ 2 callersFunction_arcball
Convert x,y coordinates to w,x,y,z Quaternion parameters Adapted from: linalg library Copyright (c) 2010-2015, Renaud Blanch <rndblnch
examples/basics/visuals/arcball.py:55
↓ 2 callersFunction_array_clip_val
Helper to turn val into array and clip between 0 and 1
vispy/color/color_array.py:69
↓ 2 callersMethod_assign_name
Assign *name* to *obj* in *shaders*.
vispy/visuals/shaders/compiler.py:196
↓ 2 callersMethod_axis_ends
(self)
vispy/scene/widgets/axis.py:47
↓ 2 callersMethod_block_updates
(self)
vispy/scene/cameras/base_camera.py:241
↓ 2 callersFunction_broadcast_color
Broadcast color (4,) to (n, 4) or return (n, 4) as-is.
vispy/visuals/markers.py:1083
↓ 2 callersFunction_broadcast_scalar
Broadcast scalar or array to length n.
vispy/visuals/markers.py:1075
↓ 2 callersMethod_build_clipping_planes_glsl
Build the code snippet used to clip the volume based on self.clipping_planes.
vispy/visuals/filters/clipping_planes.py:80
↓ 2 callersMethod_calc_complex_clim
(self, data=None)
vispy/visuals/image_complex.py:125
↓ 2 callersFunction_calculate_delta_pos
Helper to calculate the delta position
vispy/visuals/graphs/layouts/force_directed.py:183
↓ 2 callersMethod_calculate_spectrogram
(self)
vispy/visuals/spectrogram.py:147
↓ 2 callersMethod_check_key_val
(self, key, val)
vispy/util/config.py:267
↓ 2 callersMethod_check_orientation
(orientation)
vispy/visuals/colorbar.py:172
↓ 2 callersFunction_check_res
(res)
vispy/ext/egl.py:295
↓ 2 callersMethod_compute_edges
(self, indexed=None)
vispy/geometry/meshdata.py:620
↓ 2 callersMethod_compute_iso_color
Compute LineVisual color from level index and corresponding color
vispy/visuals/isocurve.py:160
↓ 2 callersMethod_compute_iso_color
Compute LineVisual color from level index and corresponding level color
vispy/visuals/isoline.py:213
↓ 2 callersMethod_compute_texture_shape
Compute uniform texture shape
vispy/visuals/collections/base_collection.py:439
↓ 2 callersMethod_compute_unindexed_vertices
(self)
vispy/geometry/meshdata.py:579
↓ 2 callersMethod_configure_gl_state
(self)
vispy/visuals/visual.py:520
↓ 2 callersMethod_connect_emitters
(self, connect)
vispy/util/event.py:734
↓ 2 callersMethod_convert_complex_to_float_view
(complex_arr)
vispy/visuals/image_complex.py:82
↓ 2 callersMethod_data_num_channels
(self, data)
vispy/visuals/_scalable_textures.py:183
↓ 2 callersMethod_destroy_surface
(self)
vispy/app/backends/_egl.py:176
↓ 2 callersMethod_draw_scene
(self, bgcolor=None)
vispy/scene/canvas.py:281
↓ 2 callersMethod_edge_event
Force edge (i, j) to be present in mesh. This works by removing intersected triangles and filling holes up to the cutting edge.
vispy/geometry/triangulation.py:251
↓ 2 callersMethod_edge_opposite_point
Given a triangle, return the edge that is opposite point i. Vertexes are returned in the same orientation as in tri.
vispy/geometry/triangulation.py:449
↓ 2 callersFunction_fast_cross_3d
Compute cross product between list of 3D vectors Much faster than np.cross() when the number of cross products becomes large (>500). This is
vispy/geometry/calculations.py:38
↓ 2 callersFunction_find_controls
(x, controls=None, clip=None)
vispy/color/colormap.py:48
↓ 2 callersMethod_find_cut_triangle
Return the triangle that has edge[0] as one of its vertices and is bisected by edge. Return None if no triangle is found.
vispy/geometry/triangulation.py:418
↓ 2 callersFunction_fix_colors
(colors)
vispy/geometry/meshdata.py:8
↓ 2 callersMethod_forget_last_event
(self)
vispy/app/canvas.py:682
↓ 2 callersFunction_generate_random_line_positions
(num_points, dtype=np.float32)
examples/scene/realtime_data/ex03b_data_sources_threaded_loop.py:93
↓ 2 callersFunction_generate_random_line_positions
(num_points, dtype=np.float32)
examples/scene/realtime_data/ex03c_data_sources_threaded_events.py:93
↓ 2 callersFunction_generate_random_line_positions
(num_points, dtype=np.float32)
examples/scene/realtime_data/ex03a_data_sources_timer.py:138
↓ 2 callersMethod_generate_stars
(self)
examples/demo/gloo/spacy.py:140
↓ 2 callersFunction_get_args
(function, varargs=False)
vispy/util/config.py:472
↓ 2 callersMethod_get_argtype_str
(self, es2func)
codegen/createglapi.py:398
↓ 2 callersMethod_get_dim_vectors
(self)
vispy/scene/cameras/perspective.py:298
↓ 2 callersFunction_get_dpi_from
Match pattern against the output of func, passing the results as floats to func. If anything fails, return None.
vispy/util/dpi/_linux.py:15
↓ 2 callersFunction_get_gl_version
Helper to get the GL version string
vispy/gloo/gl/gl2.py:56
↓ 2 callersFunction_get_k_p_a
This actually calculates the kerning + advance
vispy/util/fonts/_quartz.py:164
↓ 2 callersMethod_get_verts_and_connect
Retrieve vertices and connects from given paths-list
vispy/visuals/isocurve.py:107
↓ 2 callersFunction_get_vispy_app_dir
Helper to get the default directory for storing vispy data
vispy/util/config.py:189
↓ 2 callersFunction_get_vispy_caller
Helper to get vispy calling function from the stack
vispy/util/logs.py:20
↓ 2 callersFunction_get_vispy_font_filename
Fetch a remote vispy font
vispy/util/fonts/_vispy_fonts.py:14
↓ 2 callersFunction_glGetFloatv
(pname)
vispy/gloo/gl/_es2.py:470
↓ 2 callersFunction_glGetIntegerv
(pname)
vispy/gloo/gl/_es2.py:493
↓ 2 callersMethod_init_view
(self, view)
vispy/visuals/image.py:406
↓ 2 callersMethod_insert_text_buf
Insert text into bytes buffers
vispy/scene/widgets/console.py:341
↓ 2 callersMethod_internalformat_will_change
(self, data)
vispy/visuals/_scalable_textures.py:423
↓ 2 callersMethod_invoke_callback
(self, cb, event)
vispy/util/event.py:467
↓ 2 callersMethod_is_global
Return True if *obj* should be declared in the global namespace. Some objects need to be declared only in per-shader namespaces: func
vispy/visuals/shaders/compiler.py:173
↓ 2 callersMethod_keyEvent
(self, func, ev)
vispy/app/backends/_qt.py:703
↓ 2 callersMethod_levels_to_colors
(self)
vispy/visuals/isoline.py:190
↓ 2 callersFunction_load_config
Helper to load prefs from ~/.vispy/vispy.json
vispy/util/config.py:311
↓ 2 callersFunction_load_glyph
(f, char, glyphs_dict)
vispy/util/fonts/_quartz.py:86
↓ 2 callersFunction_make_png
Convert numpy array to PNG byte array. Parameters ---------- data : numpy.ndarray Data must be (H, W, 3 | 4) with dtype = np.ubyt
vispy/io/image.py:15
↓ 2 callersFunction_make_test_data
(shape, input_dtype)
vispy/visuals/tests/test_image.py:43
↓ 2 callersMethod_merge_duplicate_points
(self)
vispy/geometry/triangulation.py:613
↓ 2 callersMethod_name
Helper to get the class name once it's been created
vispy/color/color_array.py:162
↓ 2 callersMethod_name_available
Return True if *name* is available for *obj* in *shaders*.
vispy/visuals/shaders/compiler.py:186
↓ 2 callersMethod_native_call_line
(self, name, es2func, cargstr=None, prefix="", indent=4)
codegen/createglapi.py:435
↓ 2 callersMethod_new_explosion
(self)
examples/demo/gloo/fireworks.py:126
↓ 2 callersMethod_normalize
Make the quaternion unit length.
vispy/util/quaternion.py:40
↓ 2 callersMethod_normalize_cb
(self, callback)
vispy/util/event.py:388
↓ 2 callersMethod_normalize_shape
(self, data_or_shape)
vispy/gloo/texture.py:174
↓ 2 callersMethod_on_configure
Called when the frame get configured or resized.
vispy/app/backends/_tk.py:444
↓ 2 callersMethod_on_data_updated
(self, event=None)
vispy/visuals/filters/base_filter.py:211
↓ 2 callersMethod_on_draw
(self, _id=None)
vispy/app/backends/_egl.py:237
↓ 2 callersMethod_on_resize
(self, _id, w, h)
vispy/app/backends/_glfw.py:392
↓ 2 callersMethod_parse_keys
Helper to parse key states into Vispy keys. Parameters ---------- e : tk.Event The passed in Event. Retu
vispy/app/backends/_tk.py:492
↓ 2 callersMethod_pre_draw
(self)
vispy/gloo/glir.py:1279
↓ 2 callersMethod_prepare_data
(self, data)
vispy/gloo/buffer.py:147
↓ 2 callersMethod_prepare_draw
This visual is about to be drawn. Visuals should implement this method to ensure that all program and GL state variables are updated
vispy/visuals/visual.py:447
↓ 2 callersMethod_processKey
(self, key)
vispy/app/backends/_pyglet.py:429
↓ 2 callersFunction_process_key
Helper to convert from wx keycode to vispy keycode
vispy/app/backends/_wx.py:180
↓ 2 callersMethod_process_pending_variables
Try to apply the variables that were set but not known yet.
vispy/gloo/program.py:297
↓ 2 callersMethod_render_edf
Render an EDF to a texture
vispy/visuals/text/_sdf_gpu.py:286
↓ 2 callersMethod_render_picking
Render the scene in picking mode, returning a 2D array of visual IDs in the area specified by crop. Parameters ----------
vispy/scene/canvas.py:491
↓ 2 callersFunction_rescale_layout
Normalize the given coordinate list to the range [0, `scale`]. Parameters ---------- pos : array Coordinate list scale :
vispy/visuals/graphs/util.py:98
↓ 2 callersMethod_resize
(self, width, height, physical_width, physical_height)
examples/gloo/gl/cube.py:218
↓ 2 callersMethod_returns
(self, des)
codegen/createglapi.py:356
↓ 2 callersFunction_safe_str
Helper for assert_* ports
vispy/testing/_testing.py:46
↓ 2 callersMethod_set_pos
(self)
vispy/scene/widgets/label.py:41
↓ 2 callersMethod_set_projection
(self, size)
examples/gloo/post_processing.py:143
↓ 2 callersMethod_set_up_system
Initialize constants for the system that will be used later.
examples/demo/visuals/wiggly_bar.py:644
← previousnext →601–700 of 4,580, ranked by callers