ScatterCollection#
ScatterCollection#
Constructor#
|
Create a collection of graphics of the same type. |
Properties#
The opacity of the graphic |
|
How the alpha is handled by the renderer |
|
get or set the alpha_modes of the graphics in the collection |
|
get or set the alphas of the graphics in the collection |
|
Used to block events for a graphic and prevent recursion. |
|
Used to block event handlers for a graphic and prevent recursion. |
|
get or set the colormap(s) across the collection |
|
get or set the cmap_range of the graphics in the collection |
|
get or set the cmap_transform across the collection |
|
get or set the colors of the graphics in the collection |
|
get or set the data of the graphics in the collection |
|
used to emit an event after the graphic is deleted |
|
get or set the edge_colors of the graphics in the collection |
|
get or set the edge_width of the graphics in the collection |
|
Registered event handlers. |
|
the graphics in the collection |
|
get or set the image of the graphics in the collection |
|
The imgui popup of each graphic of this collection, in order. |
|
get or set the markers of the graphics in the collection |
|
get or set the metadatas of the graphics in the collection |
|
Graphic name |
|
get or set the names of the graphics in the collection |
|
[x, y, z] |
|
get or set the offsets of the graphics in the collection |
|
get or set the point_rotations of the graphics in the collection |
|
Orientation of the graphic as a quaternion |
|
get or set the rotations of the graphics in the collection |
|
(x, y, z) scaling factor |
|
get or set the scales of the graphics in the collection |
|
get or set the size_space of the graphics in the collection |
|
get or set the sizes of the graphics in the collection |
|
events supported by this graphic |
|
set a custom tooltip format function which takes a |
|
Whether the graphic is visible |
|
get or set the visibles of the graphics in the collection |
|
Associated pygfx WorldObject. |
Methods#
Add axes onto this Graphic |
|
Register an event handler. |
|
|
Add a graphic to the collection. |
Add a |
|
Add a |
|
Add a |
|
Add a |
|
Append imgui elements to the popup of every graphic of this collection. |
|
clear all event handlers added to this graphic |
|
Takes a pygfx.PointerEvent and returns formatted pick info. |
|
|
map position from model (data) space to world space, basically applies the world affine transform |
|
map position from world space to model (data) space, basically applies the inverse world affine transform |
remove a registered event handler |
|
|
Remove a graphic from the collection. |
Remove |
|
|
Rotate the Graphic with respect to the world. |
Set the imgui popup opened by a right-click on any graphic of this collection. |