<div dir="ltr">WHat is the type of scalar array? If it's not an unsigned char array with 3 or 4 components, VTK will use a lookuptable to map the scalar to colors.<div><br></div><div>Utkarsh</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 8:52 AM, 庞庆源 <span dir="ltr"><<a href="mailto:pangqingyuan1991@gmail.com" target="_blank">pangqingyuan1991@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br clear="all"><div>I write a simple reader,inheriting from vtkPolyDataAlgorithm.But SetScalars() cannot color the plane.When I test it use general vtk polydata->mapper->actor->renderer->renderwindow,I can see different color at different point.Does someone know the reason?Thank you.</div>
<span class="HOEnZb"><font color="#888888">
-- <br><font face="arial, helvetica, sans-serif" size="6" color="#33ff33"><a href="mailto:pangqingyuan1991@gmail.com" target="_blank">庞庆源<span></span><span></span></a></font>
</font></span></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>