roi_to_surface


Synopsis

roi_to_surface creates a surface from a stack of ROI's (regions of interest).

Input Ports

rois

Mesh_Array

ui_parent

user interface parent object

 

Output Ports

out_fld

Mesh

out_obj

output renderable object

 

Description

roi_to_surface creates a triangular mesh by connecting points of the input set of contour lines (stack of ROIs). The input is an array of meshes each containing Polyline cell sets as generated by others ROI modules such as copy_ROI module. The polylines are presumed to be closed contours.

Input Ports

rois

Mesh_Array. an array of meshes each containing Polyline cell sets as generated by others ROI modules such as copy_ROI module.

ui_parent

A port for connecting to a user interface object that contains the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

Parameters

0rientation

UIradioBoxLabel. Specifies ROI's orientation in 3D space. Selects X, Y or Z axis that is normal to contours plane.

starting angle

UIradioBoxLabel. Specifies where to start surface relative to geometrical center of contours. The choices are: 12 o'clock, 3 o'clock, 6 o'clock and 9 o'clock

flip normals

UItoggle. Allow you to invert the surface. This is useful when the direction of polylines is clockwise.

cap surface

UItoggle. Allows you to create "closing" polyhedron surfaces at first and last ROI of the stack.

Output Ports

out_fld

Mesh. The triangular mesh containing the resulting surface.

out_obj

Renderable object corresponding to out_fld.

File

v/modules.v

See also