Module: Surface Cross Section ()
The Surface Cross Section displays a filled cross section through a surface generated by the Generate Surface module. The surface is supposed to separate different volumetric regions from each other without any holes. Within the cross section the different materials are indicated by their respective colors. If the surface does not form closed loops in the intersection plane these parts will not be shown. The module is derived from Clipping Plane and thus provides the same methods for manipulating the position and orientation of the cross section as this base class. An analog module Grid Cut exists for displaying cross sections in a tetrahedral finite-element grid.
Data [required]
The surface to be visualized.PointsToFit [optional]
Connection to a vertex set with arbitrary number of points, on which the position of the plane is based. The option "Points to fit" is only available, if you have not connected your own vertex set.ROI [optional]
Select a region of interest for the slicing plane.
Orientation
This port provides three buttons for resetting the slice orientation. Axial/xy slices are perpendicular to the z-axis, coronal/xz slices are perpendicular to the y-axis, and sagittal/yz slices are perpendicular to the x-axis.Translate
This slider allows you to select different slices. The slices may also be picked and dragged directly in the 3D viewer.Selection
This port maintains a list of materials to be displayed within the cross section. With the selection menu one can select a single material. The Add button adds the currently selected material to the list so the that is becomes visible and the Remove button removes the material so that it becomes invisible.
/hxportgroup Plane Definition
Plane definition
Please refer to the Clipping Plane documentation.
Display Options
Options
If the adjust view toggle is set, the camera of the selected viewer is reset each time a new slice orientation is selected.With the rotate tog gle you can switch on the rotate handle for the cutting plane and off again.
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 you release the mouse button.
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.
Frame
This port is used to display or hide the frame, set the frame width and color.
Color Mode
Color Mode
This port allows you to select the color mode used for rendering the different materials. In normal mode (the default), the materials will be colored with their respective colors. In constant mode, all the materials will be colored with the same color defined via the Constant color port.Constant color
This port enables selecting the color used for rendering all the materials in constant color mode. This port is not visible when the color mode is set to normal.
Inherits all commands of Clipping Plane.
selectMaterial <id1> [<id2> ...]
Selects the materials with the specified ids so that intersections of these materials with the cutting plane will be shown. You need to call fire before changes take effect.unselectMaterial <id1> [<id2> ...]
Unselects the materials with the specified ids so that intersections of these materials with the cutting plane will not be shown. You need to call fire before changes take effect.