[vtkusers] very strange vtkImageViewer2 problem
deluded.soul at gmail.com
Tue Aug 1 08:30:58 EDT 2006
I have a very strange vtkImageViewer2 problem.
When I initialize vtkImageViewer2 as:
vtkImageViewer2 * view = vtkImageViewer2::New();
// widget1 is my host window
Everything works fine...
Now, as soon as I add this line:
I notice 2 things:
- The size of the display image has become smaller
- The interaction (with the F key is different). The flyby function is not
Now, I have been digging through the VTK code and I think that the
InstallPipeline() method will not set up the interactor till I call:
However, there is clearly an interaction object working and I do not know
where it comes from! Is it the vtkImageActor or is the InteractorStyle
object is being initialized from somewhere else, I could not find out.
If anyone has any clue as to what is happening, please help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers