[vtkusers] Problem with Callback function
vishal
itkhelpacc at gmail.com
Mon Jan 11 02:09:22 EST 2016
hi,
I retified the error that i have made...
// // Allow the observer to access the sphereSource
keypressCallback->SetClientData(volume);
keypressCallback->SetCallback(KeypressCallbackFunction );
renWin->AddObserver(vtkCommand::KeyPressEvent, keypressCallback);
the last line should actually be:
iren->AddObserver(vtkCommand::KeyPressEvent, keypressCallback);
now the radius values are appearing BUT they are not updating after the
first keypress... I have attached the result with this mail.. please
advice...thank you
Regards
Vishal
<http://vtk.1045678.n5.nabble.com/file/n5735906/call.png>
--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-Callback-function-tp5735905p5735906.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list