[Paraview] How to add a Reader plugin

Mike Jackson mike.jackson at bluequartz.net
Tue Mar 17 08:06:12 EDT 2009


Look through the documentation for PV_PLUGIN_PATH. Basically there is
a designated folder on each platform where you can place plugins that
will get loaded on startup.

Mike

On Tue, Mar 17, 2009 at 3:31 AM, shenyanwen <shenyanwen at gmail.com> wrote:
> Thanks so much!
> I just want to know what should I do if I just want ParaView to
> automatically load a set of plugins on startup!
> Thanks !
>
> 2009/3/13 Mike Jackson <mike.jackson at bluequartz.net>
>>
>> You should build ParaView _without_ anything I sent. Once ParaView is
>> built then you can build the plugin separately. Then Launch ParaView,
>> go to the "Tools" menu->"Manage Plugins" and load your plugin that you
>> just built.
>>
>> If you want to build your plugin as part of ParaView there is a
>> slightly modified process.
>>
>> DO NOT put the sources in with the paraview sources. It will only lead
>> to problems with the paraview build.
>>
>> Mike
>>
>> On Fri, Mar 13, 2009 at 12:27 AM, shenyanwen <shenyanwen at gmail.com> wrote:
>> > Thanks for your help!
>> > But I have another question which is where should I put the two xml
>> > configuration files and the CMakeList.txt file.
>> > I have already put the source codes in the folder /paraview/vtk/io, and
>> > where should I put the gui.xml file and the pvsm.xml file. And where
>> > shoul I
>> > put the CMakeLists.txt file in the plugin project? Thanks again!
>> >
>> > 2009/3/13 Michael Jackson <mike.jackson at bluequartz.net>
>> >>
>> >>
>> >> Here is a quick Reader plugin project that might help get you started.
>> >> Basically compile paraview first, then compile this project.
>> >>
>> >>
>> >> _________________________________________________________
>> >> Mike Jackson                  mike.jackson at bluequartz.net
>> >> BlueQuartz Software                    www.bluequartz.net
>> >> Principal Software Engineer                  Dayton, Ohio
>> >>
>> >>
>> >>
>> >> On Mar 12, 2009, at 10:47 PM, shenyanwen wrote:
>> >>
>> >>> I am adding a new reader in ParaView as a plugin.There are some
>> >>> questions
>> >>> about how to add the files in the appropriate path.
>> >>> So Now I have already known how to write the files the plugin
>> >>> needs.But I
>> >>> read the book The ParaView Guide, it says that if I want to write a
>> >>> Client-side Plugin,I should write the source file vtkMyReader.cxx|h,
>> >>> and
>> >>> then I need to write a SM.xml file, where shoul I add this file? And
>> >>> where
>> >>> should I add the GUI.xml file and the CMakeLists.txt file which
>> >>> contains
>> >>> ADD_PARA_PLUGIN( )? Thanks so much!
>> >>>
>> >>> --
>> >>> shenyanwen at gmail.com
>> >>> Mobile Phone:13476177952
>> >>> Tel: 027-87558144
>> >>> _______________________________________________
>> >>> 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
>> >>
>> >
>> >
>> >
>> > --
>> > shenyanwen at gmail.com
>> > Mobile Phone:13476177952
>> > Tel: 027-87558144
>> >
>
>
>
> --
> shenyanwen at gmail.com
> Mobile Phone:13476177952
> Tel: 027-87558144
>


More information about the ParaView mailing list