<div dir="ltr"><div><div><div><div>Hi Roberto,<br><br>try using<br>vtkProperty* p = widget->GetPlaneProperty();<br></div>p->SetOpacity(0);<br><br>and if you dont want to see the selected plane outline:<br>vtkProperty* p = widget->GetSelectedPlaneProperty();<br>
p->SetOpacity(0);<br><br></div>there are probably many other ways to "hide" the plane outline , <br></div>eg., set the color to black etc. etc. <br><br></div>regards<br>Dean<br><div><div><div><br></div></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 4:36 AM, Roberto Garrido <span dir="ltr"><<a href="mailto:rgarrido@emedica.es" target="_blank">rgarrido@emedica.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="ES"><div><p class="MsoNormal">Hi there,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">He have an instance of vtkImagePlaneWidget and we need to hide the outline actor, but it’s interface doesn’t seem to allow that.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">SetEnabled( 0 ) will actually hide the outline, but also the rest of the widget, so it’s not an option.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Any ideas?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">All my best,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Robert.<u></u><u></u></span></p></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>