List of my modules...
Module: Draw_Elements
Description:
Draws certain elements in an image (a pore, a grain, a particle, whatever, anything identifiable by a set of pixels having the same non-zero value) as a set of cubes. This module actually only draws the visibles faces of those cubes, i.e. the faces on the interface of the element.
An image of a set of elements is an HxUniformScalareField3 with a char, short, int (signed or not) data type, with value 0 for the background and one positive value per element.
Connections:
Image
[required]
The input image, a HxUniformScalarField3 with integral data type, is connected here. The value 0 is considered the background.
Ports:
Which

Specifies which elements are to draw.
Draw_style

Wire frames, surfaces or both for the cubes ?
Line_width

For wire frames or outlined, the size of the lines.
Color

Color of the faces of the cubes. If a colormap is given, cubes are colored according to their intensities.
Line_Color

Color of the edges of the cubes.
Do

Push the first button to draw the cubes. Push the second button to create an object of the cubes in the object pool (as an Open Inventor object, HxIvData). Push the third button to erase the cubes in the viewer.
Commands:
Additional options can be accessed when typing in the console Draw_Elements COMMAND_NAME.
verbose
Displays timing information after the computation. Retype to hide info.