[vtkusers] Multiple SCALARS or VECTORS in POINT_DATA

Thompson, David C dcthomp at sandia.gov
Tue Jan 2 02:36:06 EST 2007


The file named blow.vtk in the VTKData repository
sounds like an example of what you're looking for:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Data/blow.vtk?rev=1.1&root=VTKData&view=auto/SCA

However, Kitware generally advises using the XML file
format when you need multiple point or cell arrays
of the same type (scalar, vector, texture, ...).

    David

-----Original Message-----
From: vtkusers-bounces+dcthomp=sandia.gov at vtk.org on behalf of Mengda Wu
Sent: Mon 1/1/2007 11:11 PM
To: vtkusers at vtk.org
Subject: [vtkusers] Multiple SCALARS or VECTORS in POINT_DATA
 
Hi VTKers,

   Can I have multiple SCALARS or VECTORS in POINT_DATA of a VTK file.

Something Like:

POINT_DATA 6
SCALARS scalars1 float 1
LOOKUP_TABLE default
0.0 1.0 2.0 3.0 4.0 5.0
SCALARS scalars2 float 1
LOOKUP_TABLE default
5.0 4.0 3.0 2.0 1.0 0.0

   Or I need to use FIELD?

Something Like:
POINT_DATA 6
scalars1 1 6 float
0.0 1.0 2.0 3.0 4.0 5.0
scalars2 1 6 float
5.0 4.0 3.0 2.0 1.0 0.0

Thanks,
Mengda

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


More information about the vtkusers mailing list