ImageGraphic#
ImageGraphic#
Constructor#
|
Create an Image Graphic |
Properties#
The opacity of the graphic |
|
How the alpha is handled by the renderer |
|
Used to block events for a graphic and prevent recursion. |
|
Get or set the colormap for grayscale images. |
|
cmap interpolation method |
|
Get or set the image data |
|
used to emit an event after the graphic is deleted |
|
Registered event handlers. |
|
Data interpolation method |
|
Graphic name |
|
[x, y, z] |
|
Orientation of the graphic as a quaternion |
|
(x, y, z) scaling factor |
|
events supported by this graphic |
|
set a custom tooltip format function which takes a |
|
Whether the graphic is visible |
|
upper contrast limit |
|
lower contrast limit |
|
Associated pygfx WorldObject. |
Methods#
Add axes onto this Graphic |
|
Register an event handler. |
|
Add a |
|
Adds a |
|
Add a |
|
Add a |
|
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 |
Reset the vmin, vmax by estimating it from the data by subsampling. |
|
|
Rotate the Graphic with respect to the world. |