<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->SetVoidArray() is called, and renWin->Render() is called.</P>
<P>I also added datasetmapper->Update() within the loop</P>
<P>But it doesnt seem to update the data unless I actually initialize teh datasetmapper by doing</P>
<P> 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 datasetmapper->Update() work?? Why do i have to reinitialize? 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> </P></DIV>
<DIV></DIV>>From: "Jean-Guy LaRoche" <LOST_BITS1110@HOTMAIL.COM>
<DIV></DIV>>To: vtkusers@vtk.org
<DIV></DIV>>Subject: RE: [vtkusers] imageData scalars mapped onto grayscale using lookuptable?
<DIV></DIV>>Date: Sun, 21 Dec 2003 00:07:56 +0000
<DIV></DIV>>MIME-Version: 1.0
<DIV></DIV>>X-Originating-IP: [65.93.53.163]
<DIV></DIV>>X-Originating-Email: [lost_bits1110@hotmail.com]
<DIV></DIV>>X-Sender: lost_bits1110@hotmail.com
<DIV></DIV>>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>>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>>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>>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>>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 20 Dec 2003 16:07:56 -0800
<DIV></DIV>>Received: from 65.93.53.163 by lw15fd.law15.hotmail.msn.com with HTTP;Sun, 21 Dec 2003 00:07:56 GMT
<DIV></DIV>>X-Message-Info: DJg0iSgxerLhd/7ikO5+gdKfNoqjB26A9VYpZXP9HAo=
<DIV></DIV>>Delivered-To: vtkusers@vtk.org
<DIV></DIV>>Message-ID: <LAW15-F683ZS3MPW6YL0000CD32@HOTMAIL.COM>
<DIV></DIV>>X-OriginalArrivalTime: 21 Dec 2003 00:07:56.0112 (UTC) FILETIME=[7C2FAD00:01C3C756]
<DIV></DIV>>Errors-To: vtkusers-admin@vtk.org
<DIV></DIV>>X-BeenThere: vtkusers@vtk.org
<DIV></DIV>>X-Mailman-Version: 2.0.11
<DIV></DIV>>Precedence: bulk
<DIV></DIV>>List-Help: <mailto:vtkusers-request@vtk.org?subject=help>
<DIV></DIV>>List-Post: <mailto:vtkusers@vtk.org>
<DIV></DIV>>List-Subscribe: <HTTP: www.vtk.org mailman listinfo vtkusers>,<mailto:vtkusers-request@vtk.org?subject=subscribe>
<DIV></DIV>>List-Id: <VTKUSERS.VTK.ORG>
<DIV></DIV>>List-Unsubscribe: <HTTP: www.vtk.org mailman listinfo vtkusers>,<mailto:vtkusers-request@vtk.org?subject=unsubscribe>
<DIV></DIV>>List-Archive: <HTTP: www.vtk.org vtkusers pipermail />
<DIV></DIV>>Return-Path: vtkusers-admin@vtk.org
<DIV></DIV>>
<DIV></DIV>><< message3.txt >>
<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>