Michael,

Looks like your vtk file doesn't define any cell, just points. That's
the problem. Several filters iterate over points in cells and when
cells are missing may totally skip points (which why you see no
rendering when you load the vtk file). You need to define a vertices
cell for your polydata in the vtk file. Save out the
csv->table-to-points data as a ASCII vtk file to see how to define the
cells.

Utkarsh

On Sun, Nov 7, 2010 at 5:04 AM, Michael Müller
<michael.muel...@ifk.uni-stuttgart.de> wrote:
> Sorry, forgot to append the files...
>
> Von: Michael Müller
> Gesendet: Sonntag, 7. November 2010 11:00
> An: Utkarsh Ayachit
> Cc: paraview@paraview.org
> Betreff: AW: [Paraview] ParticlePathlines filter with vtk time series
>
> Utkarsh,
>
> here you can see my sample files (vtk & csv) each consisting of 4 time steps. 
> The csv series works as expected, the vtk series doesn't...
>
> Thanks.
>
> Michael
>
> ________________________________________
> Von: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> Gesendet: Freitag, 5. November 2010 21:20
> An: Michael Müller
> Cc: paraview@paraview.org
> Betreff: Re: [Paraview] ParticlePathlines filter with vtk time series
>
> Can you possible share the vtk file you  are having issue with? You
> can send it to me offline, if you cannot post it to the list.
>
> Thanks
> Utkarsh
>
> On Fri, Nov 5, 2010 at 6:36 AM, Michael Müller
> <michael.muel...@ifk.uni-stuttgart.de> wrote:
>> Hi,
>>
>> I got a question regarding the 'ParticlePathlines'-filter. What I want to do 
>> is, load particle time series follow its trajectories and colour the 
>> pathlines according to a certain variable...
>> If I load my time series of vtk-files (see below), apply the 
>> 'ParticlePathlines'-filter and skip through the time steps I can follow the 
>> particle trajectories. I may also choose the variable for the particles 
>> itself (TPART, see below). But for the pathlines the only options are 'Solid 
>> Color' and 'TrailId', so it's not possible to color the tracks acc. to for 
>> example TPART... Why that?
>> - Is sth wrong with my file?
>> - Do I need another paraview filter?
>>
>> I am currently using the downloaded version 3.8.1.
>>
>> And by the way, it is working properly using simple csv file series: after 
>> loading the series, applying TableToPoints & ParticlePathlines filter I may 
>> choose TPART for coloring the pathlines...
>>
>> Any hints on that?
>>
>> Thanks.
>> Michael
>>
>>
>> sample files:
>> ... vtk:
>> # vtk DataFile Version 3.0
>> Particles: at time step 1
>> ASCII
>> DATASET POLYDATA
>> POINTS      4 float
>>   1.00000e+00 1.00000e+00 0.00000e+00
>>   1.00000e+00 2.00000e+00 0.00000e+00
>>   2.00000e+00 2.00000e+00 0.00000e+00
>>   2.00000e+00 1.00000e+00 0.00000e+00
>> POINT_DATA  4
>> SCALARS TPART float 1
>> LOOKUP_TABLE DEFAULT
>>   3.00000e+02
>>   3.00000e+02
>>   3.00000e+02
>>   3.00000e+02
>>
>> ... csv:
>>   X,         Y,         Z,       TPART
>>  1.000,     1.000,     0.000,     300
>>  1.000,     2.000,     0.000,     300
>>  2.000,     2.000,     0.000,     300
>>  2.000,     1.000,     0.000,     300
>>
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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

Reply via email to