Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vispy/vispy
/ functions
Functions
4,580 in github.com/vispy/vispy
⨍
Functions
4,580
◇
Types & classes
599
↳
Endpoints
17
↓ 5 callers
Method
_get_hook
Return a FunctionChain that Filters may use to modify the program. *shader* should be "vert", "geom", or "frag" *name* should be "pre
vispy/visuals/visual.py:523
↓ 5 callers
Function
_get_import_dir
()
vispy/testing/_runners.py:33
↓ 5 callers
Method
_is_constraining_edge
(self, edge)
vispy/geometry/triangulation.py:514
↓ 5 callers
Function
_mix_simple
Mix b (with proportion x) with a.
vispy/color/colormap.py:75
↓ 5 callers
Method
_regen_pos
(self)
vispy/visuals/rectangle.py:189
↓ 5 callers
Method
_remove_tri
(self, a, b, c)
vispy/geometry/triangulation.py:782
↓ 5 callers
Method
_set_st
(self, scale=None, translate=None, update=True)
vispy/visuals/transforms/linear.py:161
↓ 5 callers
Function
_triangulation_from_points
(points)
vispy/geometry/tests/test_triangulation.py:588
↓ 5 callers
Method
_update
(self)
vispy/visuals/shaders/function.py:645
↓ 5 callers
Method
_update_layout
(self)
vispy/scene/widgets/widget.py:287
↓ 5 callers
Method
_update_transforms
Update the canvas's TransformSystem to correct for the current canvas size, framebuffer, and viewport.
vispy/scene/canvas.py:630
↓ 5 callers
Method
_vispy_mouse_double_click
(self, **kwargs)
vispy/app/base.py:231
↓ 5 callers
Method
_vispy_mouse_release
(self, **kwargs)
vispy/app/base.py:218
↓ 5 callers
Method
add_program
Create a program and add it to this MultiProgram. It is the caller's responsibility to keep a reference to the returned program.
vispy/visuals/shaders/multiprogram.py:29
↓ 5 callers
Method
attach
Attach a Filter to this visual Each filter modifies the appearance or behavior of the visual. Parameters ----------
vispy/visuals/visual.py:545
↓ 5 callers
Method
buttons
(self)
vispy/app/canvas.py:659
↓ 5 callers
Function
checkGLError
()
examples/demo/gloo/jfa/jfa_translation.py:150
↓ 5 callers
Method
connect
Connect a function to an event The name of the function should be on_X, with X the name of the event (e.g. 'on_draw'). This
vispy/app/canvas.py:314
↓ 5 callers
Method
darker
Produce a darker color (if possible) Parameters ---------- dv : float Amount to decrease the color value by.
vispy/color/color_array.py:345
↓ 5 callers
Function
get_colormaps
Return the list of colormap names.
vispy/color/colormap.py:1211
↓ 5 callers
Function
get_current_canvas
Proxy for context.get_current_canvas to avoud circular import. This function replaces itself with the real function the first time it is calle
vispy/gloo/wrappers.py:57
↓ 5 callers
Method
get_object
Get the object with the given id or None if it does not exist.
vispy/gloo/glir.py:826
↓ 5 callers
Function
get_selector
(name)
vispy/ext/cocoapy.py:346
↓ 5 callers
Method
glBindRenderbuffer
(self, target, renderbuffer)
vispy/gloo/gl/_proxy.py:38
↓ 5 callers
Method
glCreateTexture
(self, )
vispy/gloo/gl/_proxy.py:226
↓ 5 callers
Method
glDrawArrays
(self, mode, first, count)
vispy/gloo/gl/_proxy.py:178
↓ 5 callers
Method
glFramebufferTexture2D
(self, target, attachment, textarget, texture, level)
vispy/gloo/gl/_proxy.py:206
↓ 5 callers
Method
glIsEnabled
(self, cap)
vispy/gloo/gl/_proxy.py:334
↓ 5 callers
Method
glUniform1i
(self, location, v1)
vispy/gloo/gl/_proxy.py:440
↓ 5 callers
Method
height
(self)
vispy/geometry/rect.py:70
↓ 5 callers
Method
image
Show an image Parameters ---------- data : ndarray Should have shape (N, M), (N, M, 3) or (N, M, 4). cmap
vispy/plot/plotwidget.py:190
↓ 5 callers
Method
imap
Invert map coordinates Parameters ---------- coords : array-like Coordinates to inverse map. Returns
vispy/visuals/transforms/linear.py:117
↓ 5 callers
Method
link
Link this camera with another camera of the same type Linked camera's keep each-others' state in sync. Parameters ----------
vispy/scene/cameras/base_camera.py:398
↓ 5 callers
Function
loadShapeTexture
loadShapeTexture - load 8-bit shape texture data from a TGA file and set up the corresponding texture object.
examples/demo/gloo/jfa/jfa_translation.py:83
↓ 5 callers
Method
map
Map coordinates Parameters ---------- coords : array-like Coordinates to map. Returns -------
vispy/visuals/transforms/linear.py:350
↓ 5 callers
Function
max_for_dtype
Get maximum value an image array should have for a specific dtype. This is max int for each integer type or 1.0 for floating point types.
vispy/testing/rendered_array_tester.py:50
↓ 5 callers
Method
node_path
Return two lists describing the path from this node to another Parameters ---------- node : instance of Node The
vispy/scene/node.py:526
↓ 5 callers
Method
remove_widget
Remove a widget from this grid. Parameters ---------- widget : Widget The Widget to remove
vispy/scene/widgets/grid.py:156
↓ 5 callers
Method
resize
Resize all attached buffers with the given shape Parameters ---------- shape : tuple of two integers New buffer s
vispy/gloo/framebuffer.py:201
↓ 5 callers
Method
set_center
(self, val)
examples/scene/shape_draw.py:166
↓ 5 callers
Method
set_data
Set the data Parameters ---------- adjacency_mat : ndarray | None The adjacency matrix. **kwargs : dict
vispy/visuals/graphs/graph.py:184
↓ 5 callers
Function
set_log_level
Convenience function for setting the logging level Parameters ---------- verbose : bool, str, int, or None The verbosity of messa
vispy/util/logs.py:129
↓ 5 callers
Method
set_vertex_colors
Set the vertex color array Parameters ---------- colors : array Array of colors. Must have shape (Nv, 4) (indexin
vispy/geometry/meshdata.py:443
↓ 5 callers
Method
shader_map
(self)
vispy/visuals/transforms/linear.py:137
↓ 5 callers
Method
size
The size of canvas/window.
vispy/app/canvas.py:346
↓ 5 callers
Method
visible
(self, v)
examples/scene/shape_draw.py:100
↓ 5 callers
Method
zoom
Factors less than zero zoom in, and greater than zero zoom out. If mouse_coords is given, the point under the mouse stays stationary
examples/demo/gloo/mandelbrot.py:158
↓ 4 callers
Method
__init__
(self, title='VisPy canvas', size=(800, 600), position=None, show=False, autoswap=True, app=N
vispy/app/canvas.py:122
↓ 4 callers
Method
__init__
(self, size)
vispy/app/backends/_wx.py:194
↓ 4 callers
Method
__init__
(self)
examples/scene/shape_draw.py:234
↓ 4 callers
Method
__init__
(self, pos=None, color=(1, 1, 1, 1))
examples/basics/visuals/line_prototype.py:27
↓ 4 callers
Function
_check_pyopengl_3D
Helper to ensure users have OpenGL for 3D texture support (for now)
vispy/gloo/glir.py:1586
↓ 4 callers
Function
_clear_screen
()
vispy/gloo/gl/tests/test_functionality.py:75
↓ 4 callers
Method
_get_alignment
Determines a textures byte alignment. If the width isn't a power of 2 we need to adjust the byte alignment of the image. The
vispy/gloo/glir.py:1466
↓ 4 callers
Function
_make_test_data
(shape, input_dtype)
vispy/visuals/tests/test_volume.py:221
↓ 4 callers
Method
_normalize
(self, x_y)
examples/benchmark/scene_test_1.py:116
↓ 4 callers
Method
_prepare_transforms
This method is called whenever the TransformSystem instance is changed for a view. Assign a view's transforms to the proper shader te
vispy/visuals/visual.py:457
↓ 4 callers
Method
_rebuild_shaders
(self)
vispy/visuals/transforms/chain.py:173
↓ 4 callers
Method
_remove_dep
Decrement the reference count for *dep*. If the reference count reaches 0, then the dependency is removed and its *changed* event is d
vispy/visuals/shaders/shader_object.py:121
↓ 4 callers
Function
_revert_gl_state
Context manager to store and revert GL state for a list of visuals. Parameters ---------- prev_gl_state : list A list of (Visual,
vispy/visuals/visual.py:807
↓ 4 callers
Method
_set_canvas
(self, c)
vispy/scene/node.py:305
↓ 4 callers
Method
_set_name
(self, name)
codegen/headerparser.py:188
↓ 4 callers
Function
_test_basics
Create app and canvas so we have a context. Then run tests.
vispy/gloo/gl/tests/test_basics.py:65
↓ 4 callers
Function
_test_functionality
Create app and canvas so we have a context. Then run tests.
vispy/gloo/gl/tests/test_functionality.py:80
↓ 4 callers
Method
_transform_in
Return array of coordinates that can be mapped by Transform classes.
vispy/geometry/rect.py:200
↓ 4 callers
Method
_update
Update vertex buffers & texture
vispy/visuals/collections/base_collection.py:451
↓ 4 callers
Method
_update_font
(self)
vispy/visuals/text/text.py:656
↓ 4 callers
Function
_update_process_check
Update, process, and check result
vispy/app/tests/test_simultaneous.py:19
↓ 4 callers
Method
_vispy_get_native_app
(self)
vispy/app/backends/_qt.py:341
↓ 4 callers
Method
activate
Avoid overhead in calling glUseProgram with same arg. Warning: this will break if glUseProgram is used somewhere else. Per context we
vispy/gloo/glir.py:1071
↓ 4 callers
Function
check_parameters_match
Check docstring, return list of incorrect results.
vispy/util/tests/test_docstring_parameters.py:63
↓ 4 callers
Method
create
Create the native application.
vispy/app/application.py:89
↓ 4 callers
Function
create_box
Generate vertices & indices for a filled and outlined box. Parameters ---------- width : float Box width. height : float
vispy/geometry/generation.py:200
↓ 4 callers
Method
draw_state
(self)
vispy/geometry/_triangulation_debugger.py:51
↓ 4 callers
Function
encoding_for_ctype
(vartype)
vispy/ext/cocoapy.py:32
↓ 4 callers
Method
expression
(self, names)
vispy/visuals/shaders/function.py:478
↓ 4 callers
Method
expression
(self, names)
vispy/visuals/shaders/variable.py:271
↓ 4 callers
Method
flatten
(self)
vispy/util/svg/group.py:34
↓ 4 callers
Function
get_color_names
Get the known color names Returns ------- names : list List of color names known by Vispy.
vispy/color/_color_dict.py:6
↓ 4 callers
Method
get_face_normals
Get face normals Parameters ---------- indexed : str | None If None, return an array (Nf, 3) of normal vectors fo
vispy/geometry/meshdata.py:331
↓ 4 callers
Method
glDisable
(self, cap)
vispy/gloo/gl/_proxy.py:170
↓ 4 callers
Method
glFramebufferRenderbuffer
(self, target, attachment, renderbuffertarget, renderbuffer)
vispy/gloo/gl/_proxy.py:202
↓ 4 callers
Method
glGetActiveAttrib
(self, program, index)
vispy/gloo/gl/_proxy.py:234
↓ 4 callers
Method
glGetActiveUniform
(self, program, index)
vispy/gloo/gl/_proxy.py:238
↓ 4 callers
Method
glGetShaderSource
(self, shader)
vispy/gloo/gl/_proxy.py:294
↓ 4 callers
Method
imap
(self, coords)
examples/benchmark/scene_test_1.py:87
↓ 4 callers
Function
imread
Read image data from disk Requires imageio or PIL. Parameters ---------- filename : str Filename to read. format : str |
vispy/io/image.py:153
↓ 4 callers
Method
isscalar
(x)
vispy/gloo/program.py:398
↓ 4 callers
Method
link
Link this Varying to another object from which it will derive its dtype. This method is used internally when assigning an attribute t
vispy/visuals/shaders/variable.py:220
↓ 4 callers
Function
load_spatial_filters
Load spatial-filters kernel Parameters ---------- packed : bool Whether or not the data should be in "packed" representation
vispy/io/datasets.py:64
↓ 4 callers
Method
make_current
(self, pixels, width, height)
vispy/app/backends/_osmesa.py:97
↓ 4 callers
Method
modifiers
(self)
vispy/app/canvas.py:765
↓ 4 callers
Method
move
Change the translation of this transform by the amount given. Parameters ---------- move : array-like The values
vispy/visuals/transforms/linear.py:182
↓ 4 callers
Method
parent_chain
Return the list of parents starting from this node. The chain ends at the first node with no parents.
vispy/scene/node.py:403
↓ 4 callers
Method
pixel_to_coords
Convert pixel coordinates to Mandelbrot set coordinates.
examples/demo/gloo/mandelbrot.py:128
↓ 4 callers
Method
pixel_to_coords
Convert pixel coordinates to Mandelbrot set coordinates.
examples/demo/gloo/mandelbrot_double.py:242
↓ 4 callers
Function
preprocess
Preprocess a code by removing comments, version and merging includes.
vispy/gloo/preprocessor.py:62
↓ 4 callers
Method
print_mouse_event
(self, event, what)
examples/tutorial/app/app_events.py:46
↓ 4 callers
Function
read_pixels
Read pixels from the currently selected buffer. Under most circumstances, this function reads from the front buffer. Unlike all other functio
vispy/gloo/wrappers.py:620
↓ 4 callers
Method
reset
Reset the view to the default state.
vispy/scene/cameras/base_camera.py:318
← previous
next →
301–400 of 4,580, ranked by callers