[vtkusers] Color of extracted points

David Gobbi david.gobbi at gmail.com
Tue Feb 16 10:31:33 EST 2010


On Tue, Feb 16, 2010 at 8:23 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
> Once I use vtkSelectEnclosedPoints and vtkThresholdPoints to get the
> points inside of a surface, the color of the actor no longer behaves
> properly. In the following code, no matter what you set:
>
> enclosedActor->GetProperty()->SetColor(0.0, 1.0, 0.0);
>
> the points are displayed black. Any thoughts on why this might be?

Try mapper->ScalarVisibilityOff();

   David G



More information about the vtkusers mailing list