[vtkusers] vtkUnstructuredGridWriter: different format

Burlen burlen at apollo.sr.unh.edu
Tue Feb 6 13:42:22 EST 2007


Hi did you look at vtkCellDataToPointData ?? You might be able to use the 
GetUnstructuredGridOutput to get an unstructured grid back.
Burlen

On Tuesday 06 February 2007 01:25 pm, Martin Baumann wrote:
> Hi,
>
> I am using a vtkUnstructuredGridWriter object to write vtk legacy format
> files. I noticed, that the produced files use a data description that looks
> like
>
> ...
> CELL_DATA 15
> POINT_DATA 24
> FIELD FieldData 1
> MyValue 1 24 float
> ... data ...
>
> In the VTK User's Guide I can read that format should be like
>
> ...
> POINT_DATA 24
> SCALARS MyValue double 1
> LOOKUP_TABLE default
> ... data ...
>
> Can I make the writer class produce files of the second type?
> Because my software has problems reading files of the first type.
>
> Regards, K.B.
> _______________________________________________________________________
> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 

Burlen Loring
Space Science Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
39 College Road, Durham, NH 03824
Phone: 603-862-1140



More information about the vtkusers mailing list