-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about set QInteractorStyleVesselSegmentation save to vtkPolygon #36
Comments
Hmm why is that? How did you find that out?
Get Outlook for iOS
On Fri, Dec 2, 2016 at 11:37 PM +0800, "wuzhuobin" <[email protected]> wrote:
save contour to close loop vtkPolygon instead of vtkPolyLine can have better performance in the fill polygon part
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
anyway, even though But it didn't works when there is one slice whose neighbor slice has not contour. it only works in the situation that all contours are successive. |
decide to use old method to fill with animation. wtf. |
dont use //spline->ClosedOn();l |
Yes, that's why my polygon draw check if there are overlapping points before using it for InPolygon check.
You can reference to
_FillPolygon()_
function
|
anyway, now i using the vtkParametricSpline function for interpolating contour point, although the splines are not perfectly the same as the contour line which interpolate by vtkBezierContourLineInterpolator, but it is supposed enough for coarse filling. And it is extremely fast. 55 slices take about a few seconds in release. |
WOW, that's pretty amazing improvements! |
lol, leave it to user la |
save contour to close loop vtkPolygon instead of vtkPolyLine can have better performance in the fill polygon part
The text was updated successfully, but these errors were encountered: