Not exactly sure we are talking about the same thing, but if you just want to make sure that the C++ code in your plugin is usable from VTK and ParaView's python interfaces, take a look at:<div>1) Plugins/Manta/VTK/CMakeLists which can do python wrapping for the VTK level classes there so that you can instantiate a vtkMantaRenderer for example from vtkpython.<div>
<div>2) the WRAP_PLUGIN_FOR_PYTHON macro, defined in Plugins/ParaViewPlugins.cmake which wraps the entire plugin so that you can load the plugin from pvpython/pvbatch.<br><div><br clear="all">David E DeMarle<br>Kitware, Inc.<br>
R&D Engineer<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-371-3971%20x109" value="+15183713971" target="_blank">518-371-3971 x109</a><br>
<br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 9:14 AM, Paul Edwards <span dir="ltr"><<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is it possible to get my python wrapper for my vtk classes that I have in my plugins?<div><br></div><div>Thanks,</div><div>Paul<div><div></div><div><br><br><div class="gmail_quote">On 14 June 2011 13:45, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there a similar functionality to do so for vtkmy extensions<br>
(compiled out of source tree)?<br>
<div><div></div><div><br>
On Tue, Jun 14, 2011 at 2:27 PM, David Partyka<br>
<<a href="mailto:david.partyka@kitware.com" target="_blank">david.partyka@kitware.com</a>> wrote:<br>
> There is a setup.py in the build tree of VTK/Wrappying/Python. You should be<br>
> able to use that to invoke a distutils installation of VTK-Python.<br>
><br>
> On Tue, Jun 14, 2011 at 8:24 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>> Is there a way to get cmake to install the Python vtk wrappers located in<br>
>> VTK/Wrapping/Python/vtk of the build directory?<br>
>> Thanks,<br>
>> Paul<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div></div></div>