SoMLWorldToVoxel

InventorModule
genre InventorTransform
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition inventor.def

Purpose

Transforms the Inventor scene with the voxel-to-world matrix of the connected ML image.

A point drawn after this will be drawn like a voxel position of the ML image transformed into the world space. This transformation essentially allows to specify points in the same coordinate space as the voxel positions of the ML image, and render them in the same world position. Another way to interpret the transformation is that the world coordinate system’s origin is moved to the voxel (0,0,0) of the image (orientation and scale are adapted too).

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoMLWorldToVoxel._default.png

Input Fields

image

name: image, type: Image

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Matrix

name: matrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Shows the used matrix.

Integer voxel coordinates

name: shift, type: Bool, default: FALSE

Applies an offset to the transformation matrix such that points are transformed to voxel centers instead of voxel boundaries.

Hidden Fields

inverse

name: inverse, type: Bool, default: FALSE