[Paraview] Calling GetProperty() of server manager proxy object from plugin object panel

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Mon May 30 09:45:34 EDT 2011


Yes. I can see that the server side plugin (which is not a pure-XML
plugin but a dylib) is loaded in the plugin manager screen.

Takuya

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
Subject: Re: [Paraview] Calling GetProperty() of server manager proxy object from plugin object panel
Date: Mon, 30 May 2011 09:30:32 -0400

> Is the plugin being loaded on the server-side as well? XML's are now
> fetched from  the server-side in ParaView so pure-XML plugins should
> be loaded on server-side as well.
> 
> Utkarsh
> 
> On Sun, May 29, 2011 at 5:37 AM, Takuya OSHIMA
> <oshima at eng.niigata-u.ac.jp> wrote:
> > Hi,
> >
> > In the GUI panel (a subclass of pqAutoGeneratedObjectPanel) of my
> > reader plugin I have lines getting property of its corresponding
> > server manager proxy object, like
> >  vtkSMIntVectorProperty *uiRescale
> >      = vtkSMIntVectorProperty::SafeDownCast(this->proxy()->GetProperty("UiRescale"));
> >
> > This works fine with PV 3.10.1 in both builtin and client server modes,
> > and in builtin mode of PV git master. However in client server mode of
> > PV git master as of today, the call
> >  this->proxy()->GetProperty("UiRescale")
> > returns a null pointer. Did anything in this regard change with the
> > git master?
> >
> > The tested platform is OS X 10.6.7, Qt 4.7.2, CMake 2.8.4.
> >
> > Thanks,
> > Takuya
> >
> > Takuya OSHIMA, Ph.D.
> > Faculty of Engineering, Niigata University
> > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
> > _______________________________________________
> > 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