imat_vtkplot/cutplane (+FEA)


Purpose

Add and control cutplanes on plot.

Syntax

hplot.cutplane(dir,action)

Description

This method controls the cut planes available on the IMAT_VTKPLOT. There a total of four cutplanes that can be created and modified. They are specified by using the DIR argument. The available directions for the cut planes are 'x', 'y', 'z', and 'g'. 'x', 'y', and 'z' are cut planes through their respective axis. 'g' is a general cutplane that can be dragged to cut through any plane.

ACTION can be 'toggle', 'visible', or 'flip'. Each of these actions are applied independently on all four available cut planes, based on the cutplane specified by the DIR argument.

The 'toggle' action toggles whether the cutplane is active. This action will add the cutplane to the plot and cut plane will be active. Calling 'toggle' again will remove the cutplane from the plot from the figure and the model will return to its uncut state.

The 'visible' action toggles the visibility of the cutplane. That is, when the visibility is toggled off the model will remain cut, butthe cut plane and its associated controls will disappear.

The 'flip' action flips the side of the plane that is cut.