[vtk-developers] Charts in VTK and ParaView
Eric E. Monson
emonson at cs.duke.edu
Tue Mar 9 11:34:43 EST 2010
The only thing I've noticed so far that doesn't match up with the other wrapped modules is that you need an extra section towards the end of [VTK]/Wrapping/Python/CMakeLists.txt file that defines VTK_PYTHON_USE_CHARTS like:
and then add a line to setup.py.in that uses that variable:
vtk_use_charts = @VTK_PYTHON_USE_CHARTS@
I think you covered the rest of the bases.
On Mar 9, 2010, at 10:50 AM, Marcus D. Hanwell wrote:
> Hi Eric,
> I committed some improvements, now from the build directory I can run vtkpython and import vtk.charts. There is probably more to do still, and I would appreciate feedback on how well this is working. I may not have caught all of the install rules, and need to look into doing the same for Tcl and Java. I thought more of this was automated...
> The changes were made in VTK/Wrapping/Python, and are in HEAD now.
> On Tue, Mar 9, 2010 at 10:13 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hey Marcus,
> Okay, I'm seeing it more clearly now. (It was probably too late in the afternoon yesterday...) It looks like it's wrapped, but just not installed along with the other python libraries in the VTK module.
> I'll play around with it and see if I can get it up and running. Let me know if you or someone else gets it working there.
> On Mar 9, 2010, at 9:49 AM, Marcus D. Hanwell wrote:
>> Hi Eric,
>> I will look into this, I know that they are wrapped in Python, but I think there is a little bit of Python code I need to add in order to make it follow the same semantics as other modules. How are you trying to import the module in Python?
>> They are also exposed in ParaView (both marked experimental in the views right now).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers