Cylinder Slice Native Z
This is an experimental module from the Xtra Library: https://xtras.amira-avizo.com
This Xtra module is almost the same ad the existing Cylinder Slice module. The difference is that this version ensures that the extracted image has the same resolution in the Z direction as the native resolution of the input data.
This module displays a cylindrical view of the scalar field. The center and radius of the cylinder cross-section can be defined through interactive draggers on the input slice (Ortho Slice or Slice). The image intensities are interpolated on the surface of the cylinder, which is virtually unrolled and displayed as a 2D image in an extra viewer. This cylindrical slice can be extracted as a standard image using the Extract Image module.
Connections
|
Input |
Description |
|---|---|
|
Data: [required] |
The scalar field. |
|
Module: [required] |
The Ortho Slice or Slice that specifies the dragger plane. |
Parameters (Ports)
|
Parameter |
Description |
|---|---|
|
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. |
|
Show Dragger: |
Switches the dragger on and off. |
|
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. |
|
Viewer: |
Displays the viewer. Data and Module should be selected first. |
|
Mapping Type: |
Refer to Slice for help on this port. |
|
Contrast Limit: |
Refer to Slice for help on this port. |
|
Colormap: |
Refer to Slice for help on this port. |
|
Transparency: |
Refer to Slice for help on this port. |
Tcl Commands
|
Command |
Description |
|---|---|
|
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. |
|
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. |