Object to interact with the Layout Operator when it is active.
More...
#include <LayoutOperator.h>
|
void | setShowROIs (bool toEnable) |
| setShowROIs operates on currently selected viewport
|
|
|
bool | setHangProtocol (string name) |
| Set to the specified hanging protocol.
|
|
bool | createHangProtocol (string name, bool quiet=false) |
| Create a new hanging protocol with the current layout.
|
|
bool | removeHangProtocol (string name) |
| Remove the specified hanging protocol from the list.
|
|
Object to interact with the Layout Operator when it is active.
This object can be used do layout manipulations in the Multi-View
See also ScriptMaster::currentOp() to obtain this object.
◆ createHangProtocol()
bool createHangProtocol |
( |
string |
name, |
|
|
bool |
quiet = false |
|
) |
| |
Create a new hanging protocol with the current layout.
- Parameters
-
name | The hanging protocol name |
quiet | Do not prompt message box if hanging protocol already exist, force overwrite. |
◆ removeHangProtocol()
bool removeHangProtocol |
( |
string |
name | ) |
|
Remove the specified hanging protocol from the list.
- Parameters
-
name | The hanging protocol name |
◆ setHangProtocol()
bool setHangProtocol |
( |
string |
name | ) |
|
Set to the specified hanging protocol.
- Parameters
-
name | The hanging protocol name |
◆ setShowROIs
void setShowROIs |
( |
bool |
toEnable | ) |
|
|
slot |
setShowROIs operates on currently selected viewport
- Parameters
-