Sam,<div><br></div><div>I feel I should go back an elaborate a little bit. My goal is to create an arbitrary data file that will represent a crack in a material. This crack will be modeled as a triangular mesh with the following data defined by the user:</div>
<div><br></div><div>Nodes (points)</div><div>Connectivities (polygons)</div><div>Crack Fronts (lines)</div><div>Node IDs (Point Data)</div><div>Cell IDs (Cell Data)</div><div>Cell Normals (Cell Data)</div><div>Crack Front Tangent, Binormal, and Normal Vectors (Line data? Point data? not sure how I am going to be able to go about doing this just yet).</div>
<div><br></div><div>Data for any crack (rectangular, a semi-cylindrical surface, etc.) should be able to be placed into this skeleton of a data file and the result should always appear as the same when opened with Paraview. </div>
<div><br></div><div>Currently I have the nodes, the connectivities, crack fronts, node IDs, and cell IDs figured out. My question currently is how I can have the cell normals to be defined in the data file such that I can open it in Paraview, apply a glyph (arrow) filter and the cell normals appear. Note that each cell normal is unique and may be in the +z- direction while the adjacent cell may be -z-direction. </div>
<div><br></div><div>I hope this elaboration helps as I was rushed before in my description of what I was trying to accomplish.</div><div><br></div><div>Let me know if you have any further questions.</div><div><br></div><div>
Best,</div><div>Dan Levitus</div><div><br></div><div><br></div><div>--<br><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Daniel Levitus<br>University of Illinois Champaign-Urbana</span></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div>B.S Civil Engineering 2013<br></div>American Society of Civil Engineers | Treasurer<br><a href="mailto:daniel.levitus@gmail.com" style="color:rgb(6,88,181)" target="_blank">daniel.levitus@gmail.com</a> | <a value="+18472202503" style="color:rgb(6,88,181)">847-220-2503</a></span></div>
<br>
<br><br><div class="gmail_quote">On Thu, Nov 15, 2012 at 10:48 AM, Daniel Levitus <span dir="ltr"><<a href="mailto:daniel.levitus@gmail.com" target="_blank">daniel.levitus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sam,<div><br></div><div>While that would work, my goal is to maintain 1 data file. The two files I attached are the same except one has lines and one doesn't. I only included both so it wouldn't be necessary for you to delete the code yourself. Eventually, there is more I would like to include in this file (node numbering, cell numbering, tangent and normal vectors on the lines(the lines are meant to represent crack fronts). </div>
<div><br></div><div>Does this help? </div><div><br></div><div>Best,</div><div>Dan</div><div><br></div><div><div class="im"><br clear="all">--<br><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Daniel Levitus<br>
University of Illinois Champaign-Urbana</span></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><div>B.S Civil Engineering 2013<br></div>American Society of Civil Engineers | Treasurer<br>
<a href="mailto:daniel.levitus@gmail.com" style="color:rgb(6,88,181)" target="_blank">daniel.levitus@gmail.com</a> | <a value="+18472202503" style="color:rgb(6,88,181)">847-220-2503</a></span></div><br>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Thu, Nov 15, 2012 at 10:34 AM, Samuel Key <span dir="ltr"><<a href="mailto:samuelkey@bresnan.net" target="_blank">samuelkey@bresnan.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Dan,<br>
<br>
Your question is not entirely clear to me. Possibly the simplest way
is to use two separate *.vtk files, one that only has the lines and
the other that only has the "Rect's." ParaView will read both files
and display the results either overlaid or in two separate views.
You can then apply the 3d-arrow normal glyph filter (and other
filters as well) to each file separately.<br>
<br>
Hope this helps,<br>
<br>
Sam Key<br>
FMA Development. LLC<div><div><br>
<br>
<br>
<div>On 11/15/2012 12:06 AM, Daniel Levitus
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>Hello,<br>
<div class="gmail_quote">
<div><br>
</div>
<div>I am trying to get Paraview to represent the cell normals
through 3d-arrow normal glyph filter for the following file.
The cell normals should all appear in the +Z-Direction but the
lines I have included are causing certain normals to be
affected. If I remove these lines, the normals are represented
correctly. Is there a way I can include the lines in my data
file but not have them be an input for the normal glyph
filter? I have included a file with the lines and without the
lines. By using the default Normal Glyph filter in Paraview,
the arrows should be different. Thank you for your help</div>
<div><br>
</div>
<div>Best,</div>
<div>Dan Levitus</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>--<br>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Daniel
Levitus<br>
University of Illinois Champaign-Urbana</span></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">
<div>B.S Civil Engineering 2013<br>
</div>
American Society of Civil Engineers | Treasurer<br>
<a href="mailto:daniel.levitus@gmail.com" style="color:rgb(6,88,181)" target="_blank">daniel.levitus@gmail.com</a> | <a value="+18472202503" style="color:rgb(6,88,181)">847-220-2503</a></span></div>
<br>
</div>
</div>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
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>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>