[vtkusers] how can I change the color when using surface rendering
Bill Lorensen
bill.lorensen at gmail.com
Sun Dec 29 10:41:54 EST 2013
On your mapper apply
ScalarVisibilityOff()
On Sun, Dec 29, 2013 at 9:23 AM, zhq <15891495523 at 126.com> wrote:
> Dear all :
> I don't know how to change the color when using surface rendering
>
> Firstly , I use dicom read to get the data , and get the surface
> through marching cube . then display the
>
> data with mapper , actor , renderer ...
>
> The color of result is blue , I want to change the color to gold .
>
> What I have tried is :
>
> actor->GetProperty()->SetColor(0,1,0);
>
> but nothing happened , the color is still blue .
>
> What can I do ?
>
> Thanks in advance !
>
> zhq
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/how-can-I-change-the-color-when-using-surface-rendering-tp5725161.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
--
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list