[vtkusers] capping surfaces

Will Schroeder will.schroeder at kitware.com
Fri Jan 19 07:25:20 EST 2001


Hi Luis-

I'm guessing that the holes occur where the surface hits the boundary of 
your data. To fix this you can "cap" the holes by setting the scalar values 
on the boundary to a to a different value. You can either do this to the 
existing data, or (I'm assuming that it's a volume here) add x-y-z slices 
that extend the volume, and then set these artificial slices to the correct 
scalar value. (The correct value is either a very large negative or 
positive number depending on the nature of your data.)

Another way is to do something like the example capCow, which builds a 
"loop" and then passes it to vtkPolygon::Triangulate (oe Triangle filter). 
This is likely less robust.

Will

At 05:32 PM 1/18/2001 +0100, Luis Sainz Hermoso wrote:
>Dear vtkusers,
>         I have extracted some isosurfaces using MarchingCubes and they
>have some holes. Is there any way to cap this holes?
>
>         Thank you very much
>
>                 Luis Sainz
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list