VivoQuant
Public Slots | Public Member Functions | List of all members
CroppingOperator Class Reference

Object for croping the displayed data in the Slice viewports. More...

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. 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...
 

Detailed Description

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.

Member Function Documentation

◆ getEmbed()

Array<int> getEmbed ( )

Function to get the coordinates of the "Embed" spinbox.

Returns
Array<int> of the x,y,z coordinates of the "Embed" spinbox

◆ getFrom()

Array<int> getFrom ( )

Function to get the coordinates of the "From" spinbox.

Returns
Array<int> of the x,y,z coordinates of the "From" spinbox

◆ getTo()

Array<int> 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
xgiven x coordinate
ygiven y coordinate
zgiven 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
xgiven x coordinate
ygiven y coordinate
zgiven 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
xgiven x coordinate
ygiven y coordinate
zgiven z coordinate