[vtkusers] Vectors in XML-format VTK files

Dominik Szczerba dominik at itis.ethz.ch
Wed Oct 29 16:29:56 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Do you generate the file yourself (without VTK)? If so, I would start
with something simpler as a legacy file. Then load it into PV, save as
XML, and reverse-engineer the resulting file.

Dominik


Deshpreet Singh Bedi wrote:
> Hi Dominik,
> 
> Thanks for your reply.  One thing though -- what is the exact syntax for
> including Vectors?  It is not precisely explained in the VTK File
> Formats packet.  I want the Cell Data that I include to be visualized as
> vectors originating from the center of my cells in ParaView.  How do I
> specify that?
> 
> Thanks,
> Desh
> 
> On Wed, Oct 29, 2008 at 3:52 PM, Dominik Szczerba <dominik at itis.ethz.ch
> <mailto:dominik at itis.ethz.ch>> wrote:
> 
> You can opt for immediate delivery and not a digest.
> 
> If to use point or cell data is up to you and what you need.
> Cell-centered scheme means you have data defined at cell center, in this
> case the length of the array has to be that of the number of cells;
> point-data means your data is defined at the points - in that case the
> size of the array has to match the number of points.
> 
> Dominik
> 
> Deshpreet Singh Bedi wrote:
>> Hi,
> 
>> What is the best way to include vectors in XML-format VTK files?
>  Should
>> they be included as Cell Data or Point Data?  What is the difference,
>> and what is the format for each?
> 
>> Thanks,
> 
>> Deshpreet Bedi
> 
>> P.S. If possible, I would greatly appreciate it if a reply could be
>> sent, in addition to the list-serve, directly to my email, as the
> daily
>> digest comes at far-too-widespread intervals.  Thank you.
> 
> 
> 
> ------------------------------------------------------------------------
> 
>> _______________________________________________
>> 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
> 

- --
Dominik Szczerba, Ph.D.
Computational Physics Group
Foundation for Research on IT in Society
http://www.itis.ethz.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFJCMfE/EBMh9bUuzIRAsHPAJ0YtAdiSrdcgv3Qtt4mwBwt29M0SQCg2W9P
6NtJlMz4Mk7QHTUmlJsSPX4=
=dVmk
-----END PGP SIGNATURE-----



More information about the vtkusers mailing list