[vtkusers] Filling space inside a 2-D surface

Bill Lorensen wlorens1 at nycap.rr.com
Mon May 6 18:33:53 EDT 2002


You can set the ambient coefficient to 1.0 and the diffuse coefficient to 0 for the actor's property.

At 02:50 PM 5/6/02 -0400, Michael Györffy wrote:
>Hi!
>I'd like a little advice; I'm new to programming and to vtk and could use
>some help. I've generated an array of ellipsoids as polydata. I'm
>clipping these with the vtkCamera by adjusting the clipping range over
>which I take
>the pictures. These are then saved using the windowtoimagefilter and a
>writer. This, very effectively sections up the volume I'm interested in
>however the cut surfaces of these ellipsoids appear as ellipses in the
>sections.
>I'd like to either cap the cut surface, or to recognize the closed
>surfaces and fill them in.
>I know its possible, but I'm not up to speed on the jargon nor do I
>understand the theory behind all the space filling functions to do it
>effectively.
>Also, how do I turn the shading off in a rendered window? I'd like the
>surface to be flat.
>Your help is very much appreciated!
>Thanks,
>Mike
>
>_______________________________________________
>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