vtkActor不能修改颜色

    根据参考资料[1]的提示,设置vtkPolyDataMapper即可:

polyDataMapper->ScalarVisibilityOff();

参考资料

[1]Can't modify the color of the actor even with 'SetColor' fucntion

你可能感兴趣的:(vtkActor不能修改颜色)