[vtkusers] Cutting a cylinder
Sean Richards
sean at millwood.ca
Wed Dec 1 09:27:07 EST 2004
Hello all!
I am using vtkImplicitPlaneWidget to interactively slice a cylinder
(normal cylinder from vtkCylinderSource) in my scene.
The user places the widget wherever they want to cut the cylinder. At
this point they invoke an event and the cylinder actually gets cut into
2 pieces.
What I would like to know is how to 'close' the 2 halves of the
cylinder once they are cut.
The cylinder is hollow, so once you make the cut and seperate the
pieces, each new piece has a hole where the cut was made. Can any
please tell me how I could add polydata to close these holes?
Can vtkImplicitPlaneWidget tell you the shape of the hole it cut?
Any help would be greatly appreciated!
Sean
More information about the vtkusers
mailing list