<div>David,</div><div><br></div><div>That's precisely what I was missing!</div><div> </div><div>You solve my problem, thank you very much. </div><div><br></div><div>Best regards</div><br clear="all">Matheus Brasileiro<br>
<br><br><div class="gmail_quote">2011/12/7 David Doria <span dir="ltr"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="HOEnZb"><div class="h5">On Wed, Dec 7, 2011 at 7:47 AM, Matheus Brasileiro<br>
<<a href="mailto:matheus.brasileiro@gmail.com">matheus.brasileiro@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm using vtkBoxWidget with vtkPlanes as implicit function to select a part<br>
> of a 3D model.<br>
> And i'm doing that very similar as we can find in the examples given.<br>
> It uses vtkClipPolydata then vtkPolydataMapper and creates a new actor that<br>
> represents the selection.<br>
> Ok ... that is working fine, but with this new actor created I'm can not<br>
> change color property. Its aways show in blue color and I can't figure out<br>
> why, since I can change another properties such as visibility an<br>
> opacity. I've tried all color properties in vtkProperty from the new actor.<br>
><br>
> I run the examples in tcl and it works, the color of the new actor created<br>
> can be changed.<br>
><br>
> I'm implementing the code in C++.<br>
><br>
> Any clues? Have anyone been through it?<br>
><br>
> Thanks all<br>
><br>
> Matheus Brasileiro<br>
<br>
</div></div>Try mapper->ScalarVisibilityOff ()<br>
<span class="HOEnZb"><font color="#888888"><br>
David<br>
</font></span></blockquote></div><br>