[vtkusers] Reading Plot3d file

Lego Andy me at andy.cx
Wed Nov 22 09:50:07 EST 2000


Hello!

I have plot3d file:
gridxyz.bin
var1.dat
var2.dat

gridxyz contains x,y,z data.
var1.dat contains the first variable
var2.dat contains the second variable

How can I read it in VTK?

I tried like this:

pl3d = vtkPLOT3FReader()
pl3d.SetXYZFileName("gridxyz.bin")
pl3d.SetFunctionFileName("var1.dat")
pl3d.Update()

doSomething(pl3d.GetOutput())

I get error that there is nothing to do / no data.
Please help me

				Andy

--
 /\  |  | |~\  \  /      ------------------------------------------------
/  \ |\ | |  |  \/      / e-mail: andy at x0.org  )\._.,--....,'``.
|--| | \| |  |  /      /  ICQ: 27889915       /,   _.. \   _\  (`._ ,.
|  | |  | |_/  /      /   http://andy.x0.org  `._.-(,_..'--(,_..'`-.;.'
----------------------                                  




More information about the vtkusers mailing list