[vtkusers] Choose the second component in vtkDataArray without copy

Manh Nguyen nevermind145 at gmail.com
Thu May 23 04:38:58 EDT 2013


Dear vtk developers,

I have created this code:

vtkDataArray *DataArray =
reader->GetOutput()->GetPointData()->GetArray("qflow velocities");


The DataArray is an array with 3 components (x,y,z), but by default it read
only the x component?


Is there a way to select only the components without using CopyComponent or
any other copy functions?

Sincerely,

Tat Manh Nguyen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130523/af6dace0/attachment.htm>


More information about the vtkusers mailing list