<div dir="ltr">Hello!<div><br></div><div style>Have you tried to access this array over:</div><div style>..<span style="font-family:arial,sans-serif;font-size:13px">GetPointData()</span>-&gt;GetVectors<span style="font-size:13px;font-family:arial,sans-serif">(...</span><span style="font-size:13px;font-family:arial,sans-serif">)</span> ?</div>
<div style><br></div><div style><br></div><div style>hth</div><div style><br></div><div style>mirko</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 10:38 AM, Manh Nguyen <span dir="ltr">&lt;<a href="mailto:nevermind145@gmail.com" target="_blank">nevermind145@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear vtk developers,<div><br></div><div>I have created this code:</div><div><br></div><div>vtkDataArray *DataArray = reader-&gt;GetOutput()-&gt;GetPointData()-&gt;GetArray(&quot;qflow velocities&quot;);</div>

<div><br></div><div><div><br></div><div>The DataArray is an array with 3 components (x,y,z), but by default it read only the x component? </div><div><br></div><div><br></div><div>Is there a way to select only the components without using CopyComponent or any other copy functions?</div>

<div><br></div><div>Sincerely,</div><div><br></div><div>Tat Manh Nguyen</div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Real programmers don&#39;t document; if it was<br>hard to write, it should be hard to understand.
</div>