<html>
<body>
<br>
Hello,<br><br>
How big is your data? (the dimensions of the structured points object)
<br><br>
Lisa<br><br>
At 04:40 PM 2/5/2004, REGAT-BARREL Aurélien wrote:<br>
<blockquote type=cite class=cite cite>Hello,<br>
SetColorModeToMapScalars was missing thank you very much. Now it does
something. But not really what I hope. Cells wich are near a transparent
cell are not fully draw. My object is open and I can see its inside, and
it is not so fast. I am disappointed.<br>
Thanks for your help.<br><br>
<b><i>HIRAKI Hideaki <hhiraki@lab.nig.ac.jp></i></b> wrote:<br>
<dl>
<dd>REGAT-BARREL Aurélien wrote:<br>
<dd>> Hello everybody,<br>
<dd>> I am still trying to blank zero-value points in my
vtkStrcuturedPoints. I have done it via a vtkThreshold filter but it
generate a new DataSet and it is very slow.<br>
<dd>> So I have tried to change black points opacity in the
lookuptable build by the mapper but it fails.<br>
<dd>> Here is the interesting code :<br>
<dd>> <br>
<dd>> mapper = vtkDataSetMapper()<br>
<dd>> mapper.SetInput( cloud )<br>
<dd>> mapper.SetScalarRange( cloud.GetScalarRange() )<br>
<dd>> lut = mapper.GetLookupTable()<br>
<dd>> lut.Build()<br>
<dd>> lut.SetTableValue( 0, 0, 0, 0, 0 )<br>
<dd>> <br>
<dd>> It does nothing, why ?<br><br>
<dd>mapper.SetColorModeToMapScalars() seems missing.<br>
<dd>If your data is vtkStructuredPoints, volume rendering <br>
<dd>may fit more for your need.<br><br>
<dd>Regards,<br><br>
<dd>Hideaki Hiraki<br><br>
</dl><br>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br>
<a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.benefits.yahoo.com/">Créez
votre Yahoo! Mail</a> </blockquote></body>
</html>