<span id="result_box" class="" lang="en"><span class="hps">Hi</span> <span class="hps">Pat</span><br><br><span class="hps">Is there a</span> <span class="hps">specific directory</span> <span class="hps">where I need to</span> <span class="hps">run these commands</span><span>?</span><br>
<span class="hps">After</span> <span class="hps">I execute</span> <span class="hps">the last command</span> <span class="hps">opens the following</span> <span class="hps">error:</span><br><br><span class="hps">error:</span> <span class="hps">Your</span> <span class="hps">location</span> <span class="hps">changes</span> <span class="hps">to the</span> <span class="hps">Following</span> <span class="hps">files</span> <span class="hps">would</span> <span class="hps">be overwritten</span> <span class="hps">by</span> <span class="hps">checkout</span><span>:</span><br>
<span class="hps">Android</span> <span class="hps">/</span> <span class="hps">iOS</span> <span class="hps">/</span> <span class="hps">Kiwi</span> <span class="hps">/</span> <span class="hps">Kiwi</span> <span class="hps">/</span> <span class="hps">LoadDataController.m</span><br>
<span class="hps">Android</span> <span class="hps">/</span> <span class="hps">iOS</span> <span class="hps">/</span> <span class="hps">Kiwi</span> <span class="hps">/</span> <span class="hps">Kiwi</span> <span class="hps">/</span> <span class="hps">kiwiAppDelegate.mm</span><br>
<span class="hps">Please</span><span>,</span> <span class="hps">commit</span> <span class="hps">your changes</span> <span class="hps">or</span> <span class="hps">stash</span> <span class="hps">Them</span> <span class="hps">before you</span> <span class="hps">can</span> <span class="hps">switch</span> <span class="hps">branches</span><span>.</span><br>
<span class="hps">Aborting</span><br><br><span class="hps">Maybe that way</span> <span class="hps">the command</span> <span class="hps">is</span> <span class="hps">trying to overwrite</span> <span class="hps">files from</span> <span class="hps">Kiwi</span><span>.</span><br>
<span class="hps">But</span> <span class="hps">I'm not sure</span><span>.</span><br><br><span class="hps">Already</span> <span class="hps">thank you,</span><br><span class="hps">Thiago</span></span><br><br><br><div class="gmail_quote">
2012/11/27 Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
<div class="HOEnZb"><div class="h5"><<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 / VES.git"<br>
> terminal proceeds normally.<br>
><br>
> However when I run the line "git fetch stage" appears the following error<br>
> message:<br>
> "fatal: Unable to look up <a href="http://vtk.org" target="_blank">vtk.org</a> (port stage) (nodename nor 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 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 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 Xcode's<br>
>> Interface Builder, you can put them in a xib file. Then you could 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 VesKiwiViewerApp.<br>
>> ><br>
>> > Apparently you must first use the method BuilInDataSetName () to pass<br>
>> > the<br>
>> > name of a file to the object VesKiwiViewerApp and then uses the Render<br>
>> > ()<br>
>> > method.<br>
>> > Is this correct?<br>
>> ><br>
>> > My biggest question is this: I want to create a graphical interface to<br>
>> > the<br>
>> > user via a xib file, ie using the click and drag it to xcode offers. As<br>
>> > I<br>
>> > relate the Render method (VesKiwiViewerApp) with one of the objects that<br>
>> > xcode offers to drag me to the GUI? And that object would that be?<br>
>> ><br>
>> > (To better illustrate my question: Java I need an object PictureBox 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 is<br>
>> >> located in Apps/iOS/Kiwi. This is the best place to start, if you<br>
>> >> want to try loading VTK files on the iphone. You can run KiwiViewer<br>
>> >> in the iOS simulator or on an iOS device. Just open the Xcode project<br>
>> >> and choose Run. After you get it running, you can search through 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 "loadDataSet"<br>
>> >> > for<br>
>> >> > example.<br>
>> >> > However, how could I use these methods to render a VTK file on the<br>
>> >> > screen?<br>
>> >> > In other words, what xcode object can receive the output of these<br>
>> >> > methods,<br>
>> >> > so I can finally see a VTK file rendered on the screen of an 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 for<br>
>> >> >> OpenGL<br>
>> >> >> ES 2.0. The classes in src/kiwi provide convenience for combining<br>
>> >> >> VTK<br>
>> >> >> with VES rendering. For example, vesKiwiDataLoader,<br>
>> >> >> vesKiwiDataConversionTools, and the subclasses of<br>
>> >> >> vesKiwiDataRepresentation. The vesKiwiViewerApp ties together a lot<br>
>> >> >> of these pieces and presents a single interface, so that it is<br>
>> >> >> easier<br>
>> >> >> to implement an Android or iOS app in Java or Objective-C. Your<br>
>> >> >> Java/Objective-C code mostly just need to call methods on<br>
>> >> >> vesKiwiViewerApp. If you're designing a mobile app that is similar<br>
>> >> >> to<br>
>> >> >> KiwiViewer, then you could reuse vesKiwiViewerApp, or derive from it<br>
>> >> >> and extend the behavior. But, if your app has unique requirements<br>
>> >> >> that are different from those found in KiwiViewer, then you might<br>
>> >> >> not<br>
>> >> >> want to use vesKiwiViewerApp at all, instead you could just directly<br>
>> >> >> use the classes from VES and kiwi, or you could design your own app<br>
>> >> >> interface class. In that case, vesKiwiViewerApp can serve as 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 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 Petrópolis -<br>
> FAETERJ<br>
> Laboratório Nacional de Computação Científica - LNCC<br>
><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>