[vtkusers] How to tell a vtkLineWidget2 that ther interaction has ended?

Jothybasu Selvaraj jothybasu at gmail.com
Tue Oct 25 12:03:21 EDT 2011


lineWidget->InvokeEvent(vtkCommand::AnyEvent).

Cheers!

Jothy

On Tue, Oct 25, 2011 at 4:14 PM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:

> Hi all,
>
> is it possible to manually tell/set the property of the vtkLineWidget2 as
> the Interaction has ended. I have subclassed vtkCommand and using it to plot
> when the vtkLineWidget2's interaction ends by
>
> this->lineWidget->AddObserver(vtkCommand::EndInteractionEvent,this->
> lineCallbackAxial);
>
> At some point I have to move to a different slice, while the lineWidget
> stays at the same position. Now, unless I interact with the lineWidget, the
> plot doesn't update.
>
> Is there any work around?
>
> Thanks
>
> Jothy
>
>
>


-- 
Jothybasu K Selvaraj
PhD Student
University of Liverpool
Liverpool,UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111025/88507e33/attachment.htm>


More information about the vtkusers mailing list