map_model_to_world#

ImageVolumeGraphic.map_model_to_world(position)#

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

Parameters:

position ((float, float, float) or (float, float)) – (x, y, z) or (x, y) position. If z is not provided then the graphic’s offset z is used.

Returns:

(x, y, z) position in world space

Return type:

np.ndarray