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

Object to interact with the Layout Operator when it is active. More...

Public Slots

void setShowROIs (bool toEnable)
 setShowROIs operates on currently selected viewport More...
 

Public Member Functions

bool setHangProtocol (string name)
 Set to the specified hanging protocol. More...
 
bool createHangProtocol (string name, bool quiet=false)
 Create a new hanging protocol with the current layout. More...
 
bool removeHangProtocol (string name)
 Remove the specified hanging protocol from the list. More...
 

Detailed Description

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.

Member Function Documentation

◆ createHangProtocol()

bool createHangProtocol ( string  name,
bool  quiet = false 
)

Create a new hanging protocol with the current layout.

Parameters
nameThe hanging protocol name
quietDo 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
nameThe hanging protocol name

◆ setHangProtocol()

bool setHangProtocol ( string  name)

Set to the specified hanging protocol.

Parameters
nameThe hanging protocol name

◆ setShowROIs

void setShowROIs ( bool  toEnable)
slot

setShowROIs operates on currently selected viewport

Parameters
toEnable