Plot Ellipses in Paraview (HELP!)

Dear Community,

I am trying to plot a set of ellipses in Paraview, but I am a beginner user. My goal is to have something like this:

I have tried using the Tensor Glyph Filter and the vtkwrite.m MATLAB function, but as I do not understand how to build the tensor, I am not getting success. What I usually know about the ellipses is the magnitude (length/size) of the semiaxis (major and minor) and also a rotation angle. Besides that, the ellipses are a 2-D representation in the XY plane:

image

Can somebody please help me or explain to me how to represent them or how to build the tensor in terms of the minor axis, major axis, and rotation angle? At this point I am just getting success with the color code of the ellipses :frowning:

Regards,

https://vtk.org/doc/nightly/html/classvtkTensorGlyph.html#details

1 Like

Dear Mathieu,

Thanks for your help, the link you posted was useful for me to understand how to build the tensor structures. Here you can see some images of the results:

2-D (MATLAB):

3-D (Paraview):

Regards,

3 Likes

Wow, that’s great! Very visually appealing.

1 Like

Is it possible for the ellipses to be 3D?

Hello,

I am also a beginner using the vtk write MatLab program. Could you explain how you implemented the Tensor Glyph?