[vtkusers] Handling of vectors in VTK
David Gobbi
david.gobbi at gmail.com
Wed Mar 6 15:59:58 EST 2013
That is correct, only a single array can be the "VECTORS" of the data
set. There is no way to get vtkTransformFilter to rotate more than
one vector array at a time.
Also note that the transformation always assumes that the vectors are
contravariant vectors.
If you are working in C++, then you can try modifying
vtkTransformFilter so that you can specify the names of the arrays
that you want to apply the vector transformation to.
- David
On Wed, Mar 6, 2013 at 1:36 PM, Aurelien Marsan <aur.marsan at gmail.com> wrote:
> Dear VTK users,
>
> I would like to have more informations about the handling of vectors in VTK.
>
> It seems to me that it is only possible to define a single PointData Array
> as a vectors. Is that really the case ?
> If yes, that lead to some major issues when using vtkTranformFilter : only
> the array set as active Vectors is correctly handled. Could you then tell me
> the right way to achieve the rotation ?
>
> Thanks in advance for your answer,
>
> Aurélien Marsan
More information about the vtkusers
mailing list