[Paraview] How to get back the first line of a VTK legacy file

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 23 17:07:02 EST 2010


Yes, in field data, the number of tuples doesn't have to match the
number of points or cells, so you can have arbitrary length arrays.

Utkarsh

On Tue, Feb 23, 2010 at 4:51 PM, Fred Fred <stan1313 at hotmail.fr> wrote:
> Does it mean that a field data array store only the variable once for all
> the dataset? I would like to avoir having the same value stored for each
> component.
>
>> Date: Tue, 23 Feb 2010 12:51:14 -0500
>> Subject: Re: [Paraview] How to get back the first line of a VTK legacy
>> file
>> From: utkarsh.ayachit at kitware.com
>> To: stan1313 at hotmail.fr
>> CC: paraview at paraview.org
>>
>> A possible alternative to put such additional parameters in a field data
>> array.
>>
>> On Tue, Feb 23, 2010 at 6:34 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
>> > The first - not comment - line in a legacy VTK file is free for the user
>> > and
>> > can be used to mention, let us say, an approximation method to use with
>> > the
>> > data for instance, at least I would like to use it for this purpose.
>> > This line can be got back in a C++ code by using
>> > vtkDataReader::GetHeader().
>> > Is it possible to get ot from the VTK dataset instead? since a filter
>> > has
>> > only access to the data, not to the reader.
>> > Or is it another (better) way to encode general information in a
>> > dataset? I
>> > suppose vtkInformation can be used for this purpose but where does it
>> > appear
>> > in a file?
>> >
>> >
>> >
>> > ________________________________
>> > Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez
>> > !
>> > _______________________________________________
>> > 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
>> >
>> >
>
> ________________________________
> Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !


More information about the ParaView mailing list