[Insight-developers] itkSphereMeshSource & MapContainer

Thomas Boettger t.boettger at dkfz-heidelberg.de
Wed, 11 Feb 2004 13:27:11 +0100


Hi all,

I was using the itkSphereMeshSource. I switched to DynamicMeshTraits 
lately. In line 76 of itkSphereMeshSource.txx

	  outputMesh->GetPoints()->Reserve(numpts);

is called. Problem is the itk::MapContainer::Reserve implementation is 
empty. So MeshSource does not work with DynamicMeshTraits anymore. In my 
opinion the SphereMeshSource should be modified.


Regards,

Thomas


-- 
Dipl.-Inform. Thomas Boettger
Deutsches Krebsforschungszentrum         (German Cancer Research Center)
Div. Medical and Biological Informatics B010    Tel: (+49) 6221-42 2328
Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
D-69120 Heidelberg                            e-mail: t.boettger at dkfz.de
Germany                      http://www.dkfz.de/mbi/people/thomasb.shtml