I want to extract the vertex coordinates of a polygon of the model (blue) in the current slice…
You might be able to get the slice intersection actor from the model slice displayable manager, but most probably you need to use a VTK plane cut filter and set the slice as input cut plane and the model’s polydata as input polydata.
Note that center of gravity of the circumference points is not the same as the center of gravity of the cross-section of the object.
Prof.Lassoan, okay. . . I came up with a clumsy solution:
However, there is a problem with this solution: the distance between the extracted points is not uniform. . . Who has a better solution?
Such As Weighted when calculating the average?