<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hmm, I tried it without success:<br><br>FIELD FieldData 1<br>FEmethod 1 1 string<br>Lagrange<br><br>yieds to:<br><br>============================================<br>ERROR: In /usr/local/ParaView3/VTK/Filtering/vtkDataSet.cxx, line 439<br>vtkPolyData (0xae3eac0): Cell array FEmethod with 1 components, has only 1 tuples but there are 4 cells<br><br>ERROR: In /usr/local/ParaView3/VTK/Parallel/vtkPDataSetReader.cxx, line 921<br>vtkPDataSetReader (0xa5d5c60): Attribute Mismatch.<br><br>ERROR: In /usr/local/ParaView3/VTK/Filtering/vtkExecutive.cxx, line 757<br>vtkCompositeDataPipeline (0xa5d6420): Algorithm vtkFileSeriesReader(0xa5a2600) returned failure for request: vtkInformation (0xae3e650)<br> Debug: Off<br> Modified Time: 97070<br> Reference Count: 1<br> Registered Events: (none)<br> Request: REQUEST_DATA<br> FROM_OUTPUT_PORT: 0<br> FORWARD_DIRECTION: 0<br> ALGORITHM_AFTER_FORWARD: 1<br>============================================<br><br><br>while:<br><br>FIELD FieldData 1<br>FEmethod 1 4 string<br>Lagrange Lagrange Lagrange Lagrange<br><br>works!<br><br>> Date: Tue, 23 Feb 2010 17:07:02 -0500<br>> Subject: Re: [Paraview] How to get back the first line of a VTK legacy file<br>> From: utkarsh.ayachit@kitware.com<br>> To: stan1313@hotmail.fr<br>> CC: paraview@paraview.org<br>> <br>> Yes, in field data, the number of tuples doesn't have to match the<br>> number of points or cells, so you can have arbitrary length arrays.<br>> <br>> Utkarsh<br>> <br>> On Tue, Feb 23, 2010 at 4:51 PM, Fred Fred <stan1313@hotmail.fr> wrote:<br>> > Does it mean that a field data array store only the variable once for all<br>> > the dataset? I would like to avoir having the same value stored for each<br>> > component.<br>> ><br>> >> Date: Tue, 23 Feb 2010 12:51:14 -0500<br>> >> Subject: Re: [Paraview] How to get back the first line of a VTK legacy<br>> >> file<br>> >> From: utkarsh.ayachit@kitware.com<br>> >> To: stan1313@hotmail.fr<br>> >> CC: paraview@paraview.org<br>> >><br>> >> A possible alternative to put such additional parameters in a field data<br>> >> array.<br>> >><br>> >> On Tue, Feb 23, 2010 at 6:34 AM, Fred Fred <stan1313@hotmail.fr> wrote:<br>> >> > The first - not comment - line in a legacy VTK file is free for the user<br>> >> > and<br>> >> > can be used to mention, let us say, an approximation method to use with<br>> >> > the<br>> >> > data for instance, at least I would like to use it for this purpose.<br>> >> > This line can be got back in a C++ code by using<br>> >> > vtkDataReader::GetHeader().<br>> >> > Is it possible to get ot from the VTK dataset instead? since a filter<br>> >> > has<br>> >> > only access to the data, not to the reader.<br>> >> > Or is it another (better) way to encode general information in a<br>> >> > dataset? I<br>> >> > suppose vtkInformation can be used for this purpose but where does it<br>> >> > appear<br>> >> > in a file?<br>> >> ><br>> >> ><br>> >> ><br>> >> > ________________________________<br>> >> > Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez<br>> >> > !<br>> >> > _______________________________________________<br>> >> > Powered by www.kitware.com<br>> >> ><br>> >> > Visit other Kitware open-source projects at<br>> >> > http://www.kitware.com/opensource/opensource.html<br>> >> ><br>> >> > Please keep messages on-topic and check the ParaView Wiki at:<br>> >> > http://paraview.org/Wiki/ParaView<br>> >> ><br>> >> > Follow this link to subscribe/unsubscribe:<br>> >> > http://www.paraview.org/mailman/listinfo/paraview<br>> >> ><br>> >> ><br>> ><br>> > ________________________________<br>> > Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !<br>                                            <br /><hr />Avec Internet Explorer, surfez en toute discrétion sur internet <a href='http://clk.atdmt.com/FRM/go/182932252/direct/01/' target='_new'>Cliquez ici !</a></body>
</html>