0
Comment obtenir orgin et normal, à partir d'un widget de plan, et le donner à vktPlane? Mon code ne fonctionne vraiment pas.Comment obtenir orgin et normal pour un avion, à partir de PlaneWidget
planeWidget = vtk.vtkImagePlaneWidget()
planeWidget.SetInputData(reader.GetOutput())
planeWidget.SetSliceIndex(reader.GetOutput().GetDimensions()[2]/2)
clippingPlane=vtk.vtkPlane()
clippingPLane.SetOrigin(planeWidget.GetSelectedPlaneProperty())