Object for croping the displayed data in the Slice viewports.
More...
|
void | executeCropping () |
| Executes the selected cropping.
|
|
void | embed () |
| Embed the data set to the selected values.
|
|
|
void | setFrom (int x, int y, int z) |
| Function to set the coordinates of the "From" spinbox to the given coordinates. More...
|
|
void | setTo (int x, int y, int z) |
| Function to set the coordinates of the "To" spinbox to the given coordinates. More...
|
|
void | setEmbed (int x, int y, int z) |
| Function to set the coordinates of the "embed" spinbox to the given coordinates. More...
|
|
Array< int > | getFrom () |
| Function to get the coordinates of the "From" spinbox. More...
|
|
Array< int > | getTo () |
| Function to get the coordinates of the "To" spinbox. More...
|
|
Array< int > | getEmbed () |
| Function to get the coordinates of the "Embed" spinbox. More...
|
|
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.
See also ScriptMaster::currentOp() to obtain this object.
◆ getEmbed()
Function to get the coordinates of the "Embed" spinbox.
- Returns
- Array<int> of the x,y,z coordinates of the "Embed" spinbox
◆ getFrom()
Function to get the coordinates of the "From" spinbox.
- Returns
- Array<int> of the x,y,z coordinates of the "From" spinbox
◆ getTo()
Function to get the coordinates of the "To" spinbox.
- Returns
- Array<int> of the x,y,z coordinates of the "To" spinbox
◆ setEmbed()
void setEmbed |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Function to set the coordinates of the "embed" spinbox to the given coordinates.
- Parameters
-
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |
◆ setFrom()
void setFrom |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Function to set the coordinates of the "From" spinbox to the given coordinates.
- Parameters
-
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |
◆ setTo()
void setTo |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z |
|
) |
| |
Function to set the coordinates of the "To" spinbox to the given coordinates.
- Parameters
-
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |