[vtkusers] vtkPLOT3DReader not working

pablo p del castillo pablodecastillo at yahoo.es
Wed Mar 23 10:03:22 EDT 2011


The Plot3D format is like ; (other source http://www.grc.nasa.gov/WWW/wind/valid/plot3d.html)
PLOT3D File Format 

   write(2) ngrid
   write(2) (nj(n),nk(n),nl(n),n=1,ngrid)
   do n=1,ngrid
      write(2) (((x(j,k,l),j=1,nj(n)),k=1,nk(n)),l=1,nl(n)),
  &            (((y(j,k,l),j=1,nj(n)),k=1,nk(n)),l=1,nl(n)),
  &            (((z(j,k,l),j=1,nj(n)),k=1,nk(n)),l=1,nl(n)),
  &            (((ib(j,k,l),j=1,nj(n)),k=1,nk(n)),l=1,nl(n))
   enddo

where ngrid    = number of grids
      nj,nk,nl = j,k,l dimensions of each grid
      x,y,z    = vertex coordinates
      ib       = vertex iblank value (optional)

For single grid format, ngrid is omitted.
My file was generated with this routine, but with ib omitted.
Advanced thanks


--- El mié, 23/3/11, David Doria <daviddoria at gmail.com> escribió:

De: David Doria <daviddoria at gmail.com>
Asunto: Re: [vtkusers] vtkPLOT3DReader not working
Para: "pablo p del castillo" <pablodecastillo at yahoo.es>
CC: vtkusers at vtk.org
Fecha: miércoles, 23 de marzo, 2011 13:08

On Wed, Mar 23, 2011 at 7:57 AM, pablo p del castillo <pablodecastillo at yahoo.es> wrote:

Hello,
I am trying to read this file, but i did not get it, it is not giving mistake, simple the reader is reading nothin.

Any idea?
 Which reader are you trying? All of the values are on line 3 - I don't think any of the readers handle data like that.

David 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110323/2a9d838f/attachment.htm>


More information about the vtkusers mailing list