[vtkusers] generating EndInteractionEvent

Liam Kurmos quantum.leaf at googlemail.com
Sun Dec 5 05:28:02 EST 2010


> Does this trigger the event?
> sliderWidget->GetRepresentation()->SetValue(value);
>
> If not you could probably do
> sliderWidget->GetRepresentation()->SetValue(value);
> sliderWidget->InvokeEvent(vtkCommand::EndInteractionEvent);
>
> David
>

Many thanks David, that solved my problem.

it did require sliderWidget->InvokeEvent(vtkCommand::EndInteractionEvent);
fyi

cheers,

Liam



More information about the vtkusers mailing list