<div dir="ltr">Ahh OK I got it, that should definitely work. I'll take a look at it. Thanks! - Ken</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 10, 2016 at 3:10 PM, lp <span dir="ltr"><<a href="mailto:lotterluke@gmail.com" target="_blank">lotterluke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Ken,<br>
<br>
Thank you for your swift reply. Let me apologize for not being clear enough<br>
in my initial post. I will try to clarify.<br>
<br>
I do not want to color the vertices by cell data. I just want to turn on the<br>
tubes for the cell edges and the spheres for the vertices, while the cells<br>
are colored by values in a cell data array. Both cell edges and vertex<br>
spheres should just be colored by the constant color set with SetEdgeColor<br>
and SetVertexColor on the actor property.<br>
<br>
In the example that I send before, the sphere has a double array added to<br>
the cell data and set as the active scalar. The mapper is set to<br>
ScalarModeToUseCellData. On the property of the actor both<br>
RenderLinesAsTubesOn and RenderPointsAsSpheresOn are set. However, only the<br>
tubes are shown, the spheres for the vertices are not.<br>
<br>
If I comment out line 36<br>
<br>
sphereSource->GetOutput()-><wbr>GetCellData()-><wbr>SetActiveScalars("<wbr>doubleValues");<br>
<br>
then both tubes and vertex spheres are shown, but of course the cells are<br>
not colored by their data array.<br>
<br>
So, I wonder why is the rendering of the vertex spheres linked to the active<br>
scalar on the cell data? Is this expected behavior?<br>
<br>
The example was build with VTK7.1rc2.<br>
<br>
Regards,<br>
Lukas<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK7-1-render-points-as-spheres-does-not-work-when-coloring-by-cell-data-tp5741121p5741133.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK7-1-render-points-as-<wbr>spheres-does-not-work-when-<wbr>coloring-by-cell-data-<wbr>tp5741121p5741133.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>