vtk中对0PolyData进行平滑处理

这里写图片描述

方法:

  if (flat)
  {
    actor->GetProperty()->SetInterpolationToFlat();//上
  }
  else
  {
    actor->GetProperty()->SetInterpolationToGouraud();//下
  }

猜你喜欢

转载自blog.csdn.net/yuxing55555/article/details/80539263