[vtkusers] remove inside edges of a subplane

Alle Meije Wink alle_meije at yahoo.co.uk
Wed Mar 22 17:45:20 EST 2006


Hello,

I am trying to sample the part of a plane in a volume (brain) data set
that is inside an isosurface (the outer brain surface). The idea is to
see the volume's scalar data sampled on this specific plane. I have made
the surface patch (the subplane) with vtkCutter, vtkStripper,
vtkImplicitSelectionLoop and vtkClipPolyData.

This idea should work according to the documentation of all these
methods :). The result is not what I had in mind though:
http://www.wbic.cam.ac.uk/~amw71/SurfaceCut3.png.

The problem I guess (?) is that the points used for the selection loop
are the points that make up the (triangles of the) clipped surface. The
points probably don't follow a loop, because order of the points is
determined by the triangles that make up the surface:
http://www.wbic.cam.ac.uk/~amw71/triangleplane.png

Is there a way to remove the inside edges so as to only keep the outer
contour(s), and/or to order the contour edges so that they form a loop?
One candidate I can think of is vtkFeatureEdges, but this still does not
returns the vertices as a loop.

Thanks,
Alle Meije Wink

		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



More information about the vtkusers mailing list