[vtkusers] ImageViewer2 Usage
Jothybasu K Selvaraj
jothybasu at gmail.com
Tue Apr 13 11:18:30 EDT 2010
You use vtkImageViewer2->SetupInteractor(vtkRenderWindowInteractor)
If you don't set that it will allow you to rotate it in 3D.
>From the links ,I found you are setting the interactor as
interactor.SetRenderWindow()
Jothy
On Tue, Apr 13, 2010 at 4:12 PM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:
> There seems to be significant confusion about when and how to use
> vtkImageViewer2.
>
> This code seems to compile and run:
> http://www.vtk.org/Wiki/VTK/Examples/ImageViewer2
>
> but it seems to allow the image to be manipulated as a 3D plane (which
> I can't image anyone would expect). The documentation says that it
> uses vtkInteractorStyleImage, so I was expecting to work more like
> this:
>
> http://www.vtk.org/Wiki/VTK/Examples/InteractWithImage
>
> Can someone put an end to this confusion by explaining the differences
> between these two techniques?
>
> Thanks,
>
> David
> _______________________________________________
> 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/20100413/855d6768/attachment.htm>
More information about the vtkusers
mailing list