class="stringliteral">&quot;cannot open file: &quot;</span> &lt;&lt; filename &lt;&lt; endl;</div>
<div class="line">  }</div>
<div class="line">  outfile &lt;&lt; buf.str();</div>
<div class="line">  outfile.close();</div>
<div class="line">  cout &lt;&lt; <span class="stringliteral">&quot;data saved to: &quot;</span> &lt;&lt; filename &lt;&lt; endl;</div>
<div class="line">}</div>
<div class="line"> </div>
<div class="line"><span class="keywordtype">void</span> GenDatasetTrimesh(<span class="keywordtype">