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

Fred Fred stan1313 at hotmail.fr
Tue Feb 23 06:34:39 EST 2010


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?


 		 	   		  
_________________________________________________________________
Téléchargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100223/5e219969/attachment.htm>


More information about the ParaView mailing list