[Paraview] How to have the spreadsheet view

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Jun 9 11:02:50 EDT 2010


You have to specify the <Hints /> for the filter in the XML. The
"type" is the name of the view proxy to create.

Utkarsh

On Wed, Jun 9, 2010 at 10:14 AM, Adriano Gagliardi <agagliardi at ara.co.uk> wrote:
>
> Utkarsh,
>
> 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?
>
> Regards,
>
> Adriano
>
>
> ===================================
>
> Adriano Gagliardi MEng PhD
> Business Sector Leader
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agagliardi at ara.co.uk
> Url: www.ara.co.uk
>
>
> ________________________________
> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
> On Behalf Of Didier Roissé
> Sent: 09 June 2010 14:45
> To: paraview at paraview.org
> Subject: Re: [Paraview] How to have the spreadsheet view
>
> Thank you for the answer, I will try.
> Best regards,
> Didier Roissé
>
> 2010/6/9 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>>
>> Additionally, if you have separate readers for the 3 kinds of data you
>> mention, you can use <Hints /> to indicate that the result of that
>> reader should be shown in  a spreadsheet view.
>>
>> Look at "CSVReader" proxy xml in
>> ParaView/Servers/ServerManager/Resources/reader.xml
>>
>> <SourceProxy ...>
>>    <Hints>
>>        <!-- View can be used to specify the preferred view for the proxy
>> -->
>>        <View type="SpreadSheetView" />
>>     </Hints>
>> </SourceProxy>
>>
>> Utkarsh
>>
>> On Wed, Jun 9, 2010 at 9:29 AM, David E DeMarle
>> <dave.demarle at kitware.com> wrote:
>> > This method:
>> >
>> >  pqDisplayPolicy::getPreferredViewType(pqOutputPort* opPort,
>> >    bool update_pipeline)
>> >
>> > governs what view type is initially created for any given
>> > source/reader/filter.
>> >
>> > For instance, if your plugin produces vtkTables when you read data
>> > values in, then the spreadsheet view should be created.
>> >
>> > David E DeMarle
>> > Kitware, Inc.
>> > R&D Engineer
>> > 28 Corporate Drive
>> > Clifton Park, NY 12065-8662
>> > Phone: 518-371-3971 x109
>> >
>> >
>> >
>> > On Wed, Jun 9, 2010 at 8:44 AM, Didier Roissé <didier.roisse at gmail.com>
>> > wrote:
>> >> Hello,
>> >> I am writing an Amelet-HDF format plugin reader in paraview (you can
>> >> see the
>> >> code in the following link http://code.google.com/p/amelet-hdf/).
>> >> The plugin reads three kinds of data:
>> >>  * mesh
>> >>  * data on mesh
>> >>  * data
>> >>
>> >> When the plugin reads mesh and data on mesh, the results is displayed
>> >> in the
>> >> 3D view (it is ok). But when the plugin read data values, I would like
>> >> that
>> >> paraview show me the spreadsheet view. How can I do that in my plugin ?
>> >>
>> >> Best regards,
>> >> Didier Roissé
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>> >>
>> >>
>> > _______________________________________________
>> > 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
>> >
>
> **********************************************************************
> This email contains information that is private and confidential and is
> intended only for the addressee.
> If you are not the intended recipient please delete it and notify us
> immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by someone
> other than the recipient, for
> system management and security reasons.
> Aircraft Research Association Ltd.  Registered in England, Registration No
> 503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **********************************************************************
>
> _______________________________________________
> 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