<div dir="ltr">You can choose an array on the point source which will define the scaling factor with those classes, but that scales equally along the X, Y and Z directions (so the ellipsoids will be different sizes from each other, but all stretched identically).<div>
<br></div><div>I think you want instead is <a href="http://www.vtk.org/doc/nightly/html/classvtkTensorGlyph.html">http://www.vtk.org/doc/nightly/html/classvtkTensorGlyph.html</a>. With that the ellipsoid (use a sphere) will be scaled in its local X,Y, and Z axes according to the major, medium and minor eigenvectors respectively found in the tensor array on the point source, and rotated to align with the major eigenvector.</div>
<div><br></div><div>Either that or hack vtkGlyph* to take into account more than one scaling factor and scale each axis independently.</div><div><div style><br></div></div></div><div class="gmail_extra"><br clear="all"><div>
David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Wed, May 22, 2013 at 10:16 AM, VoodooCode <span dir="ltr"><<a href="mailto:MaxSchererMax@gmail.com" target="_blank">MaxSchererMax@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I use the same ellipsoid all the each time and rotate it differently each<br>
time? What about the different radii of the different ellipsoids?<br>
<br>
I managed to create a map of the positions of the ellipsoids and a vector<br>
containing the rotation matrices but I'm stuck now. How to go on?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Drawing-half-a-million-vtkParametricEllipsoid-s-tp5720865p5720871.html" target="_blank">http://vtk.1045678.n5.nabble.com/Drawing-half-a-million-vtkParametricEllipsoid-s-tp5720865p5720871.html</a><br>
<div class="im HOEnZb">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>