[vtkusers] Multiple SCALARS or VECTORS in POINT_DATA

Mengda Wu wumengda at gmail.com
Tue Jan 2 04:49:31 EST 2007


Thanks for your answer.

Then, for the data which has multiple scalars or vectors.
How to tell a filter(such as threshold, contour, glyph, etc.) to operate on
a particular scalar or vector?

I am very confused with the data pipeline of VTK?
Will A filter which generates new data pass the old data to the output? Or
just discard?

Thanks,
Guanglei

2007/1/1, Thompson, David C <dcthomp at sandia.gov>:
>
>  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/ff7dd303/attachment.htm>


More information about the vtkusers mailing list