[vtkusers] Change isosurface color

Will Schroeder will.schroeder at kitware.com
Thu Aug 21 17:53:20 EDT 2003


If there are scalars in the data then you have to use ScalarVisibilityOff() 
on the mapper. If on, the scalars color the object. If disabled with 
ScalarVisibilityOff(), then the actor controls the color.
Will

At 05:05 AM 8/23/2003 +0000, Xin Zhao wrote:
>Dear VTKall,
>
>         I want to change the isosurface color. The default color is blue.
>
>      I have used "volActor.GetProperty().SetColor(0,1,1);".
>      But it did not work.
>
>      Does anyone can help me.
>
>      Thanks!
>


William J. Schroeder, Ph.D.
Kitware, Inc.
469 Clifton Corporate Parkway
Clifton Park, NY 12065
will.schroeder at kitware.com
1-518-371-3971 x102 (phone)
1-518-371-3971 (fax)






More information about the vtkusers mailing list