<div dir="ltr">







<p class=""><span class="">std</span><span class="">::</span><span class="">string</span><span class=""> model = [[[</span><span class="">NSBundle</span><span class=""> </span>mainBundle<span class="">] </span>pathForResource<span class="">:</span><span class="">@"bunny"</span><span class=""> </span>ofType<span class="">:</span><span class="">@"vtp"</span><span class="">] </span>UTF8String<span class="">];</span></p>

<p class=""><span class="">  </span><span class="">std</span><span class="">::</span><span class="">string</span><span class=""> background = [[[</span><span class="">NSBundle</span><span class=""> </span>mainBundle<span class="">] </span>pathForResource<span class="">:</span><span class="">@"kiwi_opaque"</span><span class=""> </span>ofType<span class="">:</span><span class="">@"png"</span><span class="">] </span>UTF8String<span class="">];</span></p>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 12:20 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What dataset you are trying to load? <span class="HOEnZb"><font color="#888888"><div><br></div><div>- Aashish</div>
</font></span></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 27, 2014 at 3:18 PM, Li Ge <span dir="ltr"><<a href="mailto:geli19880206@gmail.com" target="_blank">geli19880206@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">







<p>







</p><p>Error message: </p><p>Thread 1: EXC_BAD_ACCESS(code=EXC_ARM_DA_ALIGN, address=0x109b65)</p><p>Stacks:</p><p>#0<span style="white-space:pre-wrap">        </span>0x00109b7a in vtkDataArrayTemplate<float>::SetTuple(int, float const*) ()</p>


<p>#1<span style="white-space:pre-wrap">  </span>0x000b5312 in std::tr1::shared_ptr<vesGeometryData> vesKiwiDataConversionTools::GenericConvert<unsigned int>(vtkPolyData*) ()</p><p>#2<span style="white-space:pre-wrap">  </span>0x000b34be in vesKiwiDataConversionTools::Convert(vtkPolyData*) ()</p>


<p>#3<span style="white-space:pre-wrap">  </span>0x000c0f74 in vesKiwiPolyDataRepresentation::setPolyData(vtkPolyData*) ()</p><p>#4<span style="white-space:pre-wrap">  </span>0x000a18cc in ISEViewer::loadData(std::string const&, std::string const&) at /Users/lige/Develop/ios/ise-ar-viewer/Classes/ISEViewer.h:94</p>


<p>#5<span style="white-space:pre-wrap">  </span>0x000a016c in -[SE120ViewController initViewer] at /Users/lige/Develop/ios/ise-ar-viewer/se120/SE120ViewController.mm:62</p><p>#6<span style="white-space:pre-wrap">   </span>0x0009fd36 in -[SE120ViewController viewDidLoad] at /Users/lige/Develop/ios/ise-ar-viewer/se120/SE120ViewController.mm:43</p>


<p>...</p><div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><div class="">-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>    
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Li Ge <br>Department of Structural Engineering<br>UC San Diego
</div>