SoMLWorldToVoxel

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

Purpose

The module SoMLWorldToVoxel transforms the Open Inventor scene using the voxel-to-world matrix of the connected ML image.

A point drawn afterward will represent a voxel position of the ML image transformed into world space. This transformation allows for specifying points in the same coordinate space as the voxel positions of the ML image, rendering them in the corresponding world position. Another way to interpret the transformation is that the origin of the world coordinate system is shifted to the voxel (0, 0, 0) of the image, with orientation and scale adjusted accordingly.

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

Sets and shows the used transformation matrix.

Integer voxel coordinates

name: shift, type: Bool, default: FALSE

If checked, an offset is applied to the transformation matrix so that points are transformed to voxel centers instead of voxel boundaries.

Hidden Fields

inverse

name: inverse, type: Bool, default: FALSE