Module: Cylinder Slice ()

Description:

This module displays the values of any scalar field on a cylinder. The cylinder surface is mapped on a planar slice and shown in an extra viewer. The cylinder is specified by the dragger position. The height is computed by the length of the diagonal of the bounding box of the scalar field. The module provides the same ports as Slice. Additionally, it allows the cylindrical slice to be saved to an image. The image format is selected by the file name extension.

Connections:

Data [required]
The scalar field.

Module [required]
The Ortho Slice or Slice that specifies the dragger plane.

Ports:

Zero Angle

Sets the angle (in degrees) that determines the position of the vertical line along which the cylinder surface is "cut" to be then mapped on the planar slice.

Positioning

Cylinder

The position of the cylinder center with respect to the base plane and the cylinder radius.

Distance

Display the distance between the cylinder center and the center of the slice.

Display Options

Viewer

Displays the viewer. Data and Module should be selected first.

Transparency

Refer to Slice for help on this port.

Sampling

The four choices coarse, medium, fine, and finest correspond to an internal resolution of the underlying texture map of 128, 256, 512, and 1024 square pixels, respectively.

Dragger

Switches the dragger on and off.

Mapping Type

Refer to Slice for help on this port.

Colormap

Refer to Slice for help on this port.

Contrast Limit

Refer to Slice for help on this port.

Commands:

createImage <image base name>
This command creates a 2D image from the cylindrical view and adds it to the Project View. The image base name can be omitted. To perform this action, the viewer should be visible.

setResolution <n> <r0> <r1>
Sets the image resolution to , with n determining the sampling: 0 for coarse, 1 for medium, 2 for fine and 3 for finest.

setResolution <n> <r1>
Same as the previous command with .

setViewer <x0> <y0> <x1> <y1>
Determines the position and size of the viewer by setting its upper left and lower right corners positions. Positions are computed from the upper left corner of the screen.

setZeroAngle <alpha>
Zero Angle determines start position, and have a range from 0 to 360 degrees.