[Paraview] QuadView from C++

Michael Reuter reuterma at ornl.gov
Wed Jan 9 16:20:29 EST 2013


Hi Seb,

     After setting the environmental variable and searching the message 
dialog, I find:

***************************************************

Attempting to load 
/home/2zr/build/Mantid-PV-398/bin/pvplugins/pvplugins/libQuadView.so

Loaded shared library successfully. Now trying to validate that it's a 
ParaView plugin.

Plugin's signature: paraviewplugin|GNU|3.98

Plugin signature verification successful. This is definitely a ParaView 
plugin compiled with correct compiler for correct ParaView version.

Updating Shared Library Paths: 
/home/2zr/build/Mantid-PV-398/bin::/home/2zr/build/Mantid-PV-398/bin:/home/2zr/build/Mantid-PV-398/bin/mantid/kernel/../../:/home/2zr/build/Mantid-PV-398/bin/mantid/kernel/../../:/home/2zr/build/Mantid-PV-398/bin/mantid/kernel/../../:/home/2zr/build/Mantid-PV-398/bin/pvplugins/pvplugins

Plugin instance located successfully. Now loading components from the 
plugin instance based on the interfaces it implements.

----------------------------------------------------------------

Plugin Information:

Name : QuadView

Version : 1.0

ReqOnServer : 1

ReqOnClient : 1

ReqPlugins :

ServerManager Plugin : Yes

Python Plugin : No

PV_PLUGIN_PATH: /home/2zr/build/Mantid-PV-398/bin/pvplugins/pvplugins


This looks like it's loaded OK to me.

Cheers,
M

On 01/09/2013 03:28 PM, Sebastien Jourdain wrote:
> Hi Michael,
>
> That should work, but please make sure the plugin is properly loaded.
> To do so you can set the environment variable PV_PLUGIN_DEBUG=1 and 
> see if the loading is successfully achieved.
>
> Seb
>
>
> On Wed, Jan 9, 2013 at 10:26 AM, Michael Reuter <reuterma at ornl.gov 
> <mailto:reuterma at ornl.gov>> wrote:
>
>     Hi,
>
>         I'm trying to use the new QuadView from inside our C++
>     application. I try and create a pqRenderView pointer for the
>     QuadView using pqObjectBuilder::createView("QuadView",
>     pqActiveObjects::instance().activeServer()). I get the following
>     error:
>
>     Failed to create a proxy for the requested view type: "QuadView"
>
>     I thought it might be a plugin loading problem, so I copied it
>     temporarily to where we have our PV_PLUGIN_PATH set so that it
>     gets automatically loaded, but I still get the same error. So, now
>     I'm not sure that it was the plugin not being loaded. What is the
>     correct way to create the view?
>
>     Thanks,
>     M
>
>     -- 
>     Dr. Michael Reuter
>     Data Analaysis and Visualization Group
>     Neutron Data Analysis and Visualization Division
>     Oak Ridge National Laboratory
>
>     Office: 1-865-241-7216 <tel:1-865-241-7216>
>     Fax: 1-865-574-6080 <tel:1-865-574-6080>
>     Email: reuterma at ornl.gov <mailto:reuterma at ornl.gov>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130109/a0f38d98/attachment-0001.htm>


More information about the ParaView mailing list