MCPcopy Create free account

hub / github.com/vispy/vispy / functions

Functions4,580 in github.com/vispy/vispy

↓ 2 callersMethodgenerate_grid
(self)
examples/basics/visuals/windbarb_quiver.py:49
↓ 2 callersMethodget_canvasses
Return a list of CanvasBackends. Returns ------- list A list with CanvasBackends.
vispy/app/backends/_tk.py:190
↓ 2 callersMethodget_center
(self)
examples/scene/shape_draw.py:104
↓ 2 callersMethodget_class_method
(self, name)
vispy/ext/cocoapy.py:724
↓ 2 callersFunctionget_dpi
Get screen DPI from the OS Parameters ---------- raise_error : bool If True, raise an error if DPI could not be determined.
vispy/util/dpi/_win32.py:11
↓ 2 callersFunctionget_dtype_limits
(dtype)
vispy/gloo/texture.py:17
↓ 2 callersMethodget_frame
(self)
vispy/app/backends/_jupyter_rfb.py:199
↓ 2 callersMethodget_global_instance
Get a global context. Note that any assumptions about OpenGL state being local will not hold.
vispy/app/backends/_offscreen_util.py:18
↓ 2 callersFunctionget_image
Load an image from the demo-data repository if possible. Otherwise, just return a randomly generated image.
examples/basics/visuals/image_visual.py:39
↓ 2 callersMethodget_instance_method
(self, name)
vispy/ext/cocoapy.py:712
↓ 2 callersMethodget_lines
Get the lines for this function based on the given backend. The given API call is inserted at the correct location.
codegen/annotations.py:618
↓ 2 callersMethodget_scene_bounds
Get the total bounds based on the visuals present in the scene Parameters ---------- dim : int | None Dimension t
vispy/scene/widgets/viewbox.py:127
↓ 2 callersMethodget_state
Get the current view state of the camera Returns a dict of key-value pairs. The exact keys depend on the camera. Can be passed to set
vispy/scene/cameras/base_camera.py:328
↓ 2 callersMethodget_state_presets
The available GL state :data:`presets <.GL_PRESETS>`. Returns ------- presets : dict The dictionary of presets us
vispy/gloo/wrappers.py:437
↓ 2 callersMethodget_vertex_colors
Get vertex colors Parameters ---------- indexed : str | None If None, return an array (Nv, 4) of vertex colors.
vispy/geometry/meshdata.py:393
↓ 2 callersMethodget_vertex_values
Get vertex colors Parameters ---------- indexed : str | None If None, return an array (Nv,) of vertex values.
vispy/geometry/meshdata.py:418
↓ 2 callersFunctiongetwords
Get words on a line.
codegen/headerparser.py:13
↓ 2 callersMethodglBlendColor
(self, red, green, blue, alpha)
vispy/gloo/gl/_proxy.py:46
↓ 2 callersMethodglBlendEquation
(self, mode)
vispy/gloo/gl/_proxy.py:50
↓ 2 callersMethodglBlendEquationSeparate
(self, modeRGB, modeAlpha)
vispy/gloo/gl/_proxy.py:54
↓ 2 callersMethodglBlendFuncSeparate
(self, srcRGB, dstRGB, srcAlpha, dstAlpha)
vispy/gloo/gl/_proxy.py:62
↓ 2 callersMethodglClearStencil
(self, s)
vispy/gloo/gl/_proxy.py:90
↓ 2 callersMethodglColorMask
(self, red, green, blue, alpha)
vispy/gloo/gl/_proxy.py:94
↓ 2 callersMethodglCopyTexImage2D
(self, target, level, internalformat, x, y, width, height, border)
vispy/gloo/gl/_proxy.py:110
↓ 2 callersMethodglCopyTexSubImage2D
(self, target, level, xoffset, yoffset, x, y, width, height)
vispy/gloo/gl/_proxy.py:114
↓ 2 callersMethodglDeleteBuffer
(self, buffer)
vispy/gloo/gl/_proxy.py:130
↓ 2 callersMethodglDepthFunc
(self, func)
vispy/gloo/gl/_proxy.py:154
↓ 2 callersMethodglDepthMask
(self, flag)
vispy/gloo/gl/_proxy.py:158
↓ 2 callersMethodglFlush
(self, )
vispy/gloo/gl/_proxy.py:198
↓ 2 callersMethodglFrontFace
(self, mode)
vispy/gloo/gl/_proxy.py:210
↓ 2 callersMethodglGenerateMipmap
(self, target)
vispy/gloo/gl/_proxy.py:230
↓ 2 callersMethodglGetAttachedShaders
(self, program)
vispy/gloo/gl/_proxy.py:242
↓ 2 callersMethodglGetShaderPrecisionFormat
(self, shadertype, precisiontype)
vispy/gloo/gl/_proxy.py:290
↓ 2 callersMethodglHint
(self, target, mode)
vispy/gloo/gl/_proxy.py:326
↓ 2 callersMethodglLineWidth
(self, width)
vispy/gloo/gl/_proxy.py:358
↓ 2 callersMethodglPolygonOffset
(self, factor, units)
vispy/gloo/gl/_proxy.py:370
↓ 2 callersMethodglSampleCoverage
(self, value, invert)
vispy/gloo/gl/_proxy.py:382
↓ 2 callersMethodglScissor
(self, x, y, width, height)
vispy/gloo/gl/_proxy.py:386
↓ 2 callersMethodglStencilFunc
(self, func, ref, mask)
vispy/gloo/gl/_proxy.py:394
↓ 2 callersMethodglStencilFuncSeparate
(self, face, func, ref, mask)
vispy/gloo/gl/_proxy.py:398
↓ 2 callersMethodglStencilMask
(self, mask)
vispy/gloo/gl/_proxy.py:402
↓ 2 callersMethodglStencilMaskSeparate
(self, face, mask)
vispy/gloo/gl/_proxy.py:406
↓ 2 callersMethodglStencilOp
(self, fail, zfail, zpass)
vispy/gloo/gl/_proxy.py:410
↓ 2 callersMethodglStencilOpSeparate
(self, face, fail, zfail, zpass)
vispy/gloo/gl/_proxy.py:414
↓ 2 callersMethodglUniform3f
(self, location, v1, v2, v3)
vispy/gloo/gl/_proxy.py:436
↓ 2 callersMethodglUniform4f
(self, location, v1, v2, v3, v4)
vispy/gloo/gl/_proxy.py:438
↓ 2 callersMethodglUniformMatrix2fv
(self, location, count, transpose, values)
vispy/gloo/gl/_proxy.py:466
↓ 2 callersMethodglUniformMatrix3fv
(self, location, count, transpose, values)
vispy/gloo/gl/_proxy.py:468
↓ 2 callersMethodglVertexAttrib1f
(self, index, v1)
vispy/gloo/gl/_proxy.py:482
↓ 2 callersMethodglVertexAttrib2f
(self, index, v1, v2)
vispy/gloo/gl/_proxy.py:484
↓ 2 callersMethodglVertexAttrib3f
(self, index, v1, v2, v3)
vispy/gloo/gl/_proxy.py:486
↓ 2 callersMethodglVertexAttrib4f
(self, index, v1, v2, v3, v4)
vispy/gloo/gl/_proxy.py:488
↓ 2 callersFunctionhas_application
Determine if a suitable app backend exists
vispy/testing/_testing.py:175
↓ 2 callersFunctionhas_pyopengl
()
vispy/testing/_testing.py:152
↓ 2 callersMethodhas_vertex_value
Return True if this data set has vertex value information
vispy/geometry/meshdata.py:315
↓ 2 callersFunctionimsave
Save image data to disk Requires imageio or PIL. Parameters ---------- filename : str Filename to write. im : array
vispy/io/image.py:191
↓ 2 callersFunctioninstall_dummy_glir
()
vispy/gloo/tests/test_wrappers.py:25
↓ 2 callersMethodinverse
Returns q.conjugate()/q.norm()**2 So if the quaternion is unit length, it is the same as the conjugate.
vispy/util/quaternion.py:70
↓ 2 callersMethodlink_program
Link the complete program and check. All shaders are detached and deleted if the program was successfully linked.
vispy/gloo/glir.py:1109
↓ 2 callersFunctionlist_fonts
List system fonts Returns ------- fonts : list of str List of system fonts.
vispy/util/fonts/_triage.py:24
↓ 2 callersFunctionload_crate
Load an image of a crate Returns ------- crate : array 256x256x3 crate image.
vispy/io/datasets.py:27
↓ 2 callersFunctionmain
()
vispy/glsl/build_spatial_filters.py:579
↓ 2 callersFunctionmake_camera
Factory function for creating new cameras using a string name. Parameters ---------- cam_type : str May be one of: *
vispy/scene/cameras/_base.py:12
↓ 2 callersMethodmake_current
Make this the currently active context.
vispy/app/backends/_offscreen_util.py:60
↓ 2 callersFunctionmake_diff_image
Return image array showing the differences between im1 and im2. Handles images of different shape. Alpha channels are not compared.
vispy/testing/image_tester.py:274
↓ 2 callersMethodmap
Map coordinates Parameters ---------- coords : array-like Coordinates to map. Returns -------
vispy/visuals/transforms/chain.py:133
↓ 2 callersFunctionnested_getattr
(obj, names)
vispy/scene/cameras/base_camera.py:14
↓ 2 callersMethodnew_explosion
(self)
examples/gloo/gl/fireworks.py:141
↓ 2 callersMethodnew_frame
(self, data)
examples/demo/scene/oscilloscope.py:139
↓ 2 callersMethodnormalize_value
Normalize values to match in-shader representation of this shader. Parameters ---------- val : int | float | ndarray
vispy/visuals/_scalable_textures.py:160
↓ 2 callersMethodon_mouse_move
(self, event)
examples/demo/gloo/boids.py:120
↓ 2 callersMethodon_resize
(self, event)
vispy/app/backends/_wx.py:275
↓ 2 callersMethodour_draw_func
(self, dummy=None)
vispy/app/backends/_pyglet.py:320
↓ 2 callersMethodparse
Parse a list of commands.
vispy/gloo/glir.py:812
↓ 2 callersFunctionparse_anotations
Parse this annotations file and produce a dictionary of FunctionAnnotation objects.
codegen/annotations.py:655
↓ 2 callersMethodparse_line
(self)
codegen/headerparser.py:184
↓ 2 callersMethodplot
Plot a series of data using lines and markers Parameters ---------- data : array | two arrays Arguments can be pa
vispy/plot/plotwidget.py:281
↓ 2 callersMethodpos
(self)
vispy/app/canvas.py:651
↓ 2 callersMethodposition
The position of canvas/window relative to screen.
vispy/app/canvas.py:387
↓ 2 callersMethodprepend
Add a new transform to the beginning of this chain. Parameters ---------- tr : instance of Transform The
vispy/visuals/transforms/chain.py:194
↓ 2 callersMethodpush_gl_state
Define the set of GL state parameters to use when drawing. The arguments are forwarded to :func:`vispy.gloo.wrappers.set_state`. Thi
vispy/visuals/visual.py:396
↓ 2 callersMethodrender_to_texture
(self, data, texture, offset, size)
vispy/visuals/text/text.py:666
↓ 2 callersMethodreset_normals
(self)
vispy/geometry/meshdata.py:292
↓ 2 callersMethodrotate_arrows
(self, point_towards)
examples/basics/visuals/arrows_quiver.py:66
↓ 2 callersMethodrotate_arrows
(self, point_towards)
examples/basics/visuals/windbarb_quiver.py:72
↓ 2 callersMethodsave
Serialize this mesh to a string appropriate for disk storage Returns ------- state : dict The state.
vispy/geometry/meshdata.py:656
↓ 2 callersMethodsave
(self)
codegen/createglapi.py:256
↓ 2 callersFunctionsave_config
Save configuration keys to vispy config file Parameters ---------- **kwargs : keyword arguments Key/value pairs to save to the co
vispy/util/config.py:321
↓ 2 callersFunctionscale
Non-uniform scaling along the x, y, and z axes Parameters ---------- s : array-like, shape (3,) Scaling in x, y, z. dtype : d
vispy/util/transforms.py:37
↓ 2 callersMethodscale
Scale the matrix about a given origin. The scaling is applied *after* the transformations already present in the matrix.
vispy/visuals/transforms/linear.py:425
↓ 2 callersMethodselect_point
Get line point close to mouse pointer and its index Parameters ---------- event : the mouse event being processed
examples/basics/visuals/line_draw.py:51
↓ 2 callersMethodset_color
Set the color Parameters ---------- color : instance of Color The color to use.
vispy/visuals/isoline.py:177
↓ 2 callersMethodset_color_mask
Toggle writing of frame buffer color components Parameters ---------- red : bool Red toggle. green : bool
vispy/gloo/wrappers.py:400
↓ 2 callersMethodset_data
Set the data Parameters ---------- pos : float Position of the line along the axis. color : list, tuple,
vispy/visuals/infinite_line.py:96
↓ 2 callersMethodset_data
Set the scalar array data Parameters ---------- data : ndarray A 3D array of scalar values. The isosurface is con
vispy/visuals/isosurface.py:62
↓ 2 callersMethodset_physical_size
Set the physical size of the canvas.
vispy/app/backends/_offscreen_util.py:109
↓ 2 callersMethodset_picking
Context manager to temporarily set picking for this node and its children. Note that this function will not alter the picking mode unless/unt
vispy/scene/node.py:632
↓ 2 callersMethodset_polygon_offset
Set the scale and units used to calculate depth values Parameters ---------- factor : float Scale factor used to
vispy/gloo/wrappers.py:164
↓ 2 callersMethodset_size
(self, nbytes)
vispy/gloo/glir.py:1394
↓ 2 callersMethodset_size
(self, shape, format, internalformat)
vispy/gloo/glir.py:1515
← previousnext →801–900 of 4,580, ranked by callers