Module: Slice (LDA) ()
The Slice module lets you display arbitrarily oriented slices through a 3D scalar field of any type, as well as through an RGBA color field or a 3D multi-channel field.The module is derived from Clipping Plane. See the documentation of the base class for details about how to adjust position and orientation of a slice. Like in the Ortho Slice module, the methods which is supported to map scalar values to screen colors is pseudo-coloring.
Data [required]
The 3D field to be visualized. 3D scalar fields, RGBA color fields, or 3D multi-channel fields are supported. The coordinate type of the input data doesn't matter. The data will be evaluated using the field's native interpolation method (usually trilinear interpolation).Colormap [optional]
The colormap used to map data values to colors. This port is ignored when the module is connected to an RGBA color field or to a 3D multi-channel field.
Frame
This port is used to display or hide the frame, set the frame width and color.Orientation
This port provides three buttons for resetting the slice orientation: xy perpendicular to the z-axis, xz perpendicular to the y-axis, and xz perpendicular to the x-axis.Options
If the adjust view toggle is set (set by default), the camera of the selected viewer is reset each time a new slice orientation is selected. Please note also that adjust view is enabled by default when the module is the first planar module in the Project View.With the rotate toggle you can switch the rotate handle for the cutting plane on and off.
If the immediate toggle is set, the slice is updated every time you drag it with the mouse in the 3D viewer. Otherwise, only the bounding box of the cutting plane is moved and the update takes place when the mouse button is released.
The fit to points toggle lets you reset the plane by clicking on at least 3 different points in the scene. After enabling this toggle, you should switch to interaction mode by pressing the ESC key inside the viewer. Then click 3 times at different points on any geometry in the scene. The plane then will be automatically adjusted to match these points. The virtual trackball - visible when rotate toggle is active - will be moved to the center of the picked points. After 3 points have been picked, this toggle is automatically unchecked, unless you pressed the shift key. Shift-clicking allows you to select more than 3 points. In this case the plane that best fits the selected points will be computed.
The set plane toggle lets you to show/hide exact plane definition ports.
If the lighting toggle is set, the slice is lit.
Slice Options
If equal resolution is set (unset by default), all ortho slices and oblique slices are drawn using the same resolution. When no color table is not set (default), when editing the colormap, the rendering speed is faster and the color interpolation is better. This option uses shaders so it may be very slow on old graphic boards.Interpolation
Specifies interpolation type (nearest value or linear interpolation). Multi samples computes a weighted value from 12 neighbors.Mapping Type
This option menu controls how scalar values are mapped to screen colors. Colormap can be used to activate pseudo-coloring. The port is hidden if the the module is connected to a color field or a multi-channel field.Colormap
This port is displayed if Colormap is selected. Choose a colormap to map data to colors.Translate
This slider allows you to select different slices. The slices may also be picked with the mouse and dragged directly in the 3D viewer.Transparency
This radio box port determines the transparency of the slice. The option is only available if the module is connected to an RGBA color field. None means that the slice is fully opaque. Binary means that only fully transparent parts are transparent while others are fully opaque when using colormap mapping.. Alpha means that opacity is taken as is.Embossing
Enables/disables embossing. This rendering technique (also known as "bump mapping") emphasizes gradient changes in the data on the slice. Note that this feature requires programmable shader support in the graphics hardware.Embossing Factor
This port is displayed if embossing is enabled. Specifies the intensity of the embossing effect. Default value is 0 (no embossing). Values can be positive or negative. Note that this feature requires programmable shader support in the graphics hardware.Channels
This port is displayed if the module is attached to a 3D multi-channel object. It allows you to toggle individual channels on or off. Each channel is mapped using a linear intensity ramp. The data window for each channel can be adjusted in the multi-channel object itself.Plane definition
Please refer to the Clipping Plane documentation.
All commands described for Clipping Plane can be applied to Slice as well.
createImage <image base name>
This command creates a 2D image from the slice and adds it to the Project View. The image base name can be omitted.