<span id="result_box" class="" lang="en"><span class="hps">Hi</span> <span class="hps">Aashish</span><br><br><span class="hps">I'll</span> <span class="hps">explore these</span> <span class="hps">possibilities</span> <span class="hps">here then</span><span>.</span><br>
<br><span class="hps">Thank you</span> <span class="hps">for your cooperation!</span><br><br><span class="hps">hugs</span><span class="">,</span><br><span class="hps">Thiago</span></span><br><br><div class="gmail_quote">
2012/11/27 Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thiago,<br>
<br>
There are two things:<br>
<br>
1) XCode version is linked with the iOS version. So you would have to<br>
make sure they are compatible.<br>
2) To run it on the device you need a provision file. Now if you have<br>
a iOS developer program membership then you can do it yourself.<br>
3) Worst case, you can run it on the simulator.<br>
<br>
Hope this helps.<br>
<br>
Thanks,<br>
<br>
<br>
On Tue, Nov 27, 2012 at 1:18 PM, Thiago Tavares Magalhães<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>> wrote:<br>
> Sorry, but came over a little problem<br>
><br>
> I used the command "open KiwiMidas.xcodeproj /" and open the xcode project.<br>
> However, when I try to run, the message error xcode:<br>
><br>
> Xcode can not run using the selected device.<br>
> No provisioned iOS devices are available with a compatible iOS version.<br>
> Connect an iOS device with a recent enough version of iOS to run your<br>
> application or choose an iOS simulator to the destination.<br>
><br>
> There is a relationship with the version of xcode?<br>
> What do you think?<br>
><br>
> Thank you,<br>
> Thiago<br>
><br>
><br>
> 2012/11/27 Thiago Tavares Magalhães <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>><br>
>><br>
>> Hi Aashish,<br>
>><br>
>> It worked perfectly.<br>
>> Many thanks to Pat and Aashish.<br>
>> I'm sure this example will help much my job.<br>
>><br>
>> Hugs and many thanks,<br>
>> Thiago<br>
>><br>
>><br>
>> 2012/11/27 Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>><br>
>>><br>
>>> Hi, Thiago<br>
>>><br>
>>> You want to save you changes before you checkout new code. There are<br>
>>> couple of ways to do so:<br>
>>><br>
>>> a) Just run<br>
>>> 1. git stash<br>
>>><br>
>>> b)<br>
>>> 1. git checkout -b branch_name<br>
>>> 2. git add filename1 filname2<br>
>>> 3. git commit -m "Some message"<br>
>>><br>
>>> and then get back to your usual checkout command.<br>
>>><br>
>>> Hope it helps.<br>
>>><br>
>>><br>
>>> On Tue, Nov 27, 2012 at 12:37 PM, Thiago Tavares Magalhães<br>
>>> <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>> wrote:<br>
>>> > Hi Pat<br>
>>> ><br>
>>> > Is there a specific directory where I need to run these commands?<br>
>>> > After I execute the last command opens the following error:<br>
>>> ><br>
>>> > error: Your location changes to the Following files would be<br>
>>> > overwritten by<br>
>>> > checkout:<br>
>>> > Android / iOS / Kiwi / Kiwi / LoadDataController.m<br>
>>> > Android / iOS / Kiwi / Kiwi / kiwiAppDelegate.mm<br>
>>> > Please, commit your changes or stash Them before you can switch<br>
>>> > branches.<br>
>>> > Aborting<br>
>>> ><br>
>>> > Maybe that way the command is trying to overwrite files from Kiwi.<br>
>>> > But I'm not sure.<br>
>>> ><br>
>>> > Already thank you,<br>
>>> > Thiago<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > 2012/11/27 Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>
>>> >><br>
>>> >> Sorry I think I had a typo.<br>
>>> >><br>
>>> >> Try:<br>
>>> >><br>
>>> >> git remote rm stage<br>
>>> >> git remote add stage git://<a href="http://vtk.org/stage/VES.git" target="_blank">vtk.org/stage/VES.git</a><br>
>>> >><br>
>>> >><br>
>>> >> Pat<br>
>>> >><br>
>>> >> On Tue, Nov 27, 2012 at 11:16 PM, Thiago Tavares Magalhães<br>
>>> >> <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>> wrote:<br>
>>> >> > Hi Pat<br>
>>> >> ><br>
>>> >> > Thank you so much.<br>
>>> >> > I think that is exactly what I need.<br>
>>> >> ><br>
>>> >> > When I run the line "git remote add git :/ stage / <a href="http://vtk.org" target="_blank">vtk.org</a>: stage /<br>
>>> >> > VES.git"<br>
>>> >> > terminal proceeds normally.<br>
>>> >> ><br>
>>> >> > However when I run the line "git fetch stage" appears the following<br>
>>> >> > error<br>
>>> >> > message:<br>
>>> >> > "fatal: Unable to look up <a href="http://vtk.org" target="_blank">vtk.org</a> (port stage) (nodename nor<br>
>>> >> > servname<br>
>>> >> > provided, or not known)"<br>
>>> >> > And now?<br>
>>> >> ><br>
>>> >> > Thank you,<br>
>>> >> > Thiago<br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > 2012/11/27 Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>
>>> >> >><br>
>>> >> >> Normally, you would use a GLKViewController in Xcode's Interface<br>
>>> >> >> Builder. The iOS app in Apps/iOS/Kiwi was developed before iOS<br>
>>> >> >> GLKit<br>
>>> >> >> was released, so Apps/iOS/Kiwi is now a slightly out dated example,<br>
>>> >> >> and it does not use GLKView or GLKViewController, it uses the<br>
>>> >> >> ES2Renderer as you saw. For a more recent example, you could<br>
>>> >> >> checkout<br>
>>> >> >> the midas-kiwi branch on the VES stage remote:<br>
>>> >> >><br>
>>> >> >> git remote add stage git://vtk.org:stage/VES.git<br>
>>> >> >> git fetch stage<br>
>>> >> >> git checkout -t stage/midas-kiwi<br>
>>> >> >><br>
>>> >> >> Then look in Apps/iOS/KiwiMidas. This app uses a GLKView and<br>
>>> >> >> GLKViewController. These are objects that you can create in<br>
>>> >> >> Xcode's<br>
>>> >> >> Interface Builder, you can put them in a xib file. Then you could<br>
>>> >> >> see<br>
>>> >> >> the file MyGLKViewController.mm for an example of how the<br>
>>> >> >> GLKViewController calls vesKiwiViewerApp::render().<br>
>>> >> >><br>
>>> >> >> Pat<br>
>>> >> >><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> On Tue, Nov 27, 2012 at 9:34 PM, Thiago Tavares Magalhães<br>
>>> >> >> <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>> wrote:<br>
>>> >> >> > Hi Pat,<br>
>>> >> >> ><br>
>>> >> >> > I have studied the example in Android / iOS / Kiwi.<br>
>>> >> >> > I found that the class contains an object ES2Renderer<br>
>>> >> >> > VesKiwiViewerApp.<br>
>>> >> >> ><br>
>>> >> >> > Apparently you must first use the method BuilInDataSetName () to<br>
>>> >> >> > pass<br>
>>> >> >> > the<br>
>>> >> >> > name of a file to the object VesKiwiViewerApp and then uses the<br>
>>> >> >> > Render<br>
>>> >> >> > ()<br>
>>> >> >> > method.<br>
>>> >> >> > Is this correct?<br>
>>> >> >> ><br>
>>> >> >> > My biggest question is this: I want to create a graphical<br>
>>> >> >> > interface<br>
>>> >> >> > to<br>
>>> >> >> > the<br>
>>> >> >> > user via a xib file, ie using the click and drag it to xcode<br>
>>> >> >> > offers.<br>
>>> >> >> > As<br>
>>> >> >> > I<br>
>>> >> >> > relate the Render method (VesKiwiViewerApp) with one of the<br>
>>> >> >> > objects<br>
>>> >> >> > that<br>
>>> >> >> > xcode offers to drag me to the GUI? And that object would that<br>
>>> >> >> > be?<br>
>>> >> >> ><br>
>>> >> >> > (To better illustrate my question: Java I need an object<br>
>>> >> >> > PictureBox<br>
>>> >> >> > to<br>
>>> >> >> > display a jpeg on the screen, for example.)<br>
>>> >> >> ><br>
>>> >> >> > Thank you so much<br>
>>> >> >> > Thiago<br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> > 2012/11/26 Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>
>>> >> >> >><br>
>>> >> >> >> Have you tried building and running the KiwiViewer iOS app? It<br>
>>> >> >> >> is<br>
>>> >> >> >> located in Apps/iOS/Kiwi. This is the best place to start, if<br>
>>> >> >> >> you<br>
>>> >> >> >> want to try loading VTK files on the iphone. You can run<br>
>>> >> >> >> KiwiViewer<br>
>>> >> >> >> in the iOS simulator or on an iOS device. Just open the Xcode<br>
>>> >> >> >> project<br>
>>> >> >> >> and choose Run. After you get it running, you can search<br>
>>> >> >> >> through<br>
>>> >> >> >> the<br>
>>> >> >> >> objective-c source files to find the location where it calls<br>
>>> >> >> >> loadDataSet(filename).<br>
>>> >> >> >><br>
>>> >> >> >> Pat<br>
>>> >> >> >><br>
>>> >> >> >> On Tue, Nov 27, 2012 at 5:19 AM, Thiago Tavares Magalhães<br>
>>> >> >> >> <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>> wrote:<br>
>>> >> >> >> > Hi Pat,<br>
>>> >> >> >> ><br>
>>> >> >> >> > I understand, thanks for the reply.<br>
>>> >> >> >> > I saw that some useful methods of this class would be the<br>
>>> >> >> >> > "builtinDatasetName", the "builtinDatasetFilename" and<br>
>>> >> >> >> > "loadDataSet"<br>
>>> >> >> >> > for<br>
>>> >> >> >> > example.<br>
>>> >> >> >> > However, how could I use these methods to render a VTK file on<br>
>>> >> >> >> > the<br>
>>> >> >> >> > screen?<br>
>>> >> >> >> > In other words, what xcode object can receive the output of<br>
>>> >> >> >> > these<br>
>>> >> >> >> > methods,<br>
>>> >> >> >> > so I can finally see a VTK file rendered on the screen of an<br>
>>> >> >> >> > iphone?<br>
>>> >> >> >> ><br>
>>> >> >> >> > Sorry for my inexperience.<br>
>>> >> >> >> > I promise that soon not bother much.<br>
>>> >> >> >> ><br>
>>> >> >> >> > hugs,<br>
>>> >> >> >> > Thiago<br>
>>> >> >> >> ><br>
>>> >> >> >> ><br>
>>> >> >> >> > 2012/11/25 Pat Marion <<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>><br>
>>> >> >> >> >><br>
>>> >> >> >> >> Hi Thiago,<br>
>>> >> >> >> >><br>
>>> >> >> >> >> The classes in src/ves implement the core rendering library<br>
>>> >> >> >> >> for<br>
>>> >> >> >> >> OpenGL<br>
>>> >> >> >> >> ES 2.0. The classes in src/kiwi provide convenience for<br>
>>> >> >> >> >> combining<br>
>>> >> >> >> >> VTK<br>
>>> >> >> >> >> with VES rendering. For example, vesKiwiDataLoader,<br>
>>> >> >> >> >> vesKiwiDataConversionTools, and the subclasses of<br>
>>> >> >> >> >> vesKiwiDataRepresentation. The vesKiwiViewerApp ties<br>
>>> >> >> >> >> together a<br>
>>> >> >> >> >> lot<br>
>>> >> >> >> >> of these pieces and presents a single interface, so that it<br>
>>> >> >> >> >> is<br>
>>> >> >> >> >> easier<br>
>>> >> >> >> >> to implement an Android or iOS app in Java or Objective-C.<br>
>>> >> >> >> >> Your<br>
>>> >> >> >> >> Java/Objective-C code mostly just need to call methods on<br>
>>> >> >> >> >> vesKiwiViewerApp. If you're designing a mobile app that is<br>
>>> >> >> >> >> similar<br>
>>> >> >> >> >> to<br>
>>> >> >> >> >> KiwiViewer, then you could reuse vesKiwiViewerApp, or derive<br>
>>> >> >> >> >> from<br>
>>> >> >> >> >> it<br>
>>> >> >> >> >> and extend the behavior. But, if your app has unique<br>
>>> >> >> >> >> requirements<br>
>>> >> >> >> >> that are different from those found in KiwiViewer, then you<br>
>>> >> >> >> >> might<br>
>>> >> >> >> >> not<br>
>>> >> >> >> >> want to use vesKiwiViewerApp at all, instead you could just<br>
>>> >> >> >> >> directly<br>
>>> >> >> >> >> use the classes from VES and kiwi, or you could design your<br>
>>> >> >> >> >> own<br>
>>> >> >> >> >> app<br>
>>> >> >> >> >> interface class. In that case, vesKiwiViewerApp can serve as<br>
>>> >> >> >> >> an<br>
>>> >> >> >> >> example implementation.<br>
>>> >> >> >> >><br>
>>> >> >> >> >> Pat<br>
>>> >> >> >> >><br>
>>> >> >> >> >><br>
>>> >> >> >> >><br>
>>> >> >> >> >> 2012/11/24 Thiago Tavares Magalhães <<a href="mailto:ttavaresm@gmail.com">ttavaresm@gmail.com</a>>:<br>
>>> >> >> >> >> > VesKiwiViwerApp<br>
>>> >> >> >> ><br>
>>> >> >> >> ><br>
>>> >> >> >> ><br>
>>> >> >> >> ><br>
>>> >> >> >> > --<br>
>>> >> >> >> > Thiago Tavares Magalhães<br>
>>> >> >> >> > Instituto Superior de Tecnologia em Ciências da Computação de<br>
>>> >> >> >> > Petrópolis<br>
>>> >> >> >> > -<br>
>>> >> >> >> > FAETERJ<br>
>>> >> >> >> > Laboratório Nacional de Computação Científica - LNCC<br>
>>> >> >> >> ><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> ><br>
>>> >> >> > --<br>
>>> >> >> > Thiago Tavares Magalhães<br>
>>> >> >> > Instituto Superior de Tecnologia em Ciências da Computação de<br>
>>> >> >> > Petrópolis<br>
>>> >> >> > -<br>
>>> >> >> > FAETERJ<br>
>>> >> >> > Laboratório Nacional de Computação Científica - LNCC<br>
>>> >> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > Thiago Tavares Magalhães<br>
>>> >> > Instituto Superior de Tecnologia em Ciências da Computação de<br>
>>> >> > Petrópolis<br>
>>> >> > -<br>
>>> >> > FAETERJ<br>
>>> >> > Laboratório Nacional de Computação Científica - LNCC<br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Thiago Tavares Magalhães<br>
>>> > Instituto Superior de Tecnologia em Ciências da Computação de<br>
>>> > Petrópolis -<br>
>>> > FAETERJ<br>
>>> > Laboratório Nacional de Computação Científica - LNCC<br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Ves mailing list<br>
>>> > <a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
>>> > <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> | Aashish Chaudhary<br>
>>> | R&D Engineer<br>
>>> | Kitware Inc.<br>
>>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Thiago Tavares Magalhães<br>
>> Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis -<br>
>> FAETERJ<br>
>> Laboratório Nacional de Computação Científica - LNCC<br>
>><br>
><br>
><br>
><br>
> --<br>
> Thiago Tavares Magalhães<br>
> Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis -<br>
> FAETERJ<br>
> Laboratório Nacional de Computação Científica - LNCC<br>
><br>
<br>
<br>
<br>
--<br>
| Aashish Chaudhary<br>
| R&D Engineer<br>
| Kitware Inc.<br>
| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:left"><div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"><a href="http://lattes.cnpq.br/1989532473555107" target="_blank">Thiago Tavares Magalhães</a><br>
</span></span></div><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)"></span></span></div><div style="text-align:left"><span style="color:rgb(102,102,102)"><span style="background-color:rgb(255,255,255)">Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis - <b>FAETERJ</b><br>
Laboratório Nacional de Computação Científica -<b> LNCC</b></span></span><br></div><br>