VivoQuant
|
Object for croping the displayed data in the Slice viewports. More...
#include <CroppingOperator.h>
Public Slots | |
void | executeCropping () |
Executes the selected cropping. | |
void | embed () |
Embed the data set to the selected values. | |
Public Member Functions | |
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. | |
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.
Array< int > getEmbed | ( | ) |
Function to get the coordinates of the "Embed" spinbox.
Array< int > getFrom | ( | ) |
Function to get the coordinates of the "From" spinbox.
Array< int > getTo | ( | ) |
Function to get the coordinates of the "To" spinbox.
void setEmbed | ( | int | x, |
int | y, | ||
int | z | ||
) |
Function to set the coordinates of the "embed" spinbox to the given coordinates.
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |
void setFrom | ( | int | x, |
int | y, | ||
int | z | ||
) |
Function to set the coordinates of the "From" spinbox to the given coordinates.
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |
void setTo | ( | int | x, |
int | y, | ||
int | z | ||
) |
Function to set the coordinates of the "To" spinbox to the given coordinates.
x | given x coordinate |
y | given y coordinate |
z | given z coordinate |