<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Dear vtk developers,<div><br></div><div>I have created this code:</div><div><br></div><div>vtkDataArray *DataArray = reader->GetOutput()->GetPointData()->GetArray("qflow velocities");</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><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"> I have tried GetVectors but it crashed. the data just load single Scalars.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Does vtkDataArray have something like get Component Array? or something?</span></div>
<div><br></div><div>Sincerely,</div><div><br></div><div>Tat Manh Nguyen</div></div></div>
</div><br></div>