<font color="#000000"><font face="arial,helvetica,sans-serif">Dear Eric,</font></font><div><font color="#000000"><font face="arial,helvetica,sans-serif"><br></font></font></div><div><font color="#000000"><font face="arial,helvetica,sans-serif">Your first suggestion sounds like the way to go. I call it suggestion instead of question because I am not actually printing the connectivity info, I was just wondering what would be the best way for printing that info. It is relatively easy for me to write the "lines" that join the centers, and, by using the tube filter, to rescale them. I will let you know the advances here. I would like also to color the tubes by some other info, like the strength of the contacts. I will explore the possibilities. I am sorry in advance if my questions are so simple, I am a newbie for Paraview and I am trying to avoid asking silly questions =). <br clear="all">
</font></font><br></div><div>As soon as I have the files with the line-connectivity info inside them, I will post one of them here.</div><div><br></div><div>Thanks again for the help. </div><div><br>Best regards / Cordialmente,<br>
<br>--<br>William Oquendo<br>Phd Candidate<br>Simulation Of Physical Systems Group<br>Universidad Nacional de Colombia<br>Linux User # 321481<br>*********************<br>Este correo puede carecer de tildes o eñes ya que el teclado no contiene estos caracteres. Presento excusas por eso. <br>
<br>*********************<br><br>
<br><br><div class="gmail_quote">On Fri, Dec 31, 2010 at 10:11 AM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hey William,<div><br></div><div>Have you included the "connectivity structure" explicitly in the data you're visualizing (as edges between the grain centers), or is your data really a bunch of vertices with the connectivity embedded in a vector attribute at each vertex? If the contact "lines" are really part of the data then you can probably use a Tube filter which scales its size (radius) with a scalar value.</div>
<div><br></div><div>If the "lines" are only included as vector data on the points then it might be more challenging since the Glyph filter scales in all three directions equally according to your vector or scalar magnitude (except in vector_components mode). At one point I made a modified version of the vtkGlyph3D filter as a ParaView plugin which would only scale the glyph in the direction of the vector (with a constant scaling in the other two directions) -- it sounds like you would need the opposite: a glyph that scaled a constant amount in the direction of the vector and variable according to scalar/vector in the other two directions.</div>
<div><br></div><div>Another possibility might be to use color instead of line/tube thickness...</div><div><br></div><div>Would you be able to post a sample of your data (vtp file) someplace so some of us could play with possibilities?</div>
<div><br></div><div>Talk to you later,</div><div>-Eric</div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On Dec 29, 2010, at 8:50 PM, William Oquendo wrote:</div><br></div></div><blockquote type="cite">
<div><div></div><div class="h5"><font color="#000000"><font face="arial,helvetica,sans-serif">Dear all,<br>I am performing Discrete Element Simulations of granular materials. I have successfully employed Paraview to visualize the grains and to filter by its scalar and vectorial data, printing to vtk xml vtp files. Now, I would like to use Paraview to explore the connectivity structure of the contacts, and, for instance, to be able to scale/color/etc by normal force magnitude and so on. I would like to know what is the best way to represent the contacts among particles. In principle, they are "lines" that goes from the center of one particle to the other. Its "width" could be proportional to some scalar value, like the normal force<b></b> magnitude. <br>
<br>I tried to use lines, and in order to scale to use a glyph. Unfortunately, the glyphs are applied to the points of the line. Should I use just points and apply a cylinder glyph on them? how can I "orient" the glyph to point from center to center? the normal vectors attribute is useful for that?<br>
<br>Thanks for your kind attention, time, and help.<br clear="all"></font></font><br>Best regards / Cordialmente,<br><br>--<br>William Oquendo<br>Phd Candidate<br>Simulation Of Physical Systems Group<br>Universidad Nacional de Colombia<br>
Linux User # 321481<br>*********************<br>Este correo puede carecer de tildes o eñes ya que el teclado no contiene estos caracteres. Presento excusas por eso. <br><br>*********************<br><br></div></div>
_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div></div></blockquote></div><br></div>