I agree with Burlen, in the programmable filter:<br>print self.GetInput().GetWholeExtent()<br>print self.GetInput().GetUpdateExtent()<br>will show you the entire domain, and the domain that this particular processor is locally responsible for respectively.<br>
<br>Then for navigating around in the data, take a look at vtkDataSet::FindCell() which maps from a 3D world space coordinate to a particular vtkCell or vtkImageData::GetCell() which maps from VTK's cell index to a particular cell in the data set. (Both described at <a href="http://www.vtk.org/doc/nightly/html/classvtkDataSet.html">http://www.vtk.org/doc/nightly/html/classvtkDataSet.html</a>) Once you get the cell out, vtkCell's EvaluateX methods can help you get N interpolation weights to use to map from the N point values to a representative value for some location within the cell.<br>
<br>hth,<br><br clear="all">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-371-3971 x109<br>
<br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 12:48 PM, Sohail Shafii <span dir="ltr"><<a href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Hi,<br><br>Thanks for the reply. I'm not sure where to find this from self.input, but I will take a more in-depth look.<br>
<br>Something that occured to me: the pipeline splits up the data, so each piece gets its own 3D array that is reduced in size. So this 1D->3D conversion shouldn't be a problem for each processor. <br><br>Sohail<br>
<br>--- On <b>Sun, 8/8/10, <a href="mailto:paraview-developers-request@paraview.org" target="_blank">paraview-developers-request@paraview.org</a> <i><<a href="mailto:paraview-developers-request@paraview.org" target="_blank">paraview-developers-request@paraview.org</a>></i></b> wrote:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: <a href="mailto:paraview-developers-request@paraview.org" target="_blank">paraview-developers-request@paraview.org</a> <<a href="mailto:paraview-developers-request@paraview.org" target="_blank">paraview-developers-request@paraview.org</a>><br>
Subject: Paraview-developers Digest, Vol 57, Issue 2<br>To: <a href="mailto:paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a><br>Date: Sunday, August 8, 2010, 9:00 AM<br><br><div>Send
Paraview-developers mailing list submissions to<br> <a href="http://mc/compose?to=paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>or, via email, send a message with subject or body 'help' to<br>
<a href="http://mc/compose?to=paraview-developers-request@paraview.org" target="_blank">paraview-developers-request@paraview.org</a><br><br>You can reach the person managing the list at<br> <a href="http://mc/compose?to=paraview-developers-owner@paraview.org" target="_blank">paraview-developers-owner@paraview.org</a><br>
<br>When
replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Paraview-developers digest..."<br><br><br>Today's Topics:<br><br> 1. Re: Fw: vtk grids and parallelization (burlen)<br>
<br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 07 Aug 2010 12:51:56 -0700<br>From: burlen <<a href="http://mc/compose?to=burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>><br>
Subject: Re: [Paraview-developers] Fw: vtk grids and parallelization<br>To: Sohail Shafii <<a href="http://mc/compose?to=sohailshafii@yahoo.com" target="_blank">sohailshafii@yahoo.com</a>><br>Cc: <a href="http://mc/compose?to=paraview-developers@paraview.org" target="_blank">paraview-developers@paraview.org</a><br>
Message-ID: <<a href="http://mc/compose?to=4C5DB95C.6010304@gmail.com" target="_blank">4C5DB95C.6010304@gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Sohail,<br><br>I think you are looking for the<br>
vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT()<br>key.<br><br>Burlen<br><br>On 08/05/2010 01:41 PM, Sohail Shafii wrote:<br>> Is there a way to store the full extent of<br>> the original (structured grid) data set<br>
> before parallelization?<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Paraview-developers mailing list<br><a href="http://mc/compose?to=Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br><br><br>End of Paraview-developers Digest,
Vol 57, Issue 2<br>**************************************************<br></div></blockquote></td></tr></tbody></table><br>
<br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br>