Customizable view to allow various layout configurations of the displayed data.
More...
|
| bool | setLayoutSize (int rows, int cols) |
| | Reshape the layout (all merge will be lost) More...
|
| |
| bool | resetLayout () |
| | resetLayout Reset the layout to 1x1 and reset all data/plane. More...
|
| |
| bool | setHangProtocol (string name) |
| | Sets to the specified hanging protocol. More...
|
| |
| bool | setPlane (int row, int col, int plane) |
| | Adjust plane located at row,col. More...
|
| |
| bool | setData (int row, int col, int viewIndex, Index dataIndex) |
| | Select an image used at the specified viewport. More...
|
| |
| bool | removeData (int row, int col, int viewIndex) |
| | Remove an image used at the specified viewport. More...
|
| |
| int | getDataID (int row, int col, int viewIndex) |
| | Get DataList/DataManager top-level image indice for a specific viewport. More...
|
| |
| string | getDataIndexString (int row, int col, int viewIndex) |
| | Get DataList/DataManager images index as a string for a specific viewport. More...
|
| |
| int | getPlaneID (int row, int col) |
| | Get the plane ID at row,col (0:Coronal, 1:Sagittal, 2:Transverse) More...
|
| |
| int | getActiveRows () |
| | Get the number of rows in the layout. More...
|
| |
| int | getActiveColumns () |
| | Get the number of columns in the layout. More...
|
| |
| int | getMaxDim () |
| | Get the maximum possible dimension for row and col. More...
|
| |
| bool | isMerged (int row, int col) |
| | Check if the layout at row,col is a merged viewport. More...
|
| |
| bool | merge (int row, int col, int rowSpan, int colSpan) |
| | Merge the viewport at row,col (A span of 1 means no merge) More...
|
| |
| bool | split (int row, int col) |
| | Split the merged viewport at row,col. More...
|
| |
| bool | fullView (int row, int col, bool enabled) |
| | Sets the viewport at row,col to full view. More...
|
| |
| int | getSaveImageIndex (int row, int col) |
| | Gets the index of the viewport at row,col to be used with MainWin::saveImage() . More...
|
| |
|
void | showAllROIs (bool enabled) |
| | Show all ROIs for all the viewport.
|
| |
|
void | showROIs (int row, int col, bool enabled) |
| | Show ROIs for specified viewport.
|
| |
|
bool | isShowingROIs (int row, int col) |
| | Get Show ROIs state for specified viewport.
|
| |
Customizable view to allow various layout configurations of the displayed data.
This object can be used to configure the layout of the Multi View. It can also be used to change the selected data and the view plane. It also allows to change the hanging protocol used. Actions can be taken while any operators is loaded.
Rows and columns are indexed from 0. See also ScriptMaster::currentView() to obtain this object.