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

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Mon May 30 21:15:15 EDT 2011


So I pulled the stage branch 12240_cleanup_proxy_definition_manager
mentioned in another post, rebuilt ParaView and the plugin is working
again. Thanks!

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 16:45:14 -0400

> Takuya,
> 
> Your problem may be related to an issue recently posted on the list by
> John Biddiscombe, titled "custom filters missing from menus". I am
> looking into the issue.
> 
> Utkarsh
> 
> On Mon, May 30, 2011 at 9:47 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>> Get the XMLName and XMLGroup for the proxy you are accessing. Is it
>> what you expect?
>>
>> Utkarsh
>>
>> 2011/5/30 Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>:
>>> 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