[vtkusers] Zooming and adjusting ImageViewer
Shang Mu
smu.email at gmail.com
Wed Aug 9 12:32:23 EDT 2006
You can use vtkImageViewer::GetImageMapper() and
vtkImageMapper::SetRenderToRectangle().
I don't know if there's another way though.
----- Original Message -----
From: "Tomás Aguado Gómez" <taguado at gsyc.escet.urjc.es>
To: <vtkusers at vtk.org>
Sent: Wednesday, August 09, 2006 6:33 AM
Subject: [vtkusers] Zooming and adjusting ImageViewer
> Dear All:
>
> I use the following pipeline:
> vtkImageData---->vtkImageMapToColors--->vtkImageViewer-->QVTKWidget
>
> (The imageMaptoColors uses its own lookuptable)
>
> Is there any method such as "Adjust Size" which scalates the size of the
> image to fit in the center of the ImageViewer or the QVTKWidget?
>
> How can zoom in and out the imageviewer?
>
> Soon I will send a QT-vtk application which shows the basic use of VTK in
> phase unwrapping algorithms.
>
> Thanks all.
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list