<div dir="ltr">Rustem,<div>Indeed there is a superquadric source in VTK and ParaView. You can try this source in paraview to see what paramters you need to specify to get the glyph you want.</div><div><br></div><div>Dan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 11, 2017 at 7:41 AM, Rustem Khabetdinov <span dir="ltr"><<a href="mailto:rustem.khabetdinov@gmail.com" target="_blank">rustem.khabetdinov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">As far as I know there is tensorglyph in vtk that allows to visualize superquadrics. I've tried to use it but it gives me incorrect glyph. It always gives me sphere instead of ellipsoid.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-04 18:44 GMT+03:00 longbowzhang <span dir="ltr"><<a href="mailto:longbowzhangchina@gmail.com" target="_blank">longbowzhangchina@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Basically you try to visualize a 3-by-3 symmetric matrix.<br>
The natural choice is to use an ellipsoid.<br>
<br>
Unfortunately, you have *negative* eigenvalues.<br>
Therefore, the most elegant visualization should be this<br>
SuperquadricTensorGlyph<br>
<<a href="http://people.cs.uchicago.edu/~glk/sqd/schultzTVCG10SuperquadricTensorGlyphs.pdf" rel="noreferrer" target="_blank">http://people.cs.uchicago.edu<wbr>/~glk/sqd/schultzTVCG10Superqu<wbr>adricTensorGlyphs.pdf</a>><br>
.<br>
TheĀ  code <<a href="http://web.ci.uchicago.edu/~schultz/sphinx/superquadrics.html" rel="noreferrer" target="_blank">http://web.ci.uchicago.edu/~s<wbr>chultz/sphinx/superquadrics.ht<wbr>ml</a>><br>
is based on OpenGL, rather than VTK.<br>
<br>
Hope this could help or inspire you to some extent.<br>
<br>
Longbow<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Question-about-visualization-tp5743875p5743877.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/Question-about-visualizatio<wbr>n-tp5743875p5743877.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>