[IGSTK-Developers] FLTK Apps desctructor
    Patrick Cheng 
    cheng at isis.georgetown.edu
       
    Mon Mar  6 13:10:45 EST 2006
    
    
  
Hi Julien,
Thanks for pointing this out, I will fix this.
Patrick
Julien Jomier wrote:
> Hello,
> 
> Just a note when creating a GUI using fluid (FLTK).
> FLTK is creating a raw pointer for each display, i.e. igstkView, so it's 
> up to the developer to destroy the pointer in the destructor.
> 
> Currently all the applications are leaking because of this.
> I already fixed the examples in the main IGSTK, FourViews, TwoViews and 
> UltrasoundGuidedRFA in the Sandbox.
> 
> Patrick and James, if you can fix FourViewsTrackingWithCT and 
> NeedleBiopsy that would be great (I don't want to mess up your 
> application if you are working in it).
> 
> Note that there is no way to use smart pointers in this case since FLTK 
> allocates raw pointers by default.
> 
> Julien
> 
> _______________________________________________
> IGSTK-Developers mailing list
> IGSTK-Developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
> 
> 
    
    
More information about the IGSTK-Developers
mailing list