[Insight-users] SmartPointer problem
Shunming Fang
shunm_fang at yahoo . com
Wed, 25 Jun 2003 13:34:20 -0700 (PDT)
Hello, Aloys,
I try it this time, the problem is the same when
smartpointer call this->registr(). I have difficulties
in understanding usage of smartpointer.
Thanks anyway,
Fang
--- du Bois d Aische Aloys <duboisda at bwh . harvard . edu>
wrote:
>
> Hi Fang,
>
> have you tried with a new?
> ImageType::pointer image = ImageType::New();
> image = ....
>
> aloys
>
> On Wed, 25 Jun 2003 13:11:07 -0700 (PDT)
> Shunming Fang <shunm_fang at yahoo . com> wrote:
>
> > Hello, ITK_Users:
> > I declare a ImageType smartpoint like:
> > TmageType::pointer image;
> > image = itkWrapFilters(InputImage), there, I found
> > when
> > smartpointer try to copy assigment, there happened
> of
> > Segmentation fault, anything wrong?
> > Fang
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc . yahoo . com
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk . org
> > http://www . itk . org/mailman/listinfo/insight-users
> >
>
>
> --
> ----------------------------
> Aloys du Bois d'Aische
> Brigham and Womens Hospital
> Surgical Planning Laboratory
> L1 - room 050
> 75 Francis Street
> Boston MA 02115
> duboisda at bwh . harvard . edu
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc . yahoo . com