<div dir="auto">Can you describe what you expect to see?</div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 16, 2017 10:05 AM, "Tharun" <<a href="mailto:tharun160190@gmail.com">tharun160190@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks for the heads up.<br><br></div>But i haveĀ  0 ~ many points in each triangle (cell) not just one and a scalar is associated with each point.<br><br></div>Really appreciate the follow up.<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-8189810438078585567gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Regards,<br>P Tharun Kumar<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Feb 16, 2017 at 11:50 PM, Cory Quammen-2 [via VTK] <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=5742209&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br><blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">

        I see, thanks for the explanation. In VTK, we call that kind of data
<br>cell-associated data, or just cell data.
<br><br>In the vtkMapper you use, you'll want to call
<br><br>mapper->SetScalarModeToUseCell<wbr>Data();
<br><br>It may be helpful to consult this example:
<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/AssignColorsFromLUT" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK/Ex<wbr>amples/Cxx/Visualization/Assig<wbr>nColorsFromLUT</a><br><br>- Cory
<br><span><br>On Thu, Feb 16, 2017 at 9:40 AM, Tharun <<a href="http:///user/SendEmail.jtp?type=node&node=5742208&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</span><div class="m_-8189810438078585567m_7528211085156079824shrinkable-quote"><span><div class="m_-8189810438078585567shrinkable-quote"><br>> sorry for not being clear.
<br>>
<br>> The polydata consists of triangles. I mean those points are inside triangles
<br>> of mesh not the vertices of triangles.
<br>>
<br>> Hope I am clear.
<br>>
<br>> Regards,
<br>> P Tharun Kumar
<br>>
</div></span>> On Thu, Feb 16, 2017 at 11:04 PM, Cory Quammen-2 [via VTK] <[hidden email]>
<br><div><div class="m_-8189810438078585567h5">> wrote:
<div class="m_-8189810438078585567shrinkable-quote"><br>>>
<br>>> Okay, I'm curious. What is the difference between points on the mesh
<br>>> and vertices?
<br>>>
<br>>> On Wed, Feb 15, 2017 at 9:28 PM, Tharun <[hidden email]> wrote:
<br>>>
<br>>> > Thank you for the prompt reply.
<br>>> >
<br>>> > Unfortunately no. I have scalar values associated with points(not
<br>>> > vertices)
<br>>> > on the mesh. Where as in your example, color or scalar value is
<br>>> > associated
<br>>> > with vertices.
<br>>> >
<br>>> >
<br>>> >
<br>>> > --
<br>>> > View this message in context:
<br>>> > <a href="http://vtk.1045678.n5.nabble.com/Color-actor-based-on-scalars-of-points-on-mesh-not-vertices-tp5742197p5742199.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/Color-actor-based-on-scalar<wbr>s-of-points-on-mesh-not-vertic<wbr>es-tp5742197p5742199.html</a><br>>> > Sent from the VTK - Users mailing list archive at Nabble.com.
<br>>> > ______________________________<wbr>_________________
<br>>>
<br>>> > Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
<br>>> >
<br>>> > Visit other Kitware open-source projects at
<br>>> > <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>>> >
<br>>> > Please keep messages on-topic and check the VTK FAQ at:
<br>>> > <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>>> >
<br>>> > Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>>> >
<br>>> > Follow this link to subscribe/unsubscribe:
<br>>> > <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>>
<br>>
<br>>
<br>> --
<br>> Cory Quammen
<br>> Staff R&D Engineer
<br>> Kitware, Inc.
<br>> ______________________________<wbr>_________________
<br>> Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
<br>>
<br>> Visit other Kitware open-source projects at
<br>> <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>>
<br>> Please keep messages on-topic and check the VTK FAQ at:
<br>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>>
<br>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>>
<br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>>
<br>>
<br>> ______________________________<wbr>__
<br>> If you reply to this email, your message will be added to the discussion
<br>> below:
<br>> <a href="http://vtk.1045678.n5.nabble.com/Color-actor-based-on-scalars-of-points-on-mesh-not-vertices-tp5742197p5742205.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/Color-actor-based-on-scalar<wbr>s-of-points-on-mesh-not-vertic<wbr>es-tp5742197p5742205.html</a><br>> To unsubscribe from Color actor based on scalars of points on mesh (not
<br>> vertices), click here.
<br>> NAML
<br>>
<br>>
</div></div></div>> ______________________________<wbr>__
<br>> View this message in context: Re: Color actor based on scalars of points on
<br>> mesh (not vertices)
<br>>
<br><span>> Sent from the VTK - Users mailing list archive at Nabble.com.
<div class="m_-8189810438078585567shrinkable-quote"><br>>
<br>> ______________________________<wbr>_________________
<br>> Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
<br>>
<br>> Visit other Kitware open-source projects at
<br>> <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>>
<br>> Please keep messages on-topic and check the VTK FAQ at:
<br>> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>>
<br>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>>
<br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>>
</div></span></div><span></span></blockquote></div><br><br>-- 
<br>Cory Quammen
<br>Staff R&D Engineer
<br>Kitware, Inc.
<br>______________________________<wbr>_________________
<br>Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensou<wbr>rce/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" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>

        
        
        
        <br>
        <br>
        <hr size="1" noshade color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </span><a href="http://vtk.1045678.n5.nabble.com/Color-actor-based-on-scalars-of-points-on-mesh-not-vertices-tp5742197p5742208.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/Color-actor-based-on-scalar<wbr>s-of-points-on-mesh-not-vertic<wbr>es-tp5742197p5742208.html</a>
        </div><div class="m_-8189810438078585567HOEnZb"><div class="m_-8189810438078585567h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Color actor based on scalars of points on mesh (not vertices), <a rel="nofollow" link="external">click here</a>.<br>
                <a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></div><br>


        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Color-actor-based-on-scalars-of-points-on-mesh-not-vertices-tp5742197p5742209.html" target="_blank">Re: Color actor based on scalars of points on mesh (not vertices)</a><br>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank">VTK - Users mailing list archive</a> at Nabble.com.<br><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div></div>