[Insight-users] SmartPointer problem

du Bois d Aische Aloys duboisda at bwh . harvard . edu
Wed, 25 Jun 2003 22:19:33 +0200


 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

-- 
----------------------------
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