[vtk-developers] VTK on iOS

David Gobbi david.gobbi at gmail.com
Wed Mar 2 11:52:53 EST 2011


Hi Sason,

You will definitely have to do some iOS-specific modifications to CMake,
if you haven't already done so you should look at what has been done for ITK:
http://mial.fas.sfu.ca/researchProject.php?s=401

VTK is well-tested on OS X 10.6 (at least from VTK 5.6 and onwards) so
in addition to your iOS test system, you should build and run VTK on
OS X as your baseline.

The VTK User's Guide and Mastering CMake are both useful.  Most of the
same information is online (in fact all of it for CMake) but a book can be
more pleasant to read than a computer screen.

I don't have an answer to the OpenGL question because I don't know what
parts of OpenGL exist in iOS.  But VTK has been tested across a very
broad range of OpenGL implementations.

For multi-touch, I've made a github branch of Pierre Fillard's
work-in-progress here:
http://github.com/dgobbi/VTK/tree/multi-touch
based on his original code here:
http://sites.google.com/site/pierrefillard/coding-blog/multi-touchgesturesinvtk

 - David


On Wed, Mar 2, 2011 at 8:58 AM, Sason Ohanian Saki <sason at kth.se> wrote:
> Hello!
>
> I am a CS/Engineering student from KTH, Stockholm, Sweden and I have just started to work on my masters thesis which is to investigate whether VTK or parts of VTK can be run on an iPad/iOS and to make the necessary implementations.
>
> I have spent some time reading through some documentation, the wiki, looking at code etc. From what I understand so far it should be possible and what primarily needs to be done is to make new openGL(ES) implementations, renderer for CocaTouch, editing/extending some factory classes etc...
>
> I have just gotten started and I am having some trouble with CMake and building VTK. I have little familiarity with CMake and I was wondering if someone could point me in the right direction (or any direction) of building VTK for the iPad. Please bare with me if my questions seems stupid, but here they come...
>
> How do I use CMake to build VTK for iPad/iOS? Will I need to edit the CMake files to add information to be able to build for a new platform? I am referring to for example VTK_USE_COCOA and references to openGL, Im assuming some code needs to be added to handle Cocoa Touch and OpenGL ES.
>
> Should I invest in the books "VTK User's Guide" and/or "Mastering CMake"? Will they be of significance in helping me to do what i want to do? (I´m on a tight budget).
>
> Any kind of help is much appreciated, like links to documentation or literature that could be useful.
>
> /Sason
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list