[Paraview] Changing Representation toolbar

2009-01-16 Thread Jérôme
Hi,

I wonder how I can add the slice slider of a slice representation in
the representation toolbar. First, is it possible within a plugin ? If
not, I can make changes in ParaView source code, but I didn't find how
the combo box for the representation is added, so I cannot do the same
!

Thanks a lot,

Jerome
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Changing Representation toolbar

2009-01-16 Thread Utkarsh Ayachit
Jerome,

It's definitely possible using a plugin to create a new toolbar that
acts as both the representation chooser as well as slice selector.
Look at the toolbar plugin example on the Wiki and then look at
pqDisplayRepresentationWidget ( in
Qt/Components/pqDisplayRepresentationWidget.h|cxx) to see the code for
the  current representation toolbar.

pqDisplayRepresentationWidget is indeed the representation toolbar, so
for simply changing the source code, that's the one you should be
looking at.

Utkarsh

On Fri, Jan 16, 2009 at 3:28 AM, Jérôme jerome.ve...@gmail.com wrote:
 Hi,

 I wonder how I can add the slice slider of a slice representation in
 the representation toolbar. First, is it possible within a plugin ? If
 not, I can make changes in ParaView source code, but I didn't find how
 the combo box for the representation is added, so I cannot do the same
 !

 Thanks a lot,

 Jerome
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview