[vtkusers] Imageviewer2

Karthik Krishnan karthik.krishnan at kitware.com
Sun Apr 24 00:52:11 EDT 2011


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.

--
karthik

On Sat, Apr 23, 2011 at 8:16 PM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

>  Dear Users,
>
>
>
> I am using vtkImageViewer2 to display DICOM images. How can I let the
> visulized image look larger than default?
>
>
>
> Thank you.
>
> Yang
>
> Ergonomic Design Technology Lab
>
> Dept. of Industrial and Management Engineering
>
> Pohang Univ. of Science and Technology
>
> South Korea
>
> Tel: 82-54-279-8246
>
> HP: 82-10-9794-0110
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110424/c72aedfc/attachment.htm>


More information about the vtkusers mailing list