<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Hello,<div><br></div><div>Thanks for the information, it actually works, but with one little problem related to the Lookup Table.&nbsp;</div><div><br></div><div>I have defined it by setting a blue to red Hue Range, being 0 blue and 100 red. When I change the range values on the mapper, I get to hide the values below my minimum number, but the new range re-scales the lookup table, being the new minimum colored with blue (i.e., the minimum) and not with its previous color.</div><div><br></div><div>How can I avoid this rescaling?</div><div><br></div><div>Thanks again</div><div><br><hr id="stopSpelling">Date: Wed, 14 Jul 2010 11:08:31 +0100<br>Subject: Re: [vtkusers] Threshold in a volume<br>From: jothybasu@gmail.com<br>To: iliana_lancing@hotmail.com<br>CC: vtkusers@vtk.org<br><br><div dir="ltr">Try vtkPolyDataMapper()-&gt;SetScalarRange(yourMin,YourMax).<br><br><br>Jothy<br><br><div class="ecxgmail_quote">On Wed, Jul 14, 2010 at 11:05 AM, Iliana García Resines <span dir="ltr">&lt;<a href="mailto:iliana_lancing@hotmail.com">iliana_lancing@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="ecxgmail_quote" style="padding-left:1ex">



<div>
Hello,<div><br></div><div>I would like to know which is the best way of doing the following thing: I have a colored volume, with its values going from 0 to 100. I would like to &nbsp;given a float parameter, hide all the points with value below this parameter, and keep showing the rest of the points. I guess there is some way in VTK to do this, but I wonder if it is a vtk procedure itself, or maybe some flag in the mapper I am using.</div>
<div><br></div><div>Does someone knows how to perform this? I am using a vtkPolyDataMapper, which makes use of an own-defined Lookup Table.</div><div><br></div><div>Thanks in advance</div><div><br></div><div class="ecxhm">                                               <br>
<hr>Disfruta de Hotmail y Messenger en tu móvil con YOIGO. <a href="http://serviciosmoviles.es.msn.com/messenger/yoigo.aspx">¿A qué esperas?</a></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>                                               <br /><hr />Accede a tu Hotmail en un solo clic. <a href='http://www.ayudartepodria.com/' target='_new'>¡Descárgate Internet Explorer 8 y empieza a disfrutar de todas las ventajas!</a></body>
</html>