[yt-users] Call for testing: VTK on Snow Leopard
Rick Wagner
rwagner at physics.ucsd.edu
Tue Mar 16 09:45:33 PDT 2010
Hi Matt,
Everything installs OK, provided the system version of Python 2.6 is used (FYI: I haven't been using this, because it was build for both PPC and i386, and I recall having trouble building other packages). But, anyways, I tried a couple of quick tests using the warped cone test [1] and simple cone example [2], and quickly tripped over some missing classes.
My initial hunting in the interpreter is below, and I've attached a list of all of the classes.
--Rick
[1] http://tinyurl.com/yc6yrry
[2] http://www.vtk.org/Wiki/VTK/Examples/Python/GeometricObjects/Display/Cone
namor:tmp rpwagner$ python
Python 2.6.4 (r264:75706, Feb 1 2010, 13:22:43)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
>>> vtk.__file__
'/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/__init__.pyc'
>>> ren = vtk.vtkRenderer()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'vtkRenderer'
>>> for i in dir(vtk):
... if i.find('Window') > -1:
... print i
...
vtkFileOutputWindow
vtkImageMapToWindowLevelColors
vtkImplicitWindowFunction
vtkOutputWindow
vtkWindow
vtkWindowLevelLookupTable
vtkWindowedSincPolyDataFilter
vtkXMLFileOutputWindow
>>> for i in dir(vtk):
... if i.find('Render') > -1:
... print i
...
>>>
On Mar 16, 2010, at 8:22 AM, Matthew Turk wrote:
> Hi all,
>
> I've constructed some packages of VTK on Snow Leopard. If you've used
> the Snow Leopard installation script ("install_script_osx106.sh") to
> install yt and Python on your machine, I believe they should work --
> and I'd love to hear if they do or don't, as we'd really like to start
> moving the GUI over to the VTK/Matplotlib/Traits GUI that we've been
> working on for about a year. This will enable a lot better
> interaction between you and your data, and we're going to be able to
> drop in support for things like OpenCL, OpenGL, and the volume
> renderer right inside that framework. (An older, development
> screenshot of the new GUI:
> http://yt.enzotools.org/attachment/wiki/Screenshots/reason_v2.png --
> but things have improved since then!)
>
> The process has been described on a Wiki page:
>
> http://yt.enzotools.org/wiki/VTKOnSnowLeopard
>
> so if you are interested, give it a go and let me know how it works for you.
>
> Best,
>
> Matt
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vtk_classes.txt
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100316/2057d488/attachment.txt>
More information about the yt-users
mailing list