<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>In the Properties panel for the glyph filter, there should be an entry title &quot;Vectors&quot;. &nbsp;Select the vector field you want to glyph by (in your case, velocity). &nbsp;If velocity is not listed there, it means your data does not have a velocity point field.</div>
</div>
</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, January 8, 2013 9:25 AM<br>
<span style="font-weight:bold">To: </span>Kenneth Moreland &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;, &quot;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] 2D contours on a slice for a 3D data<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello,
<div><br>
</div>
<div>applying Glyph to the output of the slice filter just gives me arrows depending on the scalar field on the slice (figure attached). This is not what I want. I want arrows representing the magnitude and director of the vector at each point on the slice
 of a velocity vector which exits in the 3D cube.&nbsp;</div>
<div><br>
</div>
<div>Thanks for the reply.</div>
<div><br>
</div>
<div><img height="540" width="844" apple-width="yes" apple-height="yes" id="a4069703-e5d0-4646-985b-945adcaac2ad" src="cid:3927B622-B2CB-4943-BA9B-5D95134FC99E"></div>
<div><br>
</div>
<div><br>
<div>
<div>Le 9 janv. 2013 à 00:08, &quot;Moreland, Kenneth&quot; &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt; a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>Try applying the glyph filter to the output of the slice filter.</div>
<div><br>
</div>
<div>-Ken</div>
<div>
<div><br>
</div>
</div>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); ">
<span style="font-weight:bold">From: </span>Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, January 8, 2013 1:03 AM<br>
<span style="font-weight:bold">To: </span>Kenneth Moreland &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;, &quot;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] 2D contours on a slice for a 3D data<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;" type="cite">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello,
<div><br>
</div>
<div>I have a follow up question on similar lines.&nbsp;</div>
<div><br>
</div>
<div>In the 3D cube that I have, I have a velocity vector data. Is it possible that I can show the vector field coming out of the sliced plane? i.e. at each point of the sliced plane, an arrow&nbsp;coming out of the sliced plane&nbsp;representing the magnitude and direction
 of the velocity vector at the particular point on the plane. Something like the attached image.</div>
<div>&nbsp;</div>
<div>I hope I made myself clear. &nbsp;</div>
<div>Thanks in advance,</div>
<div>Pradeep</div>
<div><br>
</div>
<div><br>
</div>
<div><span>&lt;vector.png&gt;</span></div>
<div><br>
</div>
<div><br>
<div>
<div>Le 8 janv. 2013 à 10:06, Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt; a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hello,
<div><br>
</div>
<div>thanks everyone. It seems like it is working.</div>
<div><br>
</div>
<div>Pradeep</div>
<div><br>
<div>
<div>Le 8 janv. 2013 à 02:58, &quot;Moreland, Kenneth&quot; &lt;<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>&gt; a écrit :</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>I'd like to expand upon on Sebastian's correct but short answer.</div>
</div>
</div>
<div><br>
</div>
<div>The contour filter is not going to give you the contours that you are asking for. &nbsp;The contour filter is going to extract the geometry representing exactly the locations of the contours and nothing else. &nbsp;As such, if you contour a slice through your data
 (or somewhat equivalently take a slice through your contour), you will get a bunch of lines representing where in the plane the field equals the isovalue you gave. So rather than getting a plane of colors as in your second example, you get the lines at the
 interface between colors.</div>
<div><br>
</div>
<div>The representation of contours you are asking for is a bit different. &nbsp;You want the entire geometry of the plane drawn and colored in such a way that the contours are represented as sharp transitions in the colors. &nbsp;Since you are never actually extracting
 the geometry of the contours themselves, running the contour filter is not appropriate for this. &nbsp;Instead, as Sebastian said, you want to make a slice through the data and provide a coloring that represents the contours. &nbsp;To set up these colors, first make
 sure the slice is colored by the scaler value you want contours of. &nbsp;Then click the edit color map button to pull up the color scale editor. &nbsp;Click on the &quot;Use Discrete Colors&quot; option (you will need to turn on the &quot;advanced&quot; properties if you are using the
 most recent version of ParaView) and then set the resolution to be set to the number of color bands you want.</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); ">
<span style="font-weight:bold">From: </span>Sebastien Jourdain &lt;<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, January 7, 2013 6:53 AM<br>
<span style="font-weight:bold">To: </span>Pradeep Jha &lt;<a href="mailto:pradeep.kumar.jha@gmail.com">pradeep.kumar.jha@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&quot; &lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] Re: [Paraview] 2D contours on a slice for a 3D data<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;" type="cite">
<div>
<div>
<div dir="ltr">It seems that you just want to slice your data and eventually reduce the number of color in your lookup table so you see distinct color bands.
<div><br>
</div>
<div style="">Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Sun, Jan 6, 2013 at 10:16 PM, Pradeep Jha <span dir="ltr">
&lt;<a href="mailto:pradeep.kumar.jha@gmail.com" target="_blank">pradeep.kumar.jha@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" type="cite">
<div style="word-wrap:break-word">Hello,
<div><br>
</div>
<div>I have a 3D data (the geometry is a simple cube). I am interested in looking at the 2D contour plots of a variable on a sliced plane. &nbsp;Below I have attached two figures. The first figure shows the slice. It only shows the cross-section of the iso-surfaces
 of the variable I loaded in 3D. I am interested in getting a contour plot, like the 2nd figure (I got this image randomly from the net), of the variable values on the slice.&nbsp;</div>
<div><br>
</div>
<div>I hope I made myself clear :) Any ideas how I can do it?</div>
<div>Thank you,</div>
<div>Pradeep</div>
<div><br>
</div>
<div><span>&lt;Slice.png&gt;</span></div>
<div><br>
</div>
<div><span>&lt;contour.jpg&gt;</span></div>
</div>
<br>
_______________________________________________<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>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span></div>
<span>&lt;contour.jpg&gt;</span><span>&lt;Slice.png&gt;</span></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span></div>
<span>&lt;vector.png&gt;</span></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>