Amy,<div><br class="webkit-block-placeholder"></div><div>I agree. Please commit the additional lines in the constructor. Looks like the properties are being set at the time the very first time the widget is being interacted with.</div>
<div><br class="webkit-block-placeholder"></div><div>Thanks</div><div>--</div><div>karthik<br><br><div><span class="gmail_quote">On 3/20/08, <b class="gmail_sendername">Amy Squillacote</b> <<a href="mailto:ahs@cfdrc.com">ahs@cfdrc.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br> <br> In an application I'm working on, I'm using some of the widgets that use<br> the widget/representation framework. I want to change some of the values<br> in the non-selected vtkProperty's (e.g., change the color in the<br>
 OutlineProperty of vtkImplicitPlaneRepresentation) and have these values<br> take effect when the widget is enabled. At the moment, this doesn't work<br> because the OutlineProperty (or SelectedOutlineProperty) is only set on<br>
 the OutlineActor when the state of the widget changes. (You can call<br> SetRepresentationState to some non-0 value and then back to 0 to force<br> the behavior I'm looking for, but this seems very hackish.) Does anyone<br>
 know why the non-selected properties are not set on their associated<br> actors in the constructor?<br> <br> In the constructor, after the call to CreateDefaultProperties, I would<br> like to add code to set the non-selected properties (NormalProperty,<br>
 PlaneProperty, and OutlineProperty) on the corresponding actors. Does<br> anyone see a problem with this?<br> <br> - Amy<br> <br> --<br> Amy Squillacote                    Phone: (256) 726-4839<br> Computer Scientist                 Fax: (256) 726-4806<br>
 CFD Research Corporation           Web: <a href="http://www.cfdrc.com">http://www.cfdrc.com</a><br> 215 Wynn Drive, Suite 501<br> Huntsville, AL  35805<br> <br> <br> _______________________________________________<br> vtk-developers mailing list<br>
 <a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a></blockquote></div></div>