[vtkusers] Help! scalar colors to RGB colors

-Daniel- ich_daniel at habmalnefrage.de
Wed Mar 5 07:07:11 EST 2014


Hi all,

can I change scalar colors to RGB colors?


//code snippet
..
polydata.GetPointData().SetScalars(colors);
polydata.Modified();

vtkPolyDataMapper mapper = new vtkPolyDataMapper();
mapper.SetInputData(polydata);
mapper.SetScalarModeToUsePointData();
mapper.ScalarVisibilityOn();
..
//end of code snippet

Maybe changes in the vtkPolydataMapper?


Any suggestions or hints? 







--
View this message in context: http://vtk.1045678.n5.nabble.com/Help-scalar-colors-to-RGB-colors-tp5726198.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list