Hi all, <div><br></div><div>I would like know whether there is some way, how to configure mapper to use active /mapped_class::SetActiveScalars/ or actual array /set by vtkMapper::SetInputArrayToProcess/ input&#39;s scalar range automatically. </div>








<div><br></div><div>I know  <span style="background-color:rgb(226,232,242);color:rgb(37,53,85);font-family:&#39;Lucida Grande&#39;,Verdana,Geneva,Arial,sans-serif;font-size:14px;font-weight:bold;line-height:11px">vtkMapper::SetScalarRange  </span>function but for great part of mapping I think that scalar range could be obtained automatically from mapped active/actual array scalar range.</div>
<div>Currently I see only one case when scalar range could be preset via this function and this is , when user really want to manually change the range. (Perhaps there are other cases?) </div><div> </div><div>In great part of examples on wiki, I saw that user had manually update pipeline  to get the scalar range in order to preset it into mapper, furthemore he need it to make all the time when pipeline changes.</div>
<div>For example when reader&#39;s input is updated. </div><div>For example if I create simple pipeline : read object -&gt; compute curvature -&gt; map curvature into HSV via mapper  and run it via script /tcl, python / , if I will change input object, I would need again set mapper scalar range to min and max curvature value manually using interpreter. </div>
<div><br></div><div>I would like ask, whether there is some way how to configure automatically scalar ranges  or I need wrap all such code into own algorithm ( where I will ensure manually update inside RequestData) ?</div>
<div><br></div><div>Thanks </div><div><br></div><div>Jana </div><div><br></div><div><br></div><div><br></div>