[Ves] Render mobile camera video using ves

Li Ge lge at ucsd.edu
Thu Mar 27 15:22:22 EDT 2014


std::string model = [[[NSBundle mainBundle] pathForResource:@"bunny" ofType:
@"vtp"] UTF8String];

  std::string background = [[[NSBundle mainBundle] pathForResource:
@"kiwi_opaque" ofType:@"png"] UTF8String];


On Thu, Mar 27, 2014 at 12:20 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

> What dataset you are trying to load?
>
> - Aashish
>
>
> On Thu, Mar 27, 2014 at 3:18 PM, Li Ge <geli19880206 at gmail.com> wrote:
>
>>  Error message:
>>
>> Thread 1: EXC_BAD_ACCESS(code=EXC_ARM_DA_ALIGN, address=0x109b65)
>>
>> Stacks:
>>
>> #0 0x00109b7a in vtkDataArrayTemplate<float>::SetTuple(int, float
>> const*) ()
>>
>> #1 0x000b5312 in std::tr1::shared_ptr<vesGeometryData>
>> vesKiwiDataConversionTools::GenericConvert<unsigned int>(vtkPolyData*) ()
>>
>> #2 0x000b34be in vesKiwiDataConversionTools::Convert(vtkPolyData*) ()
>>
>> #3 0x000c0f74 in
>> vesKiwiPolyDataRepresentation::setPolyData(vtkPolyData*) ()
>>
>> #4 0x000a18cc in ISEViewer::loadData(std::string const&, std::string
>> const&) at /Users/lige/Develop/ios/ise-ar-viewer/Classes/ISEViewer.h:94
>>
>> #5 0x000a016c in -[SE120ViewController initViewer] at
>> /Users/lige/Develop/ios/ise-ar-viewer/se120/SE120ViewController.mm:62
>>
>> #6 0x0009fd36 in -[SE120ViewController viewDidLoad] at
>> /Users/lige/Develop/ios/ise-ar-viewer/se120/SE120ViewController.mm:43
>>
>> ...
>>
>>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>



-- 
Li Ge
Department of Structural Engineering
UC San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140327/13d57574/attachment-0003.html>


More information about the Ves mailing list