#include <QmitkMultiLabelManager.h>
Definition at line 38 of file QmitkMultiLabelManager.h.
 
◆ LabelValueVectorType
◆ QmitkMultiLabelManager()
  
  
      
        
          | QmitkMultiLabelManager::QmitkMultiLabelManager  | 
          ( | 
          QWidget *  | 
          parent = nullptr | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ ~QmitkMultiLabelManager()
  
  
      
        
          | QmitkMultiLabelManager::~QmitkMultiLabelManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ CurrentSelectionChanged
A signal that will be emitted if the selected labels change. 
- Parameters
 - 
  
    | labels | A list of label values that are now selected.  | 
  
   
 
 
◆ GetLabelStringList
  
  
      
        
          | QStringList& QmitkMultiLabelManager::GetLabelStringList  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ GetMultiLabelNode()
◆ GetMultiLabelSegmentation()
◆ GetSelectedLabels()
Retrieve the currently selected labels (equals the last CurrentSelectionChanged values). 
 
 
◆ GoToLabel
A signal that will be emitted if the user has requested to "go to" a certain label. 
Going to a label would be e.g. to focus the render windows on the centroid of the label. 
- Parameters
 - 
  
    | label | The label that should be focused.  | 
    | point | in World coordinate that should be focused.  | 
  
   
 
 
◆ LabelRenameRequested
  
  
      
        
          | void QmitkMultiLabelManager::LabelRenameRequested  | 
          ( | 
          mitk::Label *  | 
          label,  | 
         
        
           | 
           | 
          bool  | 
          rename,  | 
         
        
           | 
           | 
          bool &  | 
          canceled  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
signal   | 
  
 
Signal that is emitted, if a label should be (re)named and default label naming is deactivated. 
The instance for which a new name is requested is passed with the signal. 
- Parameters
 - 
  
     | label | Pointer to the instance that needs a (new) name.  | 
    | [in] | rename | Indicating if the signal was triggered for naming or renaming a label.  | 
    | [out] | canceled | Indicating if the request was canceled by the used.  | 
  
   
 
 
◆ SetDataStorage
◆ SetDefaultLabelNaming
  
  
      
        
          | void QmitkMultiLabelManager::SetDefaultLabelNaming  | 
          ( | 
          bool  | 
          defaultLabelNaming | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ setEnabled
  
  
      
        
          | virtual void QmitkMultiLabelManager::setEnabled  | 
          ( | 
          bool  | 
          enabled | ) | 
           | 
         
       
   | 
  
virtualslot   | 
  
 
 
◆ SetMultiLabelNode
  
  
      
        
          | void QmitkMultiLabelManager::SetMultiLabelNode  | 
          ( | 
          mitk::DataNode *  | 
          node | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Sets the segmentation node that will be used /monitored by the widget. 
- Parameters
 - 
  
    | node | A pointer to the segmentation node.  | 
  
   
 
 
◆ SetMultiLabelSegmentation
Sets the segmentation that will be used /monitored by the widget. 
- Parameters
 - 
  
    | segmentation | A pointer to the segmentation to set.  | 
  
   
- Precondition
 - Segmentation node is nullptr. 
 
 
 
◆ SetSelectedLabel
Selects the passed label instance and sets a new selection of the view. 
- Parameters
 - 
  
    | selectedLabel | Value of the label instance that should be selected.  | 
  
   
 
 
◆ SetSelectedLabels
Transform a list label values into a model selection and set this as a new selection of the view. 
- Parameters
 - 
  
    | selectedLabels | A list of data nodes that should be newly selected.  | 
  
   
 
 
◆ UpdateControls
  
  
      
        
          | void QmitkMultiLabelManager::UpdateControls  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
The documentation for this class was generated from the following file: