Hi
I Trying To Rotate VtkImagePlanWidget With VtkLineWidget
I Create VtkImage Plan Widget And Vtk Line Widget
And Set Event On Vtk Line Widget
vtkPlaneSource ps = vtkPlaneSource.SafeDownCast(planeWidget.GetPolyDataAlgorithm());
ps.SetNormal(Point2[0] - Point1[0] , Point2[1] - Point1[1] , Point2[2] - Point1[2] );
ps.SetCenter(Point1[0], Point1[1], Point1[2]);
planeWidget.UpdatePlacement();
I Get Plan Source And Set Normal And Set Center
Point 1 its center
but plan its vertical on Line but I need Plan On Line Set
I Rotating Plan Line White with Green Line Widget And Plan Its Vertical On Green Line
I need any Data About Set Origin And Set Normal And Set Center And Best Way To Use This Method
in My Problem.
I would appreciate any help you can give me