[Paraview] VTK Legacy Format

fred fredmfp at gmail.com
Thu Apr 19 17:42:37 EDT 2007


Gregory, David C CIV NSWCDD, G24 a écrit :
>
> The recent discussion regarding simple text formats, CSV, et. al. 
> prompted me to try out the legacy VTK format for a project I'm working 
> on.  I've created a couple of simple VTK files to test out but I'm not 
> getting the results I expect when I color the set by the scalar value 
> (see attached vtk file and png, test-2D).  Specifically, the plot is 
> not symmetric when the data set is.
>
> Also, it seems that the order of the points in the grid section 
> matters.  By that I mean if I don't put the grid points in order of x 
> as fastest running, I get a errors when displaying in paraview (see 
> attached test-errors).  Is this a desired effect?
>
The order is important in your case because you use  StructuredGrid dataset.
So, yes, you have to follow some "rules" to write your VTK files, and 
thus, the order of the ijk loops is important.

> Are my questions actually VTK related and not Paraview related?
>
Yes, they are VTK related.

Cheers,

-- 
/F



More information about the ParaView mailing list