[vtkusers] vtkDistanceWidget not working

Sid Murthy sid.murthy at gmail.com
Sat Sep 13 15:51:03 EDT 2014

That worked. Thanks for the tip, David.


On Mon, Sep 8, 2014 at 9:56 AM, David Cole <dlrdave at aol.com> wrote:

> Hold the dWidget variable beyond the scope of whatever function it is
> in....
> i.e. -- when the widget goes away, it does not show up anymore. You need
> to hold the reference alive by maintaining a smart pointer to it at a "more
> outer" scope. Perhaps attaching it to whatever keeps your renderwindow
> alive makes sense...
> HTH,
> David C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140913/ec4db5f0/attachment.html>

More information about the vtkusers mailing list