Re: [Paraview] VTK File Format

2016-10-05 Thread David Lonie
That's correct -- the cell information specifies the points by index. You can find more information on the VTK file formats here: http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf HTH, Dave On Wed, Oct 5, 2016 at 9:19 AM, Sellmann, Kai Asaad < asaad.sellm...@rwth-aachen.de> wrote:

[Paraview] VTK File Format

2016-10-05 Thread Sellmann, Kai Asaad
Hello everyone! I have created a vtk File with point coordinates, and cell definitions. As I am getting distorted surfaces I was wondering what it could be. The coordinates are nodal coordinates taken from a FE Model. The elements are defined by the IDs of their corresponding nodes. So it

Re: [Paraview] VTK file format

2011-12-14 Thread Felipe Bordeu
you can use xdmf, with a .xmdf file for the light data (meta data), and 2 files or more (hdf5 or binary) for the heavy data (field data, point data, connectivity...). more info in http://www.xdmf.org On 13/12/2011 21:01, Robert Maynard wrote: I am pretty sure that both the Legacy VTK and

Re: [Paraview] VTK file format

2011-12-14 Thread Paw Møller
Another good file format for writing topology and data to different files, is the Ensight Gold format. See this post http://www.paraview.org/pipermail/paraview/2010-February/015708.html You can write both acsii and binary files. I can send you a simple fortran routine, which writes

Re: [Paraview] VTK file format

2011-12-13 Thread Alexander Podlozhnyuk
2011/12/13 Alexander Podlozhnyuk xmedve...@gmail.com Hello! I use VTK file format for visualizing scientific data in Paraview. I write in this file mesh (point_data + cell_data) and Field Data (pressure distribution for each point and etc.). Is it possible to write mesh data and field data

Re: [Paraview] VTK file format

2011-12-13 Thread Robert Maynard
I am pretty sure that both the Legacy VTK and the XML VTK do not support writing out the mesh and field data as different files. On Tue, Dec 13, 2011 at 2:52 PM, Alexander Podlozhnyuk xmedve...@gmail.com wrote: 2011/12/13 Alexander Podlozhnyuk xmedve...@gmail.com Hello! I use VTK file

[Paraview] VTK file format

2011-12-12 Thread Alexander Podlozhnyuk
Hello! I use VTK file format for visualizing scientific data in Paraview. I write in this file mesh (point_data + cell_data) and Field Data (pressure distribution for each point and etc.). Is it possible to write mesh data and field data in separate vtk-files and read them together in Paraview? Or

Re: [Paraview] VTK File Format Question

2010-12-13 Thread Sebastien Jourdain
Hi Jeff, the points coordinates are implicit which mean that once you defined your grid by its size/spacing/origin, your are fine. And the only thing that is missing is the data that you try to show. Those data can be located at each point of the grid or at the center of each cell (cell: small

Re: [Paraview] VTK File Format Question

2010-12-13 Thread Berk Geveci
Assuming that you are defining a uniform rectilinear grid, you need STRUCTURED_POINTS. As for defining opacity, what is your goal? To do volume rendering? Other than when using volume rendering, opacity does not have any effect. If you need to define an arbitrary set of cubes, you probably need

Re: [Paraview] VTK File Format Question

2010-12-13 Thread Jeff Johnson
This is great, thanks Berk and Sebastien. Yes, I am trying to do volume rendering. My dataset represents a 3D grid occupancy map, where each cell has a specified likelihood of occupancy. I'd like to render that as a set of unit cells, where the opacity is directly related to the likelihood of

Re: [Paraview] VTK File Format Question

2010-12-13 Thread Berk Geveci
What you need is to volume render cell data instead of point data. Unfortunately, ParaView does not support volume rendering of cell data in images. However, it supports volume rendering of cell data in unstructured grids. Try this: - Create a STRUCTURED_POINTS with cell data - Load it - Apply

Re: [Paraview] VTK File Format Question

2010-12-13 Thread Jeff Johnson
Hey, cool, I just tried that on some test data, and it looks like it might do the trick. I do have a rather large dataset, but I'll try both this and Sebastian's suggestion and see what happens. Thanks! -Jeff On Dec 13, 2010, at 15:31 , Berk Geveci wrote: What you need is to volume render

Re: [Paraview] VTK File Format Question

2010-12-12 Thread Sebastien Jourdain
Hi Jeff, on the help page of vtk (http://www.vtk.org/VTK/help/documentation.html) you do have a link on the VTK file format. You should be able to find all the informations that you need here: http://www.vtk.org/VTK/img/file-formats.pdf Seb On Sat, Dec 11, 2010 at 8:44 PM, Jeff Johnson

Re: [Paraview] VTK File Format Question

2010-12-12 Thread Jeff Johnson
Thanks, but I'm totally new to the VTK file format and ParaView, and the documentation is not clear. It seems like the STRUCTURED_GRID geometry is the proper one for what I need, but I can find virtually no examples of it's use. For instance, if I want to specify a set of unit cubes from a set

[Paraview] VTK File Format Question

2010-12-11 Thread Jeff Johnson
Hi all, I'm using ParaView to visualize a dataset, and I'm trying to generate an ASCII VTK file that will specify a set of voxels, where each voxel has an associated color and opacity. Does anyone have any suggestions for how I should format the file? It seems like this should be easy, but I

Re: [Paraview] vtk file format too strikt

2009-02-13 Thread David E DeMarle
Feel free to add a bug to the vtk bug tracker: http://public.kitware.com/Bug On Fri, Feb 6, 2009 at 12:53 PM, Jens jens-de...@gmx.de wrote: Hi, the following file _cannot_ be read by paraview 3.4.0: #vtk DataFile Version 2.0 Detailed ASCII DATASET POLYDATA POINTS 1 float -0.00168334

[Paraview] vtk file format too strikt

2009-02-06 Thread Jens
Hi, the following file _cannot_ be read by paraview 3.4.0: #vtk DataFile Version 2.0 Detailed ASCII DATASET POLYDATA POINTS 1 float -0.00168334 0.0751933 -0.000422686 but with adding one space it is fine: # vtk DataFile Version 2.0 Detailed ASCII DATASET POLYDATA POINTS 1 float -0.00168334