<div dir="ltr">Dear David,<br>I appreciate your kind responses ...<br><br>1. Attached a clearer image represents two colored arrows:<br><br>first (white) from the .vtp file which visualized by 3dGlyphs and second (pink) represents what I&#39;m searching for: the orthogonal arrows - which have been achieved by the filter in para-view: normal glyphs.<br>
<br>which arrow (white or pink) is achieved by this command?<br>m_normalGenerator-&gt;GetOutput()-&gt;GetPointData()-&gt;GetNormals()-&gt;GetTupleValue(idx,arr);<br><br>2. The cellData&#39;s normal is calculated due to an &#39;average surface&#39; in an area (cell)? any further details about this cell (how does it look like etc)? <br>
<br><br><div class="gmail_quote">On Tue, Mar 13, 2012 at 2:07 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@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">
<div class="im">&gt; questions:<br>
&gt; -------------<br>
&gt; 1. why the following window of vtk appears with this massage ?<br>
&gt;       &quot;vtkFieldData::GetComponent was deprecated for vtk 5.2 and will be<br>
&gt; removed &quot;<br>
<br>
</div>Why you are using GetComponent? You should probably use<br>
<br>
 double arr[3];<br>
 m_normalGenerator-&gt;GetOutput()-&gt;GetPointData()-&gt;GetNormals()-&gt;GetTupleValue(idx,<br>
arr);<br>
<br>
instead.<br>
<div class="im"><br>
&gt; 2. what&#39;s the difference between calculating cell/point normals?<br>
<br>
</div>If you compute point normals, a normal is produced at every point in<br>
the PointData. If you compute cell normals,  a normal is produced at<br>
every cell in the CellData.<br>
<div class="im"><br>
&gt; 3. regarding the vtkXMLPolyDataWriter:<br>
&gt;       - why the .vtp represents in 3d Glyphse arrows in the same direction<br>
&gt; as the surface and not in the orthogonal plane as supposed to be? (image<br>
&gt; attached)<br>
<br>
</div>Your screenshot does not include the relevant portion of the window to<br>
show us your settings. My bet is that you did not set the glyphs to<br>
use the normals.<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br></div>