<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi all,<br>
<br>
I have to copy data from given arrays (i.e. geometry-><span
style=" color:#00677c;">getTexCoordArrayList</span>())<br>
into new arrays of the same type. So I have to do something like <br>
<br>
<span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">
osg</span>::<span style=" color:#800080;">Geometry</span>::<span
style=" color:#800080;">ArrayList</span><span style="
color:#c0c0c0;"> </span><span style=" color:#092e64;">textureCoords</span><span
style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span
style=" color:#092e64;">geometry</span>-><span style="
color:#00677c;">getTexCoordArrayList</span>();
<pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
<span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">
osg</span>::<span style=" color:#800080;">Geometry</span>::<span
style=" color:#800080;">ArrayList</span><span style="
color:#c0c0c0;"> </span><span style=" color:#092e64;">textureCoordsNew</span>(<span
style=" color:#092e64;">textureCoords</span>.<span style="
color:#00677c;">size</span>());
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">for</span><span style=" color:#c0c0c0;"> </span>(<span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">i</span>=<span style=" color:#000080;">0</span>;<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">i</span><<span style=" color:#092e64;">textureCoordsNew</span>.<span style=" color:#00677c;">size</span>();<span style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">i</span>++)
textureCoordsNeu[i]<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> ???
</span><span style=" color:#c0c0c0;"> // Do some manipulation and resorting
</span><span style=" color:#092e64;">geometry</span>-><span style=" color:#00677c;">setTexCoordArrayList</span>(<span style=" color:#092e64;">textureCoordsNew</span>);
<span style=" color:#c0c0c0;"></span></pre>
<pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
Has anybody a hint for me how to solve this?
Many thanks in advance.
- Werner -
</pre>
</body>
</html>