<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2>Utkarsh,</FONT></SPAN></DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2>Regarding the hints, how do you get the output of a custom
C++ filter to be presented in a specific view such as spreadsheet or
histogram, rather than the default view?</FONT></SPAN></DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=638111214-09062010><FONT face=Arial color=#0000ff
size=2>Adriano</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>===================================<BR><BR>Adriano Gagliardi
MEng PhD<BR>Business Sector Leader<BR>Computational Aerodynamics<BR>Aircraft
Research Association Ltd.<BR>Manton Lane<BR>Bedford<BR><BR>Tel: 01234 32
4644<BR>E-mail: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>Didier
Roissé<BR><B>Sent:</B> 09 June 2010 14:45<BR><B>To:</B>
paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview] How to have the
spreadsheet view<BR></FONT><BR></DIV>
<DIV></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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><p>**********************************************************************<br />This email contains information that is private and confidential and is intended only for the addressee.<br />If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br />Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br />system management and security reasons.<br />Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office:<br />Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</BODY></HTML>