[vtkusers] vtkImageViewer - how to prevent instant program termination under c++?
David Cole
david.cole at kitware.com
Wed May 18 13:38:36 EDT 2005
Try starting an event loop with a vtkRenderWindowInteractor as in...:
iren->Initialize();
iren->Start();
...more details in VTK/Examples/Tutorial/Step5/Cxx/Cone5.cxx.
Always happy to embarass... :-P :-P
David
Kenneth Gage wrote:
>Dear list members -
>
>I've been trying to use vtkImageViewer for a while now without
>success; the render window pops up and disappears without allowing one
>time to view the image. My sample program is based on examples from
>the textbook and users guide and appears to run normally according to
>gdb. I KNOW there is something simple and obvious I must be missing
>here;
>
>Please help me embarrass myself ;)
>
>I've attached the source file below - I'm running under FC3 on an
>athlon system using a recent CVS build of VTK.
>
>
>
More information about the vtkusers
mailing list