<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 16, 2013 at 12:33 AM, Kahei Lok <span dir="ltr"><<a href="mailto:lokkahei.uniyccc4@gmail.com" target="_blank">lokkahei.uniyccc4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Dear VTK,</div>
<div> </div>
<div> I am using vtkResliceImageViewer to display DICOM image. There is a 2D cross-hair build in to intersect with the Image. At first, rotating the cross-hair will result reslice axis chnage. However, I would like to turn off the rotaton function. How can I do that?</div>
<div> </div> </blockquote><div><br></div><div>Make your own subclass of the vtkInteractorStyle you are using and disable the rotation in your style. Its pretty easy to do once you look at the code for the interactor styles.<br>
<br></div><div>John <br></div></div></div></div>