[Ves] VesKiwiViwerApp
Thiago Tavares Magalhães
ttavaresm at gmail.com
Tue Nov 27 08:16:43 EST 2012
Hi Pat
Thank you so much.
I think that is exactly what I need.
When I run the line "git remote add git :/ stage / vtk.org: stage / VES.git"
terminal proceeds normally.
However when I run the line "git fetch stage" appears the following error
message:
"fatal: Unable to look up vtk.org (port stage) (nodename nor servname
provided, or not known)"
And now?
Thank you,
Thiago
2012/11/27 Pat Marion <pat.marion at kitware.com>
> Normally, you would use a GLKViewController in Xcode's Interface
> Builder. The iOS app in Apps/iOS/Kiwi was developed before iOS GLKit
> was released, so Apps/iOS/Kiwi is now a slightly out dated example,
> and it does not use GLKView or GLKViewController, it uses the
> ES2Renderer as you saw. For a more recent example, you could checkout
> the midas-kiwi branch on the VES stage remote:
>
> git remote add stage git://vtk.org:stage/VES.git
> git fetch stage
> git checkout -t stage/midas-kiwi
>
> Then look in Apps/iOS/KiwiMidas. This app uses a GLKView and
> GLKViewController. These are objects that you can create in Xcode's
> Interface Builder, you can put them in a xib file. Then you could see
> the file MyGLKViewController.mm for an example of how the
> GLKViewController calls vesKiwiViewerApp::render().
>
> Pat
>
>
>
> On Tue, Nov 27, 2012 at 9:34 PM, Thiago Tavares Magalhães
> <ttavaresm at gmail.com> wrote:
> > Hi Pat,
> >
> > I have studied the example in Android / iOS / Kiwi.
> > I found that the class contains an object ES2Renderer VesKiwiViewerApp.
> >
> > Apparently you must first use the method BuilInDataSetName () to pass the
> > name of a file to the object VesKiwiViewerApp and then uses the Render ()
> > method.
> > Is this correct?
> >
> > My biggest question is this: I want to create a graphical interface to
> the
> > user via a xib file, ie using the click and drag it to xcode offers. As I
> > relate the Render method (VesKiwiViewerApp) with one of the objects that
> > xcode offers to drag me to the GUI? And that object would that be?
> >
> > (To better illustrate my question: Java I need an object PictureBox to
> > display a jpeg on the screen, for example.)
> >
> > Thank you so much
> > Thiago
> >
> >
> > 2012/11/26 Pat Marion <pat.marion at kitware.com>
> >>
> >> Have you tried building and running the KiwiViewer iOS app? It is
> >> located in Apps/iOS/Kiwi. This is the best place to start, if you
> >> want to try loading VTK files on the iphone. You can run KiwiViewer
> >> in the iOS simulator or on an iOS device. Just open the Xcode project
> >> and choose Run. After you get it running, you can search through the
> >> objective-c source files to find the location where it calls
> >> loadDataSet(filename).
> >>
> >> Pat
> >>
> >> On Tue, Nov 27, 2012 at 5:19 AM, Thiago Tavares Magalhães
> >> <ttavaresm at gmail.com> wrote:
> >> > Hi Pat,
> >> >
> >> > I understand, thanks for the reply.
> >> > I saw that some useful methods of this class would be the
> >> > "builtinDatasetName", the "builtinDatasetFilename" and "loadDataSet"
> for
> >> > example.
> >> > However, how could I use these methods to render a VTK file on the
> >> > screen?
> >> > In other words, what xcode object can receive the output of these
> >> > methods,
> >> > so I can finally see a VTK file rendered on the screen of an iphone?
> >> >
> >> > Sorry for my inexperience.
> >> > I promise that soon not bother much.
> >> >
> >> > hugs,
> >> > Thiago
> >> >
> >> >
> >> > 2012/11/25 Pat Marion <pat.marion at kitware.com>
> >> >>
> >> >> Hi Thiago,
> >> >>
> >> >> The classes in src/ves implement the core rendering library for
> OpenGL
> >> >> ES 2.0. The classes in src/kiwi provide convenience for combining
> VTK
> >> >> with VES rendering. For example, vesKiwiDataLoader,
> >> >> vesKiwiDataConversionTools, and the subclasses of
> >> >> vesKiwiDataRepresentation. The vesKiwiViewerApp ties together a lot
> >> >> of these pieces and presents a single interface, so that it is easier
> >> >> to implement an Android or iOS app in Java or Objective-C. Your
> >> >> Java/Objective-C code mostly just need to call methods on
> >> >> vesKiwiViewerApp. If you're designing a mobile app that is similar
> to
> >> >> KiwiViewer, then you could reuse vesKiwiViewerApp, or derive from it
> >> >> and extend the behavior. But, if your app has unique requirements
> >> >> that are different from those found in KiwiViewer, then you might not
> >> >> want to use vesKiwiViewerApp at all, instead you could just directly
> >> >> use the classes from VES and kiwi, or you could design your own app
> >> >> interface class. In that case, vesKiwiViewerApp can serve as an
> >> >> example implementation.
> >> >>
> >> >> Pat
> >> >>
> >> >>
> >> >>
> >> >> 2012/11/24 Thiago Tavares Magalhães <ttavaresm at gmail.com>:
> >> >> > VesKiwiViwerApp
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Thiago Tavares Magalhães
> >> > Instituto Superior de Tecnologia em Ciências da Computação de
> Petrópolis
> >> > -
> >> > FAETERJ
> >> > Laboratório Nacional de Computação Científica - LNCC
> >> >
> >
> >
> >
> >
> > --
> > Thiago Tavares Magalhães
> > Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis
> -
> > FAETERJ
> > Laboratório Nacional de Computação Científica - LNCC
> >
>
--
Thiago Tavares Magalhães <http://lattes.cnpq.br/1989532473555107>
Instituto Superior de Tecnologia em Ciências da Computação de Petrópolis - *
FAETERJ*
Laboratório Nacional de Computação Científica -* LNCC*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20121127/5b8339cf/attachment-0001.html>
More information about the Ves
mailing list