[Paraview] VTK Particles format for Paraview
David E DeMarle
dave.demarle at kitware.com
Tue Jun 19 11:31:42 EDT 2012
I don't think there is a vtk writer class for that format. Looking at
the code for vtkParticlesReader makes me think you can just fopen,
fwrite and fclose from a c program for example to create a binary
.particles file.
For ascii I'ld recommend using the standard csv reader instead of this one.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Tue, Jun 19, 2012 at 8:52 AM, Nicholas Yue <yue.nicholas at gmail.com> wrote:
> Hi,
>
> I noticed that there is a *.particles format for VTK.
>
> However, looking through the VTK documentation, I have not found example
> code of how that format can be written out.
>
> I have pretty standard particle data with the following
>
> x y z vx vy vz temperature mass
>
> Could someone point me to the correct VTK class to use to create the
> appropriate files so that Paraview is able to load them.
>
> Regards
>
> --
> Nicholas Yue
> Graphics - RenderMan, Visualization, OpenGL, HDF5
> Custom Dev - C++ porting, OSX, Linux, Windows
> Management - Recruitment, career management
> http://www.proceduralinsight.com/
> http://au.linkedin.com/in/nicholasyue
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list