[vtkusers] VTK7.1: render points as spheres does not work when coloring by cell data

lp lotterluke at gmail.com
Wed Nov 9 14:20:40 EST 2016


I am playing around with the new feature in vtk7.1 to render edges and
vertices as tubes and spheres (as described in

This is a very nice feature, but I have found one issue: When the mapper is
set to color by cellData (mapper->SetScalarModeToUseCellData()), only the
edges are shown as tubes but the spheres at the vertices are not rendered.
For SetScalarModeToUsePointData it works as expected (both, tubes and
spheres are rendered). 

So my question: Is it possible to show the vertex spheres, when coloring by

Example code (based on VTK Sphere example) attached. 


Sphere.cxx <http://vtk.1045678.n5.nabble.com/file/n5741121/Sphere.cxx>  

View this message in context: http://vtk.1045678.n5.nabble.com/VTK7-1-render-points-as-spheres-does-not-work-when-coloring-by-cell-data-tp5741121.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list