From gouwsy at gmail.com Mon Nov 10 07:43:48 2014 From: gouwsy at gmail.com (Andre Gouws) Date: Mon, 10 Nov 2014 12:43:48 +0000 Subject: [Ves] load local files Message-ID: (Running version 1.00 on Android 4.4.4) There doesn't appear to be any option to load files from the local sdcard. Is that correct? I can place my files at an http:// URL and download it, that works .. but I then have to re-download every time (i.e. the files do not save locally and appear in the option to load list) I also tried dumping the files directly to /sdcard/Android/data/com.kitware.KiwiViewer/files (where the other files appear to be saved) but no luck getting them to load. This may of course all be intended behaviour .. I understand this is v1.00.. just want to make sure I'm not doing anything stupid. Nice work. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.patrick.marion at gmail.com Mon Nov 10 11:14:49 2014 From: james.patrick.marion at gmail.com (Pat Marion) Date: Mon, 10 Nov 2014 11:14:49 -0500 Subject: [Ves] load local files In-Reply-To: References: Message-ID: Hi Andre, The Android version of KiwiViewer does not have a file browser. Instead, KiwiViewer associates itself with supported file extensions. You can use a third party app to browse your sdcard files, and when you select a file to open then KiwiViewer should be presented as an option to open the file. Let me know if you need suggestions for file browser apps, in the past I've used apps like this one: https://play.google.com/store/apps/details?id=com.lindaandny.lindamanager&hl=en Pat On Mon, Nov 10, 2014 at 7:43 AM, Andre Gouws wrote: > (Running version 1.00 on Android 4.4.4) > > There doesn't appear to be any option to load files from the local sdcard. > Is that correct? > > I can place my files at an http:// URL and download it, that works .. but > I then have to re-download every time (i.e. the files do not save locally > and appear in the option to load list) > > I also tried dumping the files directly to > /sdcard/Android/data/com.kitware.KiwiViewer/files (where the other files > appear to be saved) but no luck getting them to load. > > This may of course all be intended behaviour .. I understand this is > v1.00.. just want to make sure I'm not doing anything stupid. > > Nice work. > > Thanks > > _______________________________________________ > Ves mailing list > Ves at public.kitware.com > http://public.kitware.com/mailman/listinfo/ves > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From casey.goodlett at kitware.com Tue Nov 11 14:50:39 2014 From: casey.goodlett at kitware.com (Casey Goodlett) Date: Tue, 11 Nov 2014 14:50:39 -0500 Subject: [Ves] Ndk version In-Reply-To: References: Message-ID: We have not updated the toolchain files for that version of the ndk. Patches would be welcome. Thank you On Sun, Oct 12, 2014 at 4:15 PM, Daniel Scaini wrote: > Hi, > Can i use android ndk 9d version to build kiwiviewer? > > Thanks, > Daniel > > _______________________________________________ > Ves mailing list > Ves at public.kitware.com > http://public.kitware.com/mailman/listinfo/ves > > -- Casey B Goodlett, PhD Technical Leader Kitware, Inc. - North Carolina Office http://www.kitware.com (919) 969-6990 x310 -------------- next part -------------- An HTML attachment was scrubbed... URL: From harish.mlists at gmail.com Sat Nov 22 08:07:34 2014 From: harish.mlists at gmail.com (Harish Narayanan) Date: Sat, 22 Nov 2014 13:07:34 +0000 Subject: [Ves] Help building VES for iOS 8.x/Xcode 6.x Message-ID: I am trying to build VES for iOS using current Apple developer tools: Xcode 6.1 and the iOS 8.1 SDK. I have attempted to follow along with the instructions at http://vtk.org/gitweb?p=VES.git;a=blob;f=Apps/iOS/README.txt . First, I ran into some obvious problems about the most recent SDKs not being found by CMake, and corrected that with the following simple patch: https://gist.github.com/hnarayanan/b188b78aca79ec0fe765 Moving forward, I am able to compile foo-device targets, but when I attempt to build a foo-simulator target (e.g. curl-ios-simulator), I run into the following class of errors: ld: building for MacOSX, but linking against dylib built for iOS Simulator file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/lib/libSystem.dylib' for architecture i386 A more complete log of the above can be found here: https://gist.github.com/hnarayanan/327611ac19cfd95eb280 This seems to be related to Xcode replacing gcc with clang in Xcode 5, as pointed out in the following Stack Overflow: http://stackoverflow.com/questions/18682267/cmake-ld-building-for-macosx-but-linking-against-dylib-built-for-ios-simulator . But I don't know how to set the flags they suggest within CMake to coax things along. Does anyone who has had luck with compiling VES with recent Apple dev tools have any suggestions for me to try? Thank you! Harish -------------- next part -------------- An HTML attachment was scrubbed... URL: From harish.mlists at gmail.com Sat Nov 22 17:40:27 2014 From: harish.mlists at gmail.com (Harish Narayanan) Date: Sat, 22 Nov 2014 22:40:27 +0000 Subject: [Ves] Help building VES for iOS 8.x/Xcode 6.x In-Reply-To: References: Message-ID: With the following steps, I seem to have completed a build. 1. Disabling VES_USE_CURL to not deal with some unrelated build errors in this subsystem. 2. Using the following patch: https://gist.github.com/hnarayanan/0f18c9e441cfe2d2342b I am documenting it here for anyone else who might have run into these problems. Harish -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.patrick.marion at gmail.com Sat Nov 22 18:55:21 2014 From: james.patrick.marion at gmail.com (Pat Marion) Date: Sat, 22 Nov 2014 18:55:21 -0500 Subject: [Ves] Help building VES for iOS 8.x/Xcode 6.x In-Reply-To: References: Message-ID: Thanks for posting! On Saturday, November 22, 2014, Harish Narayanan wrote: > With the following steps, I seem to have completed a build. > > 1. Disabling VES_USE_CURL to not deal with some unrelated build errors in > this subsystem. > 2. Using the following patch: > https://gist.github.com/hnarayanan/0f18c9e441cfe2d2342b > > I am documenting it here for anyone else who might have run into these > problems. > > Harish > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asad at cs.unc.edu Tue Nov 25 05:37:10 2014 From: asad at cs.unc.edu (Asad Ullah Naweed) Date: Tue, 25 Nov 2014 05:37:10 -0500 Subject: [Ves] Corner annotation In-Reply-To: References: <017101ceaecc$48ff10c0$dafd3240$@ac.kr> Message-ID: I tried using this, but with no success. No text label is being drawn anywhere, no matter what vectors I use for setDisplayPosition. I am using the latest VES build for iOS. On Wed, Sep 11, 2013 at 9:26 AM, Aashish Chaudhary < aashish.chaudhary at kitware.com> wrote: > Yes. Please have a look at vesKiwiText2DRepresentation.h > > > On Wed, Sep 11, 2013 at 4:52 AM, Xiaopeng Yang > wrote: > >> Dear VES users, >> >> >> >> Does VES support corner annotation or any kind of annotation to put >> labels on the 3D screen of Kiwi? >> >> >> >> Thanks, >> >> Xiaopeng >> >> _______________________________________________ >> Ves mailing list >> Ves at public.kitware.com >> http://public.kitware.com/cgi-bin/mailman/listinfo/ves >> >> > > > -- > | Aashish Chaudhary > | R&D Engineer > | Kitware Inc. > | www.kitware.com > > _______________________________________________ > Ves mailing list > Ves at public.kitware.com > http://public.kitware.com/cgi-bin/mailman/listinfo/ves > > -- -Asad -------------- next part -------------- An HTML attachment was scrubbed... URL: From yxp233 at postech.ac.kr Wed Nov 26 04:30:23 2014 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Wed, 26 Nov 2014 18:30:23 +0900 Subject: [Ves] Initial rendering size of KiwiViewer In-Reply-To: <1416700536851051.012609.ptmail03@ptmail03> References: <1416700536851051.012609.ptmail03@ptmail03> Message-ID: <036f01d0095b$9ae383e0$d0aa8ba0$@ac.kr> Dear VES users, Is there any zoom function for the camera so that I can show a larger initial rendering other than default size? I know in VTK, there is a zoom function for the camera, but not sure whether VES has that function or not. Thanks, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From deb63 at pitt.edu Wed Nov 26 09:29:41 2014 From: deb63 at pitt.edu (Busch, David E) Date: Wed, 26 Nov 2014 14:29:41 +0000 Subject: [Ves] Initial rendering size of KiwiViewer In-Reply-To: <036f01d0095b$9ae383e0$d0aa8ba0$@ac.kr> References: <1416700536851051.012609.ptmail03@ptmail03>, <036f01d0095b$9ae383e0$d0aa8ba0$@ac.kr> Message-ID: <1417012180968.65667@pitt.edu> Xiaopeng, If you are only doing something simple on the initial startup of the KiwiViewer, before performing any panning, transformations, etc... you might be able to get away with something like: setCameraPosition(cameraPosition() * 0.75); // (in vesKiwiBaseApp) for instance If you are trying to perform a zoom after panning/etc... then you will need to take the 3d transformation into account. Simply moving the camera wont work as your viewing angles will change, likely requiring you to properly translate and rotate the camera. Take a look at: vesKiwiBaseApp::setCameraPosition & vesKiwiBaseApp::cameraPosition? vesKiwiBaseApp::setCameraFocalPoint & vesKiwiBaseApp::cameraFocalPoint vesKiwiBaseApp::setCameraViewUp & vesKiwiBaseApp::cameraViewUp ...as well as the dolly, roll, pan and rotate functions of vesKiwiCameraInteractor ? Also look at vesRenderer::resetCamera(). There is some math that may be useful to you here, as well as some references to other classes and functions that may also be of use too. ?David Busch Mobile App Developer University of Pittsburgh ________________________________ From: Ves on behalf of Xiaopeng Yang Sent: Wednesday, November 26, 2014 4:30 AM To: ves at public.kitware.com Subject: [Ves] Initial rendering size of KiwiViewer Dear VES users, Is there any zoom function for the camera so that I can show a larger initial rendering other than default size? I know in VTK, there is a zoom function for the camera, but not sure whether VES has that function or not. Thanks, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From yxp233 at postech.ac.kr Wed Nov 26 16:52:39 2014 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Thu, 27 Nov 2014 06:52:39 +0900 Subject: [Ves] Initial rendering size of KiwiViewer In-Reply-To: <141701313094433.021175.ptmail03@ptmail03> References: <1416700536851051.012609.ptmail03@ptmail03>, <036f01d0095b$9ae383e0$d0aa8ba0$@ac.kr> <141701313094433.021175.ptmail03@ptmail03> Message-ID: <03be01d009c3$4c8bd6d0$e5a38470$@ac.kr> Hi David, I modified the values from 1 to 0.75 in the resetView setting and it worked. Thank you very much for your help. self->mKiwiApp->resetView(vesVector3f(0.0, 0.0, -0.75), vesVector3f(0.0, 0.75, 0.0), false); Best regards, Xiaopeng From: Ves [mailto:ves-bounces at public.kitware.com] On Behalf Of Busch, David E Sent: Wednesday, November 26, 2014 11:30 PM To: ves at public.kitware.com Subject: Re: [Ves] Initial rendering size of KiwiViewer Xiaopeng, If you are only doing something simple on the initial startup of the KiwiViewer, before performing any panning, transformations, etc... you might be able to get away with something like: setCameraPosition(cameraPosition() * 0.75); // (in vesKiwiBaseApp) for instance If you are trying to perform a zoom after panning/etc... then you will need to take the 3d transformation into account. Simply moving the camera wont work as your viewing angles will change, likely requiring you to properly translate and rotate the camera. Take a look at: vesKiwiBaseApp::setCameraPosition & vesKiwiBaseApp::cameraPosition? vesKiwiBaseApp::setCameraFocalPoint & vesKiwiBaseApp::cameraFocalPoint vesKiwiBaseApp::setCameraViewUp & vesKiwiBaseApp::cameraViewUp ...as well as the dolly, roll, pan and rotate functions of vesKiwiCameraInteractor ? Also look at vesRenderer::resetCamera(). There is some math that may be useful to you here, as well as some references to other classes and functions that may also be of use too. ?David Busch Mobile App Developer University of Pittsburgh _____ From: Ves on behalf of Xiaopeng Yang Sent: Wednesday, November 26, 2014 4:30 AM To: ves at public.kitware.com Subject: [Ves] Initial rendering size of KiwiViewer Dear VES users, Is there any zoom function for the camera so that I can show a larger initial rendering other than default size? I know in VTK, there is a zoom function for the camera, but not sure whether VES has that function or not. Thanks, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From harish.mlists at gmail.com Thu Nov 27 10:51:01 2014 From: harish.mlists at gmail.com (Harish Narayanan) Date: Thu, 27 Nov 2014 15:51:01 +0000 Subject: [Ves] VES/Kiwi and Swift Message-ID: Hello all, I am new to iOS development and fiddling with an app that involves VES/Kiwi. With a bit of poking and prodding, I?ve gotten the libraries built as well as the KiwiSimple Xcode project, aspects of which I am using to piece together my app. Since I am new to all of this, I was contemplating working on this app in Swift, but stumbled across a primary blocker in the docs[1]: ?You cannot import C++ code directly into Swift. Instead, create an Objective-C or C wrapper for C++ code.? My question here is that: Is this something that is feasible for one to attempt? And if so does anyone have any helpful hints for me to get started? If not, I will continue my attempts using Objective-C. Thanks! Harish [1] https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From danisk891 at gmail.com Fri Nov 28 05:43:56 2014 From: danisk891 at gmail.com (Daniel Scaini) Date: Fri, 28 Nov 2014 11:43:56 +0100 Subject: [Ves] Points size Message-ID: How to resize points in polydata without using actor class? Otherwise, how to use kiwiDataReresentation in KiwiViewer base example? Thanks, Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: