<html><div style='background-color:'><DIV class=RTE>
<P>nevermind - the problem is not to do with the way I setup my lookup table..</P>
<P>i realize now that it has to do with the updating of the DataSetMapper,</P>
<P>basically I have an infinite loop, in which the scalar data is modified, fltarray-&gt;SetVoidArray() is called,&nbsp; and renWin-&gt;Render() is called.</P>
<P>I also added datasetmapper-&gt;Update() within the loop</P>
<P>But it doesnt seem to update the data unless I actually initialize teh datasetmapper by doing</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkDataSetMapper datasetmapper = vtkDataSetMapper::New()</P>
<P>within the loop.. but this really slows down teh rendering process</P>
<P><STRONG>Why doesn't just calling&nbsp; datasetmapper-&gt;Update()&nbsp; work?? Why do i have to reinitialize?&nbsp; Is there another way I can get it to work without reinitializing (so it goes faster)? </STRONG></P>
<P>Thank you vtkusers</P>
<P><BR>&nbsp;</P></DIV>
<DIV></DIV>&gt;From: "Jean-Guy LaRoche" <LOST_BITS1110@HOTMAIL.COM>
<DIV></DIV>&gt;To: vtkusers@vtk.org 
<DIV></DIV>&gt;Subject: RE: [vtkusers] imageData scalars mapped onto grayscale using lookuptable? 
<DIV></DIV>&gt;Date: Sun, 21 Dec 2003 00:07:56 +0000 
<DIV></DIV>&gt;MIME-Version: 1.0 
<DIV></DIV>&gt;X-Originating-IP: [65.93.53.163] 
<DIV></DIV>&gt;X-Originating-Email: [lost_bits1110@hotmail.com] 
<DIV></DIV>&gt;X-Sender: lost_bits1110@hotmail.com 
<DIV></DIV>&gt;Received: from mc1-f42.hotmail.com ([64.4.50.49]) by mc1-s14.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 20 Dec 2003 16:09:26 -0800 
<DIV></DIV>&gt;Received: from public.kitware.com ([24.97.130.19]) by mc1-f42.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Sat, 20 Dec 2003 16:08:27 -0800 
<DIV></DIV>&gt;Received: from public.kitware.com (localhost [127.0.0.1])by public.kitware.com (Postfix) with ESMTPid 98D7E1ACC0; Sat, 20 Dec 2003 19:08:04 -0500 (EST) 
<DIV></DIV>&gt;Received: from hotmail.com (law15-f68.law15.hotmail.com [64.4.23.68])by public.kitware.com (Postfix) with ESMTP id 5BEFF1AACFfor <VTKUSERS@VTK.ORG>; Sat, 20 Dec 2003 19:08:00 -0500 (EST) 
<DIV></DIV>&gt;Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 20 Dec 2003 16:07:56 -0800 
<DIV></DIV>&gt;Received: from 65.93.53.163 by lw15fd.law15.hotmail.msn.com with HTTP;Sun, 21 Dec 2003 00:07:56 GMT 
<DIV></DIV>&gt;X-Message-Info: DJg0iSgxerLhd/7ikO5+gdKfNoqjB26A9VYpZXP9HAo= 
<DIV></DIV>&gt;Delivered-To: vtkusers@vtk.org 
<DIV></DIV>&gt;Message-ID: <LAW15-F683ZS3MPW6YL0000CD32@HOTMAIL.COM>
<DIV></DIV>&gt;X-OriginalArrivalTime: 21 Dec 2003 00:07:56.0112 (UTC) FILETIME=[7C2FAD00:01C3C756] 
<DIV></DIV>&gt;Errors-To: vtkusers-admin@vtk.org 
<DIV></DIV>&gt;X-BeenThere: vtkusers@vtk.org 
<DIV></DIV>&gt;X-Mailman-Version: 2.0.11 
<DIV></DIV>&gt;Precedence: bulk 
<DIV></DIV>&gt;List-Help: <mailto:vtkusers-request@vtk.org?subject=help>
<DIV></DIV>&gt;List-Post: <mailto:vtkusers@vtk.org>
<DIV></DIV>&gt;List-Subscribe: <HTTP: www.vtk.org mailman listinfo vtkusers>,<mailto:vtkusers-request@vtk.org?subject=subscribe> 
<DIV></DIV>&gt;List-Id: <VTKUSERS.VTK.ORG>
<DIV></DIV>&gt;List-Unsubscribe: <HTTP: www.vtk.org mailman listinfo vtkusers>,<mailto:vtkusers-request@vtk.org?subject=unsubscribe> 
<DIV></DIV>&gt;List-Archive: <HTTP: www.vtk.org vtkusers pipermail />
<DIV></DIV>&gt;Return-Path: vtkusers-admin@vtk.org 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;&lt;&lt; message3.txt &gt;&gt; 
<DIV></DIV></mailto:vtkusers-request@vtk.org?subject=unsubscribe></mailto:vtkusers-request@vtk.org?subject=subscribe></mailto:vtkusers@vtk.org></mailto:vtkusers-request@vtk.org?subject=help></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2737??PS=">It’s our best dial-up Internet access offer: 6 months @$9.95/month. Get it now! </a> </html>