[vtkusers] Hi!

David Gobbi david.gobbi at gmail.com
Wed Sep 28 22:30:35 EDT 2011


This is because vtkContourFilter produces scalars, and then VTK
uses the scalars to color the actor instead of using the property.
To color the data the usual way, you can do this:

mapper->ScalarVisibilityOff();

 - David


On Wed, Sep 28, 2011 at 8:02 PM, scofield zhu <scofieldzhu.zcg at gmail.com> wrote:
> Hello, everybody!
>         I am a new member and very nice to  be here today!
>         however, i meet a problem about using a vtk class called:
> vtkContourFilter
>         It's weird that when vtk pipe line is inserted this filter,
> the final actor color can't be changed.



More information about the vtkusers mailing list