Did you set the whole extent in the RequestInformation script?

-berk

On Fri, Feb 6, 2009 at 11:28 AM, Eric E. Monson <[email protected]> wrote:
> Hello,
>
> I'm having trouble creating vtkImageData with the Python Programmable
> Source. The PolyData Helix example works fine for me, but when I try to
> create ImageData it seems to build the data structure within Python (i.e. I
> can print the characteristics of the ImageData and it looks fine in the
> Output Messages), but no data shows in the Information tab or the 3d render
> view.
>
> Here's the simplest case of the things I've tried (after selecting
> vtkImageData from the combo box):
>
> pdo = self.GetImageDataOutput()
> pdo.SetDimensions(10,10,10)
> pdo.SetOrigin(0,0,0)
> pdo.SetSpacing(1,1,1)
> print pdo
>
> I can add scalars to it, or create a new vtkImageData and then shallow or
> deep copy that over to the output, and those things look like they're
> working fine at the print statement, but they don't seem to help get the
> data to really show up in the pipeline.
>
> I hope someone can just point out something I'm forgetting to do...
> (PV 3.4 & CVS, OS X 10.5.6 & WinXP)
>
> Thanks,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> _______________________________________________
> ParaView mailing list
> [email protected]
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to