Hi Jochen, thank you, it helped me with glyph. <div>But still for mappers, I need specify explicitly active scalar range regardless presetting scalar using  <span style>SetInputArrayToProcess.</span><div>If I will compute some value for one input, it will not be updated automatically  when I change the input.</div>
<div><div><div>I do understand that user can explicitly specify scalar range for mapping via lookup table, but range could be automatically obtain from input array to process scala range .</div><div>But I can not find way how to ensure it for mappers, perhaps it can not be configured like this... ?</div>
<div><br></div><div>Jana </div><div><div><br><br><div class="gmail_quote">On 7 June 2012 02:01, Jochen K. <span dir="ltr">&lt;<a href="mailto:jochen.kling@email.de" target="_blank">jochen.kling@email.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jana,<br>
<br>
with SetInputArrayToProcess you set what array is to be used for the<br>
scalars, vectors, normals, and color scalars.<br>
<br>
&quot;idx&quot; stands for:<br>
<br>
0 == scalars<br>
1 == vectors<br>
2 == normals<br>
3 == color scalars<br>
<br>
So if you want your array &quot;array1&quot; to specify the color, then idx must be 3<br>
and &quot;array1&quot; of type vtkCharArray (with one component). If you want your<br>
array to specify the point normals e.g, then idx must be 1 and &quot;array1&quot; of<br>
type vtkDouble (with three components).<br>
<br>
(I use SetInputArrayToProcess to tell my glyph3D object which array to use<br>
for orientation and for scaling.)<br>
<br>
Port and Connection I set to 0 always. What it stands for I can only assume<br>
at the moment but won&#39;t tell, because it might be wrong. ;-)<br>
<br>
<br>
Hope that helps a little bit.<br>
<br>
with best regards<br>
Jochen<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Visualise-all-point-arrays-of-polydata-problem-with-setting-and-changing-active-scalar-tp5713633p5713637.html" target="_blank">http://vtk.1045678.n5.nabble.com/Visualise-all-point-arrays-of-polydata-problem-with-setting-and-changing-active-scalar-tp5713633p5713637.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<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 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>
</blockquote></div><br></div></div></div></div></div>