stl 原图
vtkFeatureEdges
vtkNew<vtkFeatureEdges> featureEdges; featureEdges->SetInputData(mStlPolyData); featureEdges->BoundaryEdgesOn(); featureEdges->FeatureEdgesOn(); featureEdges->ManifoldEdgesOff(); featureEdges->NonManifoldEdgesOff(); featureEdges->ColoringOn(); featureEdges->Update();
vtkExtractEdges
vtkNew<vtkExtractEdges> extractEdges; extractEdges->SetInputData(mStlPolyData); extractEdges->Update();