Commit 32ddb687 authored by finetjul's avatar finetjul
Browse files

ENH: Display label map volumes into the Foreground/Background volume selector...

ENH: Display label map volumes into the Foreground/Background volume selector of the slice controllers.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15852 3bd1e089-480b-0410-8dfb-8563597acbee
parent 5a5e5ff0
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>392</width> <width>325</width>
<height>114</height> <height>84</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
......
...@@ -89,8 +89,9 @@ void qMRMLSliceControllerWidgetPrivate::setupUi(qMRMLWidget* widget) ...@@ -89,8 +89,9 @@ void qMRMLSliceControllerWidgetPrivate::setupUi(qMRMLWidget* widget)
// Set selector attributes // Set selector attributes
this->LabelMapSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "1"); this->LabelMapSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "1");
this->BackgroundLayerNodeSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "0"); // Background and Foreground volume selectors can display LabelMap volumes.
this->ForegroundLayerNodeSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "0"); //this->BackgroundLayerNodeSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "0");
//this->ForegroundLayerNodeSelector->addAttribute("vtkMRMLVolumeNode", "LabelMap", "0");
// Populate Advanced menu // Populate Advanced menu
this->setupMoreOptionsMenu(); this->setupMoreOptionsMenu();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment