ImageGraphic¶

ImageGraphic¶

Constructor¶

ImageGraphic(data[, vmin, vmax, cmap, ...])

Create an Image Graphic

Properties¶

ImageGraphic.children

Return the children of the WorldObject.

ImageGraphic.name

str name reference for this item

ImageGraphic.position

position of the graphic, [x, y, z]

ImageGraphic.position_x

x-axis position of the graphic

ImageGraphic.position_y

y-axis position of the graphic

ImageGraphic.position_z

z-axis position of the graphic

ImageGraphic.rotation

ImageGraphic.visible

Access or change the visibility.

ImageGraphic.world_object

Associated pygfx WorldObject.

Methods¶

ImageGraphic.add_linear_region_selector([...])

Add a LinearRegionSelector.

ImageGraphic.add_linear_selector([...])

Adds a LinearSelector.

ImageGraphic.link(event_type, target, ...[, ...])

Link this graphic to another graphic upon an event_type to change the feature of a target graphic.

ImageGraphic.reset_feature(feature)

ImageGraphic.rotate(alpha[, axis])

Rotate the Graphic with respect to the world.

ImageGraphic.set_feature(feature, new_data, ...)