Color gradient on vtkLine

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Color gradient on vtkLine

"Michel Mürner"
At the moment I use vtkLine which is added to the vtkPolyData then on the polyData the color is set using "polyData->GetCellData()->SetScalars(colors);". This works fine if I want to set a single color per line. Is there a way to set a color gradient for each line?

Powered by

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Search the list archives at:

Follow this link to subscribe/unsubscribe: