[vtk-developers] Change to Widgets

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Sep 24 10:28:26 EDT 2007


Hi Folks,

I am in the process of changing all the widgets so that they fire the 
vtkCommand::EndInteractionEvent after the render call.

To elaborate, almost all widgets do something similar to the following 
code on end interaction (typically mouse up):

....(change internal state to note that interaction has ended)
this->InvokeEvent(vtkCommand::EndInteraction);
this->Render();


I am changing this to:

....(change internal state to note that interaction has ended)
this->Render();
this->InvokeEvent(vtkCommand::EndInteraction);

Does anyone see any issues with this?

Thanks,
Utkarsh







More information about the vtk-developers mailing list