Image as plane Module

class coperniFUS.modules.img_as_plane.RefImageAsPlane(parent_viewer, **kwargs)[source]

Bases: Module

import_image(image_path)[source]

Import a reference image to the viewer by providing the image_path. Loaded image can be removed by calling the delete_rendered_object method

property ref_image_tmat

Holds the reference image affine transformation matrix

init_dock()[source]

Called on GUI setup to add a module dock

add_rendered_object()[source]

Called when populating the viewer with the module rendered objects

update_rendered_object()[source]

Called on render view updates

delete_rendered_object()[source]

Called on deletion of the module rendered objects

get_user_param(param_name, default_value=None)[source]

Get module configuration parameter stored in cache (or default values if non existant)

set_user_param(param_name, param_value)[source]

Set module configuration parameter to cache