[vtkusers] Erase surfaces

Javier Maicas Sebastian s011124 at student.dtu.dk
Mon Aug 26 05:36:53 EDT 2002


Hello vtkusers:

I am creating surfaces with marching cubes and I want to erase some of the
created surfaces. I am trying with drawing again the surface I do not want
but with the background color, but it does not work because the color of
the surface is not really the color of the background. The code I use is:

...
skin->GetProperty()->SetDiffuseColor(1, 1, 1);
...
outline->GetProperty()->SetColor(1,1,1);

How can I manage it?

Thanks

Javi





More information about the vtkusers mailing list