Object for croping the displayed data in the Slice viewports.
This object can be used to crop and embed the data and/or ROIs that are being displayed in each Slice View.
Select this operator with VQ.mainWin().setViewMode(), then obtain it with VQ.currentOp().
VQ.mainWin().setViewMode("Slice View", "Cropping"); // switch to the cropping operator
var cropOperator = VQ.currentOp();
|
| void | setFrom (int x, int y, int z) |
| | Function to set the coordinates of the "From" spinbox to the given coordinates.
|
| void | setTo (int x, int y, int z) |
| | Function to set the coordinates of the "To" spinbox to the given coordinates.
|
| void | setEmbed (int x, int y, int z) |
| | Function to set the coordinates of the "embed" spinbox to the given coordinates.
|
| Array< int > | getFrom () |
| | Function to get the coordinates of the "From" spinbox.
|
| Array< int > | getTo () |
| | Function to get the coordinates of the "To" spinbox.
|
| Array< int > | getEmbed () |
| | Function to get the coordinates of the "Embed" spinbox.
|
| bool | setEmbedValueMode (string mode) |
| | Function to set the embed fill value mode.
|
| string | getEmbedValueMode () |
| | Function to get the current embed fill value mode.
|
| void | setEmbedValuePercent (double percent) |
| | Function to set the percentage used when the embed fill value mode is "Percentage".
|
| double | getEmbedValuePercent () |
| | Function to get the percentage used when the embed fill value mode is "Percentage".
|