[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtkusers
Subject:    Re: [vtkusers] Hi!
From:       David Gobbi <david.gobbi () gmail ! com>
Date:       2011-09-29 2:30:35
Message-ID: CANwS1=FWfAeVfY=6zpVFcYt+PKbNkDzkq2kp=jr90c_qLk+b2A () mail ! gmail ! com
[Download RAW message or body]

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@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.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic