Hey Adriano,
On the wiki there is a little section describing how to add a custom
object panel:
http://www.cmake.org/Wiki/Plugin_HowTo#Adding_an_object_panel
which also links to this extra information page:
http://www.cmake.org/Wiki/CustomObjectPanels
There is also an example in the ${ParaviewSource}/Examples/Plugins/
GUIObjectPanel directory.
Finally, about half-way through Ken Moreland's talk from IEEE Vis 2009
on customizing ParaView with plugins, he gives an example of an object
panel. This page has presentation slides from that day and some code
samples:
http://www.vtkedge.org/Wiki/IEEE_Vis09_ParaView_Tutorial
Hope this helps,
-Eric
------------------------------------------------------
Eric E Monson
Duke Visualization Technology Group
On Nov 23, 2009, at 7:40 AM, Adriano Gagliardi wrote:
Utkarsh,
Are there any examples around that I can use to create a custom panel?
Regards,
Adriano
===================================
Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk
-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: 19 November 2009 14:42
To: agaglia...@ara.co.uk
Cc: ParaView
Subject: Re: [Paraview] Plugin XML Help
Adriano,
There's not way of the telling the automatic panel generator to
generate 3
combo-boxes in the same line. You can of course, always write a
custom panel
with widget layout as per your liking.
Utkarsh
On Tue, Nov 17, 2009 at 11:20 AM, Adriano Gagliardi <agaglia...@ara.co.uk
>
wrote:
Dear All,
I am writing a plugin at the moment that takes from the user a vector
or three scalar components. I already have the vector component
selectable via a drop-down menu, but I am struggling to find some
example xml code that will allow me to have the three scalar
components accessible via drop-down menus, side-by-side. For example:
Vector: |ddm|
Scalar1: |ddm| Scalar 2: |ddm| Scalar3: |ddm|
Is this possible or will the three scalar selections have to be
vertically aligned?
Regards,
Adriano
===================================
Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk
---------------------------
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
---------------------------
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
_______________________________________________
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