[Paraview] Custom Filters NOT showing up in Filters List (CVS HEAD)

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 23 14:53:26 EST 2010


Mike,

Can you check if the following patch solves the issue? If so, I'll
commit to CVS.

Index: Applications/ParaView/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Applications/ParaView/CMakeLists.txt,v
retrieving revision 1.18
diff -u -3 -r1.18 CMakeLists.txt
--- Applications/ParaView/CMakeLists.txt        10 Feb 2010 21:53:56
-0000      1.18
+++ Applications/ParaView/CMakeLists.txt        23 Feb 2010 19:52:27 -0000
@@ -41,6 +41,7 @@
       ${CMAKE_CURRENT_SOURCE_DIR}/ParaViewFilters.xml
       ${CMAKE_CURRENT_SOURCE_DIR}/ParaViewReaders.xml
       ${CMAKE_CURRENT_SOURCE_DIR}/ParaViewWriters.xml
+      ${PARAVIEW_EXTRA_GUI_RESOURCES} # Add any compiled in GUI
configuration xmls
     COMPRESSED_HELP_FILE "${ParaView_BINARY_DIR}/Documentation/paraview.qch"
     SOURCES ${ParaView_SOURCE_FILES}
 )

Utkarsh

On Tue, Feb 23, 2010 at 2:45 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Yea. I had figured it would :). Let me track it down.
>
> On Tue, Feb 23, 2010 at 2:39 PM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
>> Well I corrected the typo but then ran the "wrong" paraview in order to
>> test. I ran the standard 3.6.2 branch instead of the CVS branch. The problem
>> still persists with the CVS branch.
>> ___________________________________________________________
>> Mike Jackson                      www.bluequartz.net
>>
>>
>> On Feb 23, 2010, at 11:16 AM, pat marion wrote:
>>
>>> Is that supposed to be 'menu_label' ?
>>>
>>> Pat
>>>
>>> On Mon, Feb 22, 2010 at 1:14 PM, Michael Jackson
>>> <mike.jackson at bluequartz.net> wrote:
>>> I have some custom filters that I have developed. I use the
>>> "PARAVIEW_EXTRA_EXTERNAL_MODULES" to compile them directly into ParaView. I
>>> know they are getting compiled as I can see the compile command go by on the
>>> command line. The problem is that they do not show up when I run ParaView in
>>> the filter list. Here is an example XML File:
>>>
>>> <ParaViewFilters>
>>>  <Category
>>>   name="Microstructure"
>>>   menu_lable="&amp;Microstructure">
>>>   <Filter
>>>     name="IPFFilter"/>
>>>  </Category>
>>>  <Filter
>>>   name="IPFFilter"/>
>>> </ParaViewFilters>
>>>
>>> Which is added like so in my CMake files:
>>> # -- Add the Client side xml
>>> set(IPFFilterClient_XML
>>> ${PVMXADataModel_SOURCE_DIR}/Source/Client/IPFFilter/Resources/IPFFilter_GUI.xml)
>>> PARAVIEW_INCLUDE_GUI_RESOURCES( "${IPFFilterClient_XML}" )
>>>
>>> This works just fine with ParaView 3.6.2. This was a completely clean
>>> build.
>>>
>>> Suggestions? Thanks.
>>> ___________________________________________________________
>>> Mike Jackson                      www.bluequartz.net
>>> Principal Software Engineer       mike.jackson at bluequartz.net
>>> BlueQuartz Software               Dayton, Ohio
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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