[Insight-users] how add TimerEvent to vtk
mariusz_smch at poczta.fm
mariusz_smch at poczta.fm
Mon May 29 17:40:27 EDT 2006
Hi all
I use example itkReadImage3DSegmentShowVTK.cxx to display 3D image afret segmentation. I try add periodyc TimerEvent to thic Algorithm like this:
class vtkMyObserwer...
(...)
vtkRenderWindowInteractor* iter(...)
vtkRenderWindow* renWin(...)
renWind->Renderer();
iter->CreateTimer(0);
vtkMyObserwer* m=vtkMyObserwer::New();
iter->AddObserwer(vtkCommand::TimerEvent,m);
m->Delete;
(...)
Can anyone give me sime tip why this isn't work, Whot I'm doing wron??
I did something like this with vtk 2D image and there it work ok.
And second Question can I stop Region Growing Algorithm when I run it -I'd like to habe button STOP does it posible to do?
Thanks
mariusz.
----------------------------------------------------------------------
INTERIA.PL dla kobiet... >>> http://link.interia.pl/f193b
More information about the Insight-users
mailing list