Skip to content
Browse files

BUG: add model slice thickness implementation for #2267

Also enable the associated gui element.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21840 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent 2bd29bf commit ab4bf68c96b4aea6d3d9d8d0cc33a3a0d752aa69 @pieper pieper committed
View
1 Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx
@@ -389,6 +389,7 @@ ::UpdateDisplayNodePipeline(vtkMRMLDisplayNode* displayNode, const Pipeline* pip
actor->SetPosition(0,0);
vtkProperty2D* actorProperties = actor->GetProperty();
actorProperties->SetColor(displayNode->GetColor() );
+ actorProperties->SetLineWidth(displayNode->GetSliceIntersectionThickness() );
}
}
View
6 Libs/MRML/Widgets/Resources/UI/qMRMLDisplayNodeWidget.ui
@@ -90,9 +90,6 @@
</item>
<item row="4" column="0">
<widget class="QLabel" name="SliceIntersectionThicknessLabel">
- <property name="enabled">
- <bool>false</bool>
- </property>
<property name="text">
<string>Slice Intersections &amp;Thickness:</string>
</property>
@@ -103,9 +100,6 @@
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="SliceIntersectionThicknessSpinBox">
- <property name="enabled">
- <bool>false</bool>
- </property>
<property name="minimum">
<number>0</number>
</property>

0 comments on commit ab4bf68

Please sign in to comment.
Something went wrong with that request. Please try again.