Thank you for the answer, I will try.<br>Best regards,<br>Didier Roissé<br><br><div class="gmail_quote">2010/6/9 Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Additionally, if you have separate readers for the 3 kinds of data you<br>
mention, you can use <Hints /> to indicate that the result of that<br>
reader should be shown in a spreadsheet view.<br>
<br>
Look at "CSVReader" proxy xml in<br>
ParaView/Servers/ServerManager/Resources/reader.xml<br>
<br>
<SourceProxy ...><br>
<Hints><br>
<!-- View can be used to specify the preferred view for the proxy --><br>
<View type="SpreadSheetView" /><br>
</Hints><br>
</SourceProxy><br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jun 9, 2010 at 9:29 AM, David E DeMarle<br>
<<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
> This method:<br>
><br>
> pqDisplayPolicy::getPreferredViewType(pqOutputPort* opPort,<br>
> bool update_pipeline)<br>
><br>
> governs what view type is initially created for any given source/reader/filter.<br>
><br>
> For instance, if your plugin produces vtkTables when you read data<br>
> values in, then the spreadsheet view should be created.<br>
><br>
> David E DeMarle<br>
> Kitware, Inc.<br>
> R&D Engineer<br>
> 28 Corporate Drive<br>
> Clifton Park, NY 12065-8662<br>
> Phone: 518-371-3971 x109<br>
><br>
><br>
><br>
> On Wed, Jun 9, 2010 at 8:44 AM, Didier Roissé <<a href="mailto:didier.roisse@gmail.com">didier.roisse@gmail.com</a>> wrote:<br>
>> Hello,<br>
>> I am writing an Amelet-HDF format plugin reader in paraview (you can see the<br>
>> code in the following link <a href="http://code.google.com/p/amelet-hdf/" target="_blank">http://code.google.com/p/amelet-hdf/</a>).<br>
>> The plugin reads three kinds of data:<br>
>> * mesh<br>
>> * data on mesh<br>
>> * data<br>
>><br>
>> When the plugin reads mesh and data on mesh, the results is displayed in the<br>
>> 3D view (it is ok). But when the plugin read data values, I would like that<br>
>> paraview show me the spreadsheet view. How can I do that in my plugin ?<br>
>><br>
>> Best regards,<br>
>> Didier Roissé<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
</div></div></blockquote></div><br>