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

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 23 12:51:14 EST 2010


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
>
>


More information about the ParaView mailing list