[Insight-users] Arrays of ListSample, with smartPointer

Lagaffe lagaffe74130 at yahoo.fr
Sat Jan 8 09:38:16 EST 2005


Hello,
 
How can I create an Array of ListSample ?
For just one, there is no problem but I don't know how to create an array with the SmartPointer strategy.
 
typedef itk::Statistics::ListSample<..> SampleType;
SampleType::Pointer sample=SampleType::New();
 
if  I try something like
typedef itk::Statistics::ListSample<..> SampleType[5];
After, I don't know how to instantiate it.
 
thanks
 
lagaffe
 

 

		
---------------------------------
 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050108/2a24c2d6/attachment.html


More information about the Insight-users mailing list