Hello,<br><br>I am using vtkBoxWidget2 on Slicer 3.6. <br>I would like to know if it's possible to disable scaling on one direction (for example, keep scaling on x,y but not on z).<br><br>Or maybe disable the handle.<br>
<br>My problem is, I am setting the height of the vtkBoxWidget2 with a slider. When the slider increment, the actual height of the box is doubled.<br>The slider and the box are kind of synchronized.<br><br>But if the user manually (on the 3D view) change the height of the vtkBoxWidget2, the slider is not updated, and so they are not synchronized anymore.<br>
<br>That's why I would like to prevent the user to scale on z direction.<br><br>I know there is a flag set with ScalingDisabled(), but this is disabling on all directions. And I didn't found where is flag is used to lock the scaling.<br>
<br>Does someone have an idea ?<br><br>Thank you.<br>-Laurent<br clear="all"><br>-- <br><div>Laurent Chauvin, MS</div><div>Surgical Navigation and Robotics Laboratory, Radiology</div><div>Brigham And Women's Hospital, Harvard Medical School<br>
</div><div><a href="http://wiki.ncigt.org/index.php/User:Lchauvin" target="_blank">http://wiki.ncigt.org/index.php/User:Lchauvin</a></div><br>