HistogramLUTTool#

HistogramLUTTool#

Constructor#

HistogramLUTTool(data, images[, nbins, ...])

HistogramLUT tool that can be used to control the vmin, vmax of ImageGraphics or ImageVolumeGraphics.

Properties#

HistogramLUTTool.alpha

The opacity of the graphic

HistogramLUTTool.alpha_mode

How the alpha is handled by the renderer

HistogramLUTTool.axes

HistogramLUTTool.block_events

Used to block events for a graphic and prevent recursion.

HistogramLUTTool.cmap

HistogramLUTTool.deleted

used to emit an event after the graphic is deleted

HistogramLUTTool.event_handlers

Registered event handlers.

HistogramLUTTool.images

HistogramLUTTool.name

Graphic name

HistogramLUTTool.offset

[x, y, z]

HistogramLUTTool.right_click_menu

HistogramLUTTool.rotation

Orientation of the graphic as a quaternion

HistogramLUTTool.scale

(x, y, z) scaling factor

HistogramLUTTool.supported_events

events supported by this graphic

HistogramLUTTool.tooltip_format

set a custom tooltip format function which takes a pick_info dict and returns a str to be displayed in the tooltip

HistogramLUTTool.visible

Whether the graphic is visible

HistogramLUTTool.vmax

HistogramLUTTool.vmin

HistogramLUTTool.world_object

Associated pygfx WorldObject.

Methods#

HistogramLUTTool.add_axes()

Add axes onto this Graphic

HistogramLUTTool.add_event_handler(*args)

Register an event handler.

HistogramLUTTool.clear_event_handlers()

clear all event handlers added to this graphic

HistogramLUTTool.format_pick_info(ev)

Takes a pygfx.PointerEvent and returns formatted pick info.

HistogramLUTTool.map_model_to_world(position)

map position from model (data) space to world space, basically applies the world affine transform

HistogramLUTTool.map_world_to_model(position)

map position from world space to model (data) space, basically applies the inverse world affine transform

HistogramLUTTool.remove_event_handler(...)

remove a registered event handler

HistogramLUTTool.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.

HistogramLUTTool.set_data(data[, ...])