[Paraview] Custom Filters not showing in PV3.2
Eric E. Monson
emonson at cs.duke.edu
Thu Nov 8 18:14:48 EST 2007
Hey again,
Regarding setting the PV_PLUGIN_PATH environment variable to auto-
load plugins: I just remembered that you are probably using OS X, so
just in case you weren't aware of them, I thought I'd pass along the
tricks I learned recently for setting environment variables in OS X
for "double-clickable" apps.
Here's a link describing how to set environment variables for all
processes launched by a specific user:
http://developer.apple.com/qa/qa2001/qa1067.html
You can also set the environment on an app-by-app basis by editing
the Info.plist file in an application package, as referred to at the
bottom of this page:
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPRuntimeConfig/Articles/EnvironmentVars.html
For example, in ParaView 3 I can use the Property List Editor to
modify [...]/paraview.app/Contents/Info.plist, adding the
LSEnvironment Property List Key to look like:
http://www.duke.edu/~emonson/Image-5972b59f.tiff
or, editing the xml text directly in Info.plist, I would just add
these lines as a key-value pair:
<key>LSEnvironment</key>
<dict>
<key>PV_PLUGIN_PATH</key>
<string>/Users/emonson/Programming/ParaView_cvs/
ParaView3_build/bin</string>
</dict>
then when I double-click paraview.app my plugins are loaded
automatically.
Hope this is helpful to someone,
-Eric
-----------------------------------------------------
Eric E. Monson
Duke Visualization Technology Group
On Nov 8, 2007, at 3:21 PM, Eric Monson wrote:
> Hey Mike,
>
> If your custom plugins are being compiled correctly there should be
> libraries which are generated during the build. Once you are in
> ParaView, go to the menu Tools => Manage Plugins... and you can
> manually load these libraries (server or client side). You can also
> set the PV_PLUGIN_PATH environment variable to the directory
> containing the plugin libraries and they'll be loaded on
> application launch.
>
> -Eric
>
> -----------------------------------------------------
> Eric E. Monson
> Duke Visualization Technology Group
>
>
> On Nov 7, 2007, at 2:33 PM, Mike Jackson wrote:
>
>> I got my custom plugins to compile against ParaView 3.2 and all my
>> custom readers seem to work but my filters do NOT show up anywhere
>> in the Filter menu.
>>
>> I have server manager XML defined as follows:
>>
>> <ServerManagerConfiguration>
>> <ProxyGroup name="filters">
>>
>> <SourceProxy name="BurgerVector" class="vtkBurgerVectorFilter">
>> <InputProperty
>> name="Input"
>> command="SetInputConnection">
>> <ProxyGroupDomain name="groups">
>> <Group name="sources"/>
>> <Group name="filters"/>
>> </ProxyGroupDomain>
>> <DataTypeDomain name="input_type">
>> <DataType value="vtkUnstructuredGrid"/>
>> </DataTypeDomain>
>> </InputProperty>
>>
>> <DoubleVectorProperty
>> name="BurgerVector"
>> command="SetBurgerVector"
>> number_of_elements="3"
>> default_values="0.0 0.0 0.0">
>> </DoubleVectorProperty>
>> </SourceProxy>
>> </ProxyGroup>
>> </ServerManagerConfiguration>
>>
>> I tried wading through the wiki but I am no longer sure what
>> applies to PV 2 and what applies to PV 3
>>
>> Thanks
>> --
>> Mike Jackson
>> imikejackson & gmail * com
>>
>>
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20071108/78961ba0/attachment-0001.htm
More information about the ParaView
mailing list