Do you mean make the initial default view larger (when you invoke ResetCamera()) ? ResetCamera by default adjusts the zoom level / parallel scale such that the whole image fits within the Y size of the viewport in any possible orientation. In other words, it adjusts the zoom such that the Y size of the viewport matches the diagonal length of the image. If you don't like this behaviour, write your own method to reset the camera.<br>
<br>--<br>karthik<br><br><div class="gmail_quote">On Sat, Apr 23, 2011 at 8:16 PM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="width: 100%;"> <p>Dear Users,</p>
<p> </p>
<p>I am using vtkImageViewer2 to display DICOM images. How can I let the visulized image look larger than default?</p>
<p> </p>
<p>Thank you.</p>
<p>Yang</p> </div><table style="width: 100%;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: Gulim; font-size: 12px;"><div><p>Ergonomic Design Technology Lab<br></p><p>Dept. of Industrial and Management Engineering<br>
</p><p>Pohang Univ. of Science and Technology<br></p><p>South Korea<br></p><p>Tel: 82-54-279-8246<br></p><p>HP: 82-10-9794-0110<br></p></div>
</td><td width="15"></td></tr></tbody></table>
<img src="http://mail.postech.ac.kr/mail/PutAck.jsp?ack_args=c2VudF9maWxlPXl4cDIzM0Bwb3N0ZWNoLmFjLmtyLy5TZW50LzEzMDM1Njk5NjYxNDYuNzAxODUucG9zdGVjaCZzZW5kX2RhdGU9MjAxMTA0MjMyMzQ2MDYmc3ViamVjdD1JbWFnZXZpZXdlcjI=&to_email=vtkusers@vtk.org______________________________________________________________________________________________________________________________________" width="1" border="0" height="1">
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>