vtk中计算线段与vtkPolyData的交点 及 相交的cell(vtkOBBTree,vtkModifiedBSPTree)
效果图:1.判断交点关键代码://CreatethelocatorvtkSmartPointertree=vtkSmartPointer::New();tree->SetDataSet(sphereSource->GetOutput());tree->BuildLocator();//IntersectthelocatorwiththelinedoublelineP0[3]={0.0,0.0,0.