<font color='black' size='2' face='arial'><font face="arial" color="black" size="2">

<div style="font-family:arial,helvetica;font-size:10pt;color:black">


<div id="AOLMsgPart_1_c72d3bd3-7f9a-4277-8f3c-594438698d99">

<font face="arial" color="black" size="2"><font face="arial" color="black" size="2"><font face="Arial, Helvetica, sans-serif">Hi All,<br>


<br>


I'd like to turn off the translation feature on vtkSplineWidget.&nbsp; This widget allow you to place a spline on a 2d surface and access either individual points on the line to change it's shape, or move the whole thing. I want the former but not the latter feature, since in my segmentation application our starting point is usually extremely close and we just want to adjust some of the finer points on the contour.<br>


<br>


Any ideas on this?<br>


<br>


I'm working in Python.<br>


I tried subclassing and accessing the protected member, </font></font><font size="2"><font face="Arial, Helvetica, sans-serif">LineActor and changing the dragable (SetDragable()) property, but I received an error message:<br>


AttributeError: LineActor<br>


I believe this is supported in C++, but perhaps the C++ to Python translation does not support this feature.<br>


So no help there.<br>


<br>


Also tried to overwrite the Translate() function, but the code did not execute my Translate function when I clicked on the line.<br>


<br>


None of the other public functions seem to allow the fine grained access to modify this functionality for this object.<br>


<br>


Thanks in advance for your suggestions.<br>


<br>


Regards, David<br>


</font></font></font>
</div>

 <!-- end of AOLMsgPart_1_c72d3bd3-7f9a-4277-8f3c-594438698d99 -->
</div>

</font></font>